Пример #1
0
CAResult_t CAEDRSendUnicastMessage(const char* address, const char* data, uint32_t dataLen)
{
    OIC_LOG_V(DEBUG, TAG, "CAEDRSendUnicastMessage(%s, %s)", address, data);

    CAResult_t result = CAEDRSendUnicastMessageImpl(address, data, dataLen);
    return result;
}
Пример #2
0
CAResult_t CAEDRSendUnicastMessage(const char* address, const uint8_t* data, uint32_t dataLen)
{
    VERIFY_NON_NULL(address, TAG, "address is null");
    VERIFY_NON_NULL(data, TAG, "data is null");

    CAResult_t result = CAEDRSendUnicastMessageImpl(address, data, dataLen);
    return result;
}