Lines Matching refs:pclient
76 static void iotx_mqtt_report_funcs(void *pclient) in iotx_mqtt_report_funcs() argument
82 err = iotx_report_firmware_version(pclient); in iotx_mqtt_report_funcs()
173 void *pclient; in IOT_MQTT_Construct() local
417 pclient = wrapper_mqtt_init(&mqtt_params); in IOT_MQTT_Construct()
418 if (pclient == NULL) { in IOT_MQTT_Construct()
423 ret = wrapper_mqtt_connect(pclient); in IOT_MQTT_Construct()
427 wrapper_mqtt_release(&pclient); in IOT_MQTT_Construct()
433 iotx_mqtt_report_funcs(pclient); in IOT_MQTT_Construct()
437 ret = iotx_report_devinfo(pclient); in IOT_MQTT_Construct()
443 g_mqtt_client = pclient; in IOT_MQTT_Construct()
450 return pclient; in IOT_MQTT_Construct()