The Cayenne MQTT mbed Library provides functions to easily connect to the Cayenne IoT project builder.
Dependents: Cayenne-ESP8266Interface Cayenne-WIZnet_Library Cayenne-WIZnetInterface Cayenne-X-NUCLEO-IDW01M1 ... more
Diff: src/CayenneMQTTClient/CayenneMQTTClient.h
- Revision:
- 4:421366004b5d
- Parent:
- 3:b5f895caeeb0
- Child:
- 6:82e142a864ad
--- a/src/CayenneMQTTClient/CayenneMQTTClient.h Fri Oct 07 22:41:27 2016 +0000 +++ b/src/CayenneMQTTClient/CayenneMQTTClient.h Fri Oct 07 22:44:16 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. The units and values 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; /**