MQTT event information structure.
Data Fields | |
| cy_mqtt_event_type_t | type |
| Event type. | |
| union { | |
| cy_mqtt_disconn_type_t reason | |
| Disconnection reason for event type CY_MQTT_EVENT_TYPE_DISCONNECT. | |
| cy_mqtt_message_t pub_msg | |
| Received MQTT message for event type CY_MQTT_EVENT_TYPE_SUBSCRIPTION_MESSAGE_RECEIVE. | |
| } | data |
| Event data. | |