Commit 9a357ca2 authored by 黄振令's avatar 黄振令

【修改内容】等待通道连接成功,再发送数据,防止丢失

【提交人】huang.zhenling
parent 42c73a98
...@@ -479,6 +479,9 @@ void ipcHandle(void) ...@@ -479,6 +479,9 @@ void ipcHandle(void)
//send add gw to ccu //send add gw to ccu
char* outbuf = _msg_topo_add(); char* outbuf = _msg_topo_add();
if (strcmp(GW2CCU_PROTOCOL, "tcp") != 0){
printf("check nanomsg is connect(%d) \n", kk_ipc_isconnect(IPC_PLAT2MID));
}
kk_sendData2CCU(outbuf, strlen(outbuf)); kk_sendData2CCU(outbuf, strlen(outbuf));
free(outbuf); free(outbuf);
......
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