|
|
@@ -738,20 +738,6 @@ char * makeJson()
|
|
|
return NULL;
|
|
|
}
|
|
|
memset(device_status.driver,0,sizeof(device_status.driver));
|
|
|
- if(device_status.version_type==1)
|
|
|
- {
|
|
|
- rt_sprintf(device_status.driver,"%s-%s",VERSION_ZP,device_status.driver_4g);
|
|
|
- }
|
|
|
- else if (device_status.version_type==4) {
|
|
|
- rt_sprintf(device_status.driver,"%s-%s",VERSION_HK_2000W,device_status.driver_4g);
|
|
|
- }
|
|
|
- else if (device_status.version_type==41) {
|
|
|
- rt_sprintf(device_status.driver,"%s-%s",VERSION_HK,device_status.driver_4g);
|
|
|
- }
|
|
|
- else if (device_status.version_type==11) {
|
|
|
- rt_sprintf(device_status.driver,"%s-%s",VERSION_GK,device_status.driver_4g);
|
|
|
- }
|
|
|
-
|
|
|
|
|
|
cJSON * pSubJson = NULL;
|
|
|
pSubJson = cJSON_CreateObject();
|