Soletta™ Framework
|
MQTT Message. More...
#include <sol-mqtt.h>
Data Fields | |
uint16_t | api_version |
Should always be set to SOL_MQTT_MESSAGE_API_VERSION. More... | |
int | id |
The message Id. More... | |
struct sol_buffer * | payload |
The message payload. More... | |
sol_mqtt_qos | qos |
The message Quality of service. More... | |
bool | retain |
If true, the message will be retained by the broker. More... | |
char * | topic |
The topic which the message was/will be posted to. More... | |
MQTT Message.
This object is the abstraction of a MQTT message and is the base for publishing and receiving data to/from the broker.
uint16_t sol_mqtt_message::api_version |
Should always be set to SOL_MQTT_MESSAGE_API_VERSION.
Referenced by iio_gyroscope_reader_cb(), and main().
int sol_mqtt_message::id |
The message Id.
struct sol_buffer* sol_mqtt_message::payload |
The message payload.
Referenced by iio_gyroscope_reader_cb(), main(), and on_message().
sol_mqtt_qos sol_mqtt_message::qos |
The message Quality of service.
bool sol_mqtt_message::retain |
If true, the message will be retained by the broker.
char* sol_mqtt_message::topic |
The topic which the message was/will be posted to.
Referenced by main().