|
|
@@ -3881,10 +3881,13 @@ static void communicationManagement(void *conn)
|
|
|
}
|
|
|
else if (strcmp(reqInfo.type, "listfourgPZQuery") == 0) // 4G网络处理
|
|
|
{
|
|
|
+#if (CHIP_TYPE != CHIP_T113s)
|
|
|
ack_str = communication_4G_ack_to_json(&_globalCellularManager,0);
|
|
|
+#endif
|
|
|
}
|
|
|
else if (strcmp(reqInfo.type, "fourgPZSave") == 0) // 4G网络处理
|
|
|
{
|
|
|
+#if (CHIP_TYPE != CHIP_T113s)
|
|
|
_globalCellularManager.mode = reqInfo._4g_wifi_info.Cellular_mode;
|
|
|
CellularWIFI_paras_save();
|
|
|
if (_globalCellularManager.mode)
|
|
|
@@ -3896,18 +3899,23 @@ static void communicationManagement(void *conn)
|
|
|
thread_stop(THREAD_ID_Cellular);
|
|
|
}
|
|
|
ack_str = ctrl_sts_ack_to_json();
|
|
|
+#endif
|
|
|
}
|
|
|
else if(strcmp(reqInfo.type,"listWIFIPZQuery")==0) // WIFI处理
|
|
|
{
|
|
|
+#if (CHIP_TYPE != CHIP_T113s)
|
|
|
ack_str = communication_WIFI_ack_to_json(&_globalWIFIManager,0);
|
|
|
+#endif
|
|
|
}
|
|
|
else if (strcmp(reqInfo.type, "WIFIPZSave") == 0) // WIFI处理
|
|
|
{
|
|
|
+#if (CHIP_TYPE != CHIP_T113s)
|
|
|
_globalWIFIManager.mode = reqInfo._4g_wifi_info.WIFI_mode;
|
|
|
strcpy(_globalWIFIManager.WIFI_name, reqInfo._4g_wifi_info.WIFI_name);
|
|
|
strcpy(_globalWIFIManager.WIFI_code, reqInfo._4g_wifi_info.WIFI_code);
|
|
|
CellularWIFI_paras_save();
|
|
|
ack_str = ctrl_sts_ack_to_json();
|
|
|
+#endif
|
|
|
}
|
|
|
cJSON_Delete(cjson);
|
|
|
http_reply(conn, 200, ack_str);
|