Commit b7d58b33 authored by 黄振令's avatar 黄振令

【修改内容】通道建立成功后,发送gw添加命令

【提交人】huang.zhenling
parent d09c540f
...@@ -454,8 +454,9 @@ void ipcHandle(void) ...@@ -454,8 +454,9 @@ void ipcHandle(void)
cJSON_AddItemToObject(root, "payload",payloadObj); cJSON_AddItemToObject(root, "payload",payloadObj);
char* outbuf = cJSON_Print(root); char* outbuf = cJSON_Print(root);
cJSON_Delete(root); cJSON_Delete(root);
//kk_sendData2CCU(outbuf, strlen(outbuf)); kk_sendData2CCU(outbuf, strlen(outbuf));
kk_sendData2CCU("allan test", strlen("allan test"));
//kk_sendData2CCU("allan test", strlen("allan test"));
free(outbuf); free(outbuf);
//handle procidure //handle procidure
while(1){ while(1){
......
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