MQTT publish information structure.
MQTT messages received on the subscribed topic is also represented using this structure.
Data Fields | |
| cy_mqtt_qos_t | qos |
| Quality of Service for message. | |
| bool | retain |
| Whether this is a retained message. | |
| bool | dup |
| Whether this is a duplicate publish message. | |
| const char * | topic |
| Topic name on which the message is published. | |
| uint16_t | topic_len |
| Length of topic name. | |
| const char * | payload |
| Message payload. | |
| size_t | payload_len |
| Message payload length. | |