Lines Matching refs:mqtt_handle
71 if (NULL == logpost_handle || NULL == logpost_handle->mqtt_handle) { in _logpost_get_config()
74 if (NULL == (pk = core_mqtt_get_product_key(logpost_handle->mqtt_handle))) { in _logpost_get_config()
77 if (NULL == (dn = core_mqtt_get_device_name(logpost_handle->mqtt_handle))) { in _logpost_get_config()
105 …res = aiot_mqtt_pub(logpost_handle->mqtt_handle, topic, (uint8_t *)payload, (uint32_t)strlen(paylo… in _logpost_get_config()
121 core_mqtt_get_nwkstats(handle->mqtt_handle, &nwkstats_info); in _logpost_send_nwkstats_rtt()
157 core_mqtt_get_nwkstats(handle->mqtt_handle, &nwkstats_info); in _logpost_send_nwkstats_conn()
219 logpost_handle->mqtt_handle = NULL; in _logpost_process_handler()
291 logpost_handle->mqtt_handle = data; in aiot_logpost_setopt()
367 if (NULL == logpost_handle->mqtt_handle) { in aiot_logpost_send()
370 if (NULL == (pk = core_mqtt_get_product_key(logpost_handle->mqtt_handle))) { in aiot_logpost_send()
373 if (NULL == (dn = core_mqtt_get_device_name(logpost_handle->mqtt_handle))) { in aiot_logpost_send()
417 …res = aiot_mqtt_pub(logpost_handle->mqtt_handle, topic, (uint8_t *)payload, (uint32_t)strlen(paylo… in aiot_logpost_send()
445 … core_mqtt_setopt(logpost_handle->mqtt_handle, CORE_MQTTOPT_REMOVE_PROCESS_HANDLER, &process_data); in aiot_logpost_deinit()
451 aiot_mqtt_setopt(logpost_handle->mqtt_handle, AIOT_MQTTOPT_REMOVE_TOPIC_MAP, &topic_mapping); in aiot_logpost_deinit()
453 aiot_mqtt_setopt(logpost_handle->mqtt_handle, AIOT_MQTTOPT_REMOVE_TOPIC_MAP, &topic_mapping); in aiot_logpost_deinit()