Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
k-sdk
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陈伟灿
k-sdk
Commits
a10a3767
Commit
a10a3767
authored
Aug 10, 2020
by
尹佳钦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加 IPC发送json打印信息
parent
3c4fdd06
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
platform/zigbee/app/builder/Z3GatewayHost/rpc_api/src/rpc_interface_parse.c
...p/builder/Z3GatewayHost/rpc_api/src/rpc_interface_parse.c
+3
-0
No files found.
platform/zigbee/app/builder/Z3GatewayHost/rpc_api/src/rpc_interface_parse.c
View file @
a10a3767
...
@@ -253,6 +253,9 @@ int jrpc_send_msg(cJSON * msgJson) {
...
@@ -253,6 +253,9 @@ int jrpc_send_msg(cJSON * msgJson) {
int
return_value
=
0
;
int
return_value
=
0
;
char
*
str_result
=
rpc_cJSON_Print
(
msgJson
);
char
*
str_result
=
rpc_cJSON_Print
(
msgJson
);
char
*
p
=
rpc_cJSON_Print
(
item
);
emberAfAppPrintln
(
"send json:
\n
%s
\n
"
,
p
);
free
(
p
);
return_value
=
kk_ipc_send
(
IPC_PLAT2MID
,
str_result
,
strlen
(
str_result
)
+
1
);
return_value
=
kk_ipc_send
(
IPC_PLAT2MID
,
str_result
,
strlen
(
str_result
)
+
1
);
free
(
str_result
);
free
(
str_result
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment