nRF Connect SDK API 2.8.99
|
int aws_iot_send | ( | const struct aws_iot_data *const | tx_data | ) |
#include <include/net/aws_iot.h>
Send data to AWS IoT broker.
[in] | tx_data | Pointer to struct containing data to be transmitted to the AWS IoT broker. |
0 | If successful. |
-EINVAL | if an invalid parameter is passed in. |
-ENODATA | if no valid topic nor shadow topic type is passed in. |