|
@@ -1600,6 +1600,7 @@ int parseDtu(char *json_string)
|
|
|
if(item_checkself!=NULL){//自检签名
|
|
if(item_checkself!=NULL){//自检签名
|
|
|
memset(device_status.qianming,0,sizeof(device_status.qianming));
|
|
memset(device_status.qianming,0,sizeof(device_status.qianming));
|
|
|
device_status.photo_ws = 1;
|
|
device_status.photo_ws = 1;
|
|
|
|
|
+ device_status.clear_status = 1; //20260522
|
|
|
LOG_I("自检签名:%s",item_checkself->valuestring);
|
|
LOG_I("自检签名:%s",item_checkself->valuestring);
|
|
|
sprintf(device_status.qianming,"%s",item_checkself->valuestring);
|
|
sprintf(device_status.qianming,"%s",item_checkself->valuestring);
|
|
|
//生成自检应答json
|
|
//生成自检应答json
|
|
@@ -1618,6 +1619,7 @@ int parseDtu(char *json_string)
|
|
|
{
|
|
{
|
|
|
//HK_TakePhoto();
|
|
//HK_TakePhoto();
|
|
|
device_status.photo_ws=1;
|
|
device_status.photo_ws=1;
|
|
|
|
|
+ device_status.test_flag = 1;
|
|
|
char *photo = makeJson_Warn("takephoto","control");
|
|
char *photo = makeJson_Warn("takephoto","control");
|
|
|
DTU_Write("%s",photo);
|
|
DTU_Write("%s",photo);
|
|
|
rt_free(photo);
|
|
rt_free(photo);
|
|
@@ -1676,6 +1678,7 @@ int parseDtu(char *json_string)
|
|
|
{
|
|
{
|
|
|
//HK_TakePhoto();
|
|
//HK_TakePhoto();
|
|
|
device_status.photo_ws = 1;
|
|
device_status.photo_ws = 1;
|
|
|
|
|
+ device_status.clear_status = 1; //20260522
|
|
|
char *photo = makeJson_Warn("takephoto","control");
|
|
char *photo = makeJson_Warn("takephoto","control");
|
|
|
DTU_Write("%s",photo);
|
|
DTU_Write("%s",photo);
|
|
|
rt_free(photo);
|
|
rt_free(photo);
|