Parker Liu
2e889bda3b
Fix error of clang-format and remove sudo in dev.yml
2021-12-08 11:36:59 +08:00
eeff
019efe4d2c
Add function neu_plugin_self_node_name
2021-11-30 09:58:49 +08:00
Parker Liu
dfeb5fb4a7
Add function neu_system_ref_group_config for reference a special group config
2021-11-26 18:37:56 +08:00
fengzero
8893ffbb19
refactor node state and ctl(start/stop)
...
plugin add start/stop interface
open: init plugin struct
init: initialize other context
start: plugin start workflow
2021-11-24 16:28:05 +08:00
fengzero
f839095692
api: node supports updating name
2021-11-24 14:49:21 +08:00
fengzero
3ed6f842ec
refactor http error response
...
use the state of the adapter as the running state of the plugin
2021-11-24 14:49:21 +08:00
fengzero
2daa9f03e8
Add function test for tag, node state, node ctl and
...
subscribe/unsubscribe
2021-11-18 16:24:13 +08:00
fengzero
9948e0fd6f
fix the node to which the subscribed config stored in the adapter belongs
2021-11-03 03:27:32 +00:00
fengzero
6dc62e1885
Add api: get sub group configs
2021-11-02 18:04:47 +08:00
fengzero
bd5647257e
Add node state: running state and link state & api: start/stop node
...
note start/stop node operation
2021-10-28 18:06:02 +08:00
fengzero
bbb9bfc34c
Add api: get node setting
...
store node settings in adapter
2021-10-26 15:31:40 +08:00
fengzero
e738e41b5d
Add api: get plugin schema & config node
...
check the param according to the schema
2021-10-25 18:33:28 +08:00
fengzero
5ba8e31494
fix the occasional crash of the read and write api
...
add api handle ctx to the list before sending cmd
2021-10-19 14:38:29 +08:00
fengzero
60989fb4a3
del context in msg
2021-10-15 03:17:47 +00:00
fengzero
e41594f6c1
api server: support CORS
2021-10-15 02:28:39 +00:00
lixiumei
8e2222c379
modbus read/write value
2021-09-28 12:07:39 +08:00
fengzero
72a19cfeed
add subscribe/unsubscribe common function
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
Parker Liu
ba89625545
Switch to neu_data_val_t in sample plugin for read and write
2021-09-26 15:06:05 +08:00
fengzero
4f5e858146
modbus: add subscribe/unsubscribe reqeust and check for group config updates
2021-09-22 10:12:50 +08:00
fengzero
370aed5e2d
modbus tcp: add cycle read
...
del demo code
use aio timeout as timer
2021-09-15 19:00:14 +08:00
fengzero
1d974b7120
Add add/del/update/get plugin function
2021-09-07 16:56:33 +08:00
fengzero
363a04e1c5
Add process msg macro
...
get nodes/config return vector_t
2021-09-03 11:22:13 +08:00
fengzero
be1d8919b5
Add plugin cmd function
...
add/del/update/get node
add/del/update/get group config
send read/write cmd
response trans data
get self node id
2021-09-02 15:56:30 +08:00
Parker Liu
31b158af53
Add a definition of NEU_PLUGIN_MAGIC_NUMBER for magic number of plugin
2021-09-02 12:07:36 +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
Parker Liu
e1eeb63e1a
Add judgement of cplusplus in all header files of include
2021-08-30 14:36:44 +08:00
Parker Liu
520130243d
Change the config of clang-format for AlignAfterOpenBracket
2021-08-03 14:48:57 +08:00
Parker Liu
34f2663033
Change the source code style by clang-format
2021-07-22 18:55:24 +08:00
Parker Liu
daae61d8f1
Add functions of transfer message and some associated structures.
2021-07-16 14:41:21 +08:00
Parker Liu
a3eeb5971e
add neuron core framework files
2021-07-16 14:41:21 +08:00