lixiumei
4ba98dacff
Add plugin json parse and plugin test
2021-09-09 11:51:52 +08:00
gc87
dba5a634a2
Dynamically add and delete datatag_ids of group config
...
1. Fix spelling errors in function names and structure names
2. Delete the nodeId field of the return value of get group config
2021-09-09 11:01:48 +08:00
lixiumei
93a090ea95
Add plugin json parse
2021-09-09 10:22:29 +08:00
gc87
0513895a8d
Remove the group item from the API parameters
...
1. Remove internal function name prefix
2021-09-08 10:22:33 +08:00
lixiumei
9851dd1220
fix format: neu_json_node.h
2021-09-07 10:20:29 +00:00
lixiumei
342841d624
add adapter json parse and test
2021-09-07 18:05:49 +08:00
fengzero
f291fceeab
fix clang-format
2021-09-07 08:58:40 +00:00
fengzero
bb4ebdd75e
refactor api server, add datatag api
...
use different server process api and web
rename tags field
merge json read/write
2021-09-07 16:56:33 +08:00
gc87
f7eb237354
[WIP]Create a series of APIs about group config
...
1. Rewrite get_group_config
2. Add add_group_config/update_group_config/delete_group_config
3. Fix neu_datatag_mng_update_grp_config and
neu_datatag_mng_del_grp_config
2021-09-07 15:50:24 +08:00
gc87
7fea1b495d
Refactor the MQTT driver
...
1. Split source code files
2. Add copyright information
3. Split parser into different files
4. Use the interface function in neu_plugin_common
2021-09-03 18:36:08 +08:00
fengzero
288175996c
Add plugin cmd function
...
add NEU_REQRESP_GET_SELF_NODE_ID cmd
add get_datatags_table func
define neu_addt_str_t
fix compile warning
add magic number and check function in neu_plugin_common_t
2021-09-02 11:22:51 +08:00
gc87
52d3e49482
Add tag group config list query
2021-08-30 21:42:54 +08:00
lixiumei
7bb6562b19
Add datatag table tag JSON analysis and test modifications
2021-08-30 11:39:53 +08:00
fengzero
3200d1423a
Fix encode read/write function code
2021-08-29 16:04:15 +08:00
fengzero
5b2d7476ff
set json encode JSON_REAL_PRECISION to 16
...
11.223 encode to 11.223, not 11.223000000001
2021-08-18 18:40:18 +08:00
fengzero
7c0fb80928
Add login api
...
user management and jwt have not yet been implemented
2021-08-18 10:22:41 +08:00
fengzero
d4d1633efe
format code by clang-format
2021-08-16 01:30:12 +00:00
fengzero
11e0a8e8dc
Add unit tests for json api read/write
2021-08-13 17:52:59 +08:00
fengzero
64c35cda0b
Add unit tests for json decode
2021-08-13 10:49:32 +08:00
fengzero
e10dea4051
parse read/write
2021-08-12 15:59:14 +08:00