|
|
@@ -90,9 +90,9 @@ uint8_t TUORENIOT_AnalysisRegistData(uint8_t * regist_data, uint16_t regist_data
|
|
|
{
|
|
|
regist_response.code = cJSON_GetObjectItem(json, "code")->valueint;
|
|
|
regist_response.version = cJSON_GetObjectItem(json, "version")->valueint;
|
|
|
- regist_response.userId = cJSON_GetObjectItem(json, "userId")->valueint;
|
|
|
- strcpy(regist_response.networkProtocol, cJSON_GetObjectItem(json, "networkProtocol")->valuestring);
|
|
|
- strcpy(regist_response.platform, cJSON_GetObjectItem(json, "platform")->valuestring);
|
|
|
+// regist_response.userId = cJSON_GetObjectItem(json, "userId")->valueint;
|
|
|
+// strcpy(regist_response.networkProtocol, cJSON_GetObjectItem(json, "networkProtocol")->valuestring);
|
|
|
+// strcpy(regist_response.platform, cJSON_GetObjectItem(json, "platform")->valuestring);
|
|
|
strcpy(regist_response.deviceSecret, cJSON_GetObjectItem(json, "deviceSecret")->valuestring);
|
|
|
strcpy(regist_response.productId, cJSON_GetObjectItem(json, "productId")->valuestring);
|
|
|
strcpy(regist_response.deviceId, cJSON_GetObjectItem(json, "deviceId")->valuestring);
|