|
bool | ltrx_azure_direct_method_register (const char *method_name, unsigned int(*method)(const char *payload, size_t payloadLength, char *reply, size_t *replyLength)) |
| Register a direct metod routine. More...
|
|
bool | ltrx_azure_iot_send (const void *data, size_t data_length) |
| Send a "devices/<id>/messages/events/" message to Azure. More...
|
|
These definitions relate to operation of Azure IoT.
bool ltrx_azure_direct_method_register |
( |
const char * |
method_name, |
|
|
unsigned int(*)(const char *payload, size_t payloadLength, char *reply, size_t *replyLength) |
method |
|
) |
| |
Register a direct metod routine.
- Return values
-
- Parameters
-
[in] | method_name | The name for the method being registered. |
[in] | method | The routine for the method being registered. |
bool ltrx_azure_iot_send |
( |
const void * |
data, |
|
|
size_t |
data_length |
|
) |
| |
Send a "devices/<id>/messages/events/" message to Azure.
- Return values
-
- Parameters
-
[in] | data | The data to be sent. |
[in] | data_length | The length of the data to be sent. |