Defines AWS MQTT Cloud Client class - Uses Cypress' AWS IoT library.
|
| | AWSMQTTClient (NetworkInterface &iface, ClientSecurity *security) |
| | AWS CloudClient constructor. More...
|
| |
| | AWSMQTTClient (NetworkInterface &iface, const char *name, ClientSecurity *security) |
| | AWS CloudClient constructor. More...
|
| |
|
virtual | ~AWSMQTTClient () |
| | AWS IoT Client Destructor.
|
| |
| cy_rslt_t | publish (const char *topic, uint8_t *data, uint32_t length) |
| | Publishes message to the broker at-most once. More...
|
| |
| cy_rslt_t | subscribe (const char *topic, subscriber_callback cb) |
| | Subscribes to a topic. More...
|
| |
| cy_rslt_t | yield (int timeout) |
| | Busy-waits for any pending message on subscribed topics. More...
|
| |
|
virtual cy_rslt_t | initialize (void) |
| | Initialize Cloud-Client.
|
| |
|
virtual void | shutdown (void) |
| | Shut-down Cloud-Client.
|
| |
|
virtual cy_rslt_t | connect (ClientConnectionParams *params) |
| | Connect to the server as specified in connection-parameters.
|
| |
|
virtual cy_rslt_t | disconnect (void) |
| | Disconnect from the server.
|
| |
|
virtual | ~CloudClient () |
| | CloudClient Destructor.
|
| |
| | CloudClient (NetworkInterface &iface) |
| | CloudClient constructor. More...
|
| |
| | CloudClient (NetworkInterface &iface, const char *name, ClientType cli_type, ClientSecurity *security) |
| | CloudClient constructor. More...
|
| |
| void | set_name (const char *name) |
| | Sets CloudClient name. More...
|
| |
| const char * | get_name (void) |
| | Gets CloudClient name. More...
|
| |
| ClientType | get_type (void) |
| | Returns CloudClient Object type. More...
|
| |
|
int | isMQTTClient (void) |
| | Returns 1 if CloudClient is of MQTT type, 0 otherwise.
|
| |
|
NetworkInterface & | get_network_instance (void) |
| | Returns NetworkInterface Instance in use by the client.
|
| |