nRF Connect SDK API 0.1.0
|
AWS IoT library header. More...
Go to the source code of this file.
Data Structures | |
struct | aws_iot_topic_data |
AWS IoT topic data. More... | |
struct | aws_iot_data |
AWS IoT transmission data. More... | |
struct | aws_iot_evt |
Struct with data received from AWS IoT broker. More... | |
struct | aws_iot_config |
Structure for AWS IoT broker connection parameters. More... | |
Typedefs | |
typedef void(* | aws_iot_evt_handler_t) (const struct aws_iot_evt *evt) |
AWS IoT library asynchronous event handler. | |
Functions | |
int | aws_iot_init (aws_iot_evt_handler_t event_handler) |
Initialize the library. | |
int | aws_iot_connect (const struct aws_iot_config *const config) |
Connect to the AWS IoT broker. | |
int | aws_iot_disconnect (void) |
Disconnect from the AWS IoT broker. | |
int | aws_iot_send (const struct aws_iot_data *const tx_data) |
Send data to AWS IoT broker. | |
int | aws_iot_application_topics_set (const struct mqtt_topic *const list, size_t count) |
Pass in a list of application specific topics that will be subscribed to upon connection to the AWS IoT broker. The number of application specific topics that the library can subscribe to is limited to 8. | |
AWS IoT library header.