Commit db32bc8e authored by chen.weican's avatar chen.weican

【修改内容】主机上电后采用一次性上报子设备的所有属性

【提交人】陈伟灿
parent 807f44b4
...@@ -43,6 +43,8 @@ static char *s_split_product[] = { ...@@ -43,6 +43,8 @@ static char *s_split_product[] = {
}; };
static int kk_check_need_split(cJSON * info) static int kk_check_need_split(cJSON * info)
{ {
return 0;//暂时不用拆分处理
#if 0
cJSON *productCode = NULL; cJSON *productCode = NULL;
int i = 0; int i = 0;
int num = sizeof(s_split_product)/sizeof(char*); int num = sizeof(s_split_product)/sizeof(char*);
...@@ -61,6 +63,7 @@ static int kk_check_need_split(cJSON * info) ...@@ -61,6 +63,7 @@ static int kk_check_need_split(cJSON * info)
} }
} }
return 0; return 0;
#endif
} }
static int kk_split_send_data(cJSON *pData,const char* topic) static int kk_split_send_data(cJSON *pData,const char* topic)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment