Lines Matching refs:signout
179 iotx_dev_meta_info_t *meta, iotx_sign_mqtt_t *signout) in IOT_Sign_MQTT() argument
189 memset(signout, 0, sizeof(iotx_sign_mqtt_t)); in IOT_Sign_MQTT()
197 if (_sign_get_clientid(signout->clientid, device_id, NULL, 0) != in IOT_Sign_MQTT()
203 memset(signout->password, 0, DEV_SIGN_PASSWORD_MAXLEN); in IOT_Sign_MQTT()
206 signout->password); in IOT_Sign_MQTT()
222 memset(signout->hostname, 0, DEV_SIGN_HOSTNAME_MAXLEN); in IOT_Sign_MQTT()
223 memcpy(signout->hostname, g_infra_mqtt_domain[region], in IOT_Sign_MQTT()
231 memset(signout->hostname, 0, DEV_SIGN_HOSTNAME_MAXLEN); in IOT_Sign_MQTT()
232 memcpy(signout->hostname, meta->product_key, strlen(meta->product_key)); in IOT_Sign_MQTT()
233 memcpy(signout->hostname + strlen(signout->hostname), ".", strlen(".")); in IOT_Sign_MQTT()
234 memcpy(signout->hostname + strlen(signout->hostname), in IOT_Sign_MQTT()
244 memset(signout->username, 0, DEV_SIGN_USERNAME_MAXLEN); in IOT_Sign_MQTT()
245 memcpy(signout->username, meta->device_name, strlen(meta->device_name)); in IOT_Sign_MQTT()
246 memcpy(signout->username + strlen(signout->username), "&", strlen("&")); in IOT_Sign_MQTT()
247 memcpy(signout->username + strlen(signout->username), meta->product_key, in IOT_Sign_MQTT()
252 signout->port = 1883; in IOT_Sign_MQTT()