nRF Connect SDK API 2.7.99
Loading...
Searching...
No Matches

◆ aws_iot_send()

int aws_iot_send ( const struct aws_iot_data *const  tx_data)

#include <include/net/aws_iot.h>

Send data to AWS IoT broker.

Parameters
[in]tx_dataPointer to struct containing data to be transmitted to the AWS IoT broker.
Return values
0If successful.
-EINVALif an invalid parameter is passed in.
-ENODATAif no valid topic nor shadow topic type is passed in.