The Cayenne MQTT mbed Library provides functions to easily connect to the Cayenne IoT project builder.
Fork of Cayenne-MQTT-mbed by
Diff: src/CayenneMQTTClient/CayenneMQTTClient.h
- Revision:
- 3:b5f895caeeb0
- Parent:
- 2:c0419dbecfbd
- Child:
- 4:421366004b5d
--- a/src/CayenneMQTTClient/CayenneMQTTClient.h Fri Oct 07 22:38:26 2016 +0000 +++ b/src/CayenneMQTTClient/CayenneMQTTClient.h Fri Oct 07 22:41:27 2016 +0000 @@ -31,13 +31,13 @@ */ typedef struct MessageData { - const char* clientID; //**< The client ID of the message.*/ - CayenneTopic topic; //**< The topic the message was received on.*/ - unsigned int channel; //**< The channel the message was received on.*/ - const char* id; //**< The message ID, if it is a command message, otherwise NULL.*/ - const char* type; //**< The type of data in the message, if it exists, otherwise NULL.*/ - CayenneValuePair values[CAYENNE_MAX_MESSAGE_VALUES]; //**< The unit/value data pairs in the message. Can be NULL.*/ - size_t valueCount; //**< The count of items in the values array.*/ + const char* clientID; //**< The client ID of the message. */ + CayenneTopic topic; //**< The topic the message was received on. */ + unsigned int channel; //**< The channel the message was received on. */ + const char* id; //**< The message ID, if it is a command message, otherwise NULL. */ + const char* type; //**< The type of data in the message, if it exists, otherwise NULL. */ + CayenneValuePair values[CAYENNE_MAX_MESSAGE_VALUES]; //**< The unit/value data pairs in the message. The units and values can be NULL. */ + size_t valueCount; //**< The count of items in the values array. */ } MessageData; /**