Lines Matching refs:event
82 iotx_cm_event_msg_t event; in iotx_cloud_conn_mqtt_event_handle() local
84 event.type = IOTX_CM_EVENT_CLOUD_DISCONNECT; in iotx_cloud_conn_mqtt_event_handle()
85 event.msg = NULL; in iotx_cloud_conn_mqtt_event_handle()
87 _mqtt_conncection->event_handler(_mqtt_conncection->fd, &event, in iotx_cloud_conn_mqtt_event_handle()
95 iotx_cm_event_msg_t event; in iotx_cloud_conn_mqtt_event_handle() local
97 event.type = IOTX_CM_EVENT_CLOUD_CONNECTED; in iotx_cloud_conn_mqtt_event_handle()
98 event.msg = NULL; in iotx_cloud_conn_mqtt_event_handle()
102 _mqtt_conncection->event_handler(_mqtt_conncection->fd, &event, in iotx_cloud_conn_mqtt_event_handle()
110 iotx_cm_event_msg_t event; in iotx_cloud_conn_mqtt_event_handle() local
111 event.type = IOTX_CM_EVENT_SUBCRIBE_SUCCESS; in iotx_cloud_conn_mqtt_event_handle()
112 event.msg = (void *)packet_id; in iotx_cloud_conn_mqtt_event_handle()
115 _mqtt_conncection->event_handler(_mqtt_conncection->fd, &event, in iotx_cloud_conn_mqtt_event_handle()
124 iotx_cm_event_msg_t event; in iotx_cloud_conn_mqtt_event_handle() local
125 event.type = IOTX_CM_EVENT_SUBCRIBE_FAILED; in iotx_cloud_conn_mqtt_event_handle()
126 event.msg = (void *)packet_id; in iotx_cloud_conn_mqtt_event_handle()
129 _mqtt_conncection->event_handler(_mqtt_conncection->fd, &event, in iotx_cloud_conn_mqtt_event_handle()
137 iotx_cm_event_msg_t event; in iotx_cloud_conn_mqtt_event_handle() local
138 event.type = IOTX_CM_EVENT_UNSUB_SUCCESS; in iotx_cloud_conn_mqtt_event_handle()
139 event.msg = (void *)packet_id; in iotx_cloud_conn_mqtt_event_handle()
142 _mqtt_conncection->event_handler(_mqtt_conncection->fd, &event, in iotx_cloud_conn_mqtt_event_handle()
151 iotx_cm_event_msg_t event; in iotx_cloud_conn_mqtt_event_handle() local
152 event.type = IOTX_CM_EVENT_UNSUB_FAILED; in iotx_cloud_conn_mqtt_event_handle()
153 event.msg = (void *)packet_id; in iotx_cloud_conn_mqtt_event_handle()
156 _mqtt_conncection->event_handler(_mqtt_conncection->fd, &event, in iotx_cloud_conn_mqtt_event_handle()
164 iotx_cm_event_msg_t event; in iotx_cloud_conn_mqtt_event_handle() local
165 event.type = IOTX_CM_EVENT_PUBLISH_SUCCESS; in iotx_cloud_conn_mqtt_event_handle()
166 event.msg = (void *)packet_id; in iotx_cloud_conn_mqtt_event_handle()
169 _mqtt_conncection->event_handler(_mqtt_conncection->fd, &event, in iotx_cloud_conn_mqtt_event_handle()
178 iotx_cm_event_msg_t event; in iotx_cloud_conn_mqtt_event_handle() local
179 event.type = IOTX_CM_EVENT_PUBLISH_FAILED; in iotx_cloud_conn_mqtt_event_handle()
180 event.msg = (void *)packet_id; in iotx_cloud_conn_mqtt_event_handle()
183 _mqtt_conncection->event_handler(_mqtt_conncection->fd, &event, in iotx_cloud_conn_mqtt_event_handle()
239 iotx_cm_event_msg_t event; in _mqtt_connect() local
273 iotx_cm_event_msg_t event; in _mqtt_connect() local
275 event.type = IOTX_CM_EVENT_CLOUD_CONNECTED; in _mqtt_connect()
276 event.msg = NULL; in _mqtt_connect()
279 _mqtt_conncection->event_handler(_mqtt_conncection->fd, &event, in _mqtt_connect()
287 event.type = IOTX_CM_EVENT_CLOUD_CONNECT_FAILED; in _mqtt_connect()
288 event.msg = NULL; in _mqtt_connect()
291 _mqtt_conncection->event_handler(_mqtt_conncection->fd, &event, in _mqtt_connect()