fengzero
6eaa2908bf
api: read/write subscribe/unsubscribe
2021-10-15 07:20:23 +00:00
lixiumei
7572835b5b
Implement tty device list interface function and find tty device
2021-10-12 15:48:32 +08:00
gc87
03a573bc46
Use groupconfig to limit the parameter range of write commands
...
- Add test
2021-10-12 10:09:45 +08:00
Parker Liu
f431b27b9b
Delete some abolition functions and add some functions for fix issue of
...
memory leaking
* Delete neu_dvalue_array_new and neu_dvalue_vec_new
* Delete set/get function for vec and array
* Add free sub data value in array and vector
2021-09-29 18:51:41 +08:00
Parker Liu
940acfd3f6
Improve the implementation of set/get functions in data value
2021-09-28 17:22:25 +08:00
fengzero
72a19cfeed
add subscribe/unsubscribe common function
2021-09-27 14:13:07 +08:00
fengzero
3a5d779e13
add bit type function, decode write req to val
2021-09-27 14:13:07 +08:00
fengzero
a9c18532ee
del add/update group config dst_node_id
2021-09-26 17:24:47 +08:00
fengzero
d25f93290e
fix json parse unit test
...
clang-format neu_types.h
2021-09-26 17:24:47 +08:00
fengzero
662ae1ec2d
refactor json parse
...
separate mqtt parameter decode/encode
2021-09-24 16:06:48 +08:00
gc87
6817eeae6d
Improve the read command of opcua driver
2021-09-13 18:10:07 +08:00
lixiumei
9005a0305f
Add add/delete/update/get plugin api
2021-09-11 10:53:33 +08:00
lixiumei
071de30f90
Add add/delete/update/get plugin api
2021-09-11 10:53:33 +08:00
fengzero
07e9b226cf
Add node/group config api
...
support add/del/update/get
rename group config json field
2021-09-09 22:07:00 +08:00
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