Commit 799fe95b authored by 尹佳钦's avatar 尹佳钦

添加 接收回复打印json信息

parent e12dc1ef
......@@ -93,6 +93,7 @@ static int send_result_resp(cJSON * result,
rpc_cJSON_AddItemToObject(result_root, "id", id);
char * str_result = rpc_cJSON_Print(result_root);
printf("send json:\n%s\n",str_result);
return_value = kk_ipc_send(IPC_PLAT2MID, str_result, strlen(result_root)+1);
free(str_result);
rpc_cJSON_Delete(result_root);
......
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