fengzero
75474e3def
error codes classify
2022-02-11 11:54:13 +08:00
fengzero
e70c72e043
remove opcua errorcode
2022-02-11 11:54:13 +08:00
fengzero
8650468b4f
bit operations use the bit type
2022-02-11 11:54:13 +08:00
fengzero
84accdf861
Delete the first errorcode in the read/write result
2022-02-11 11:54:13 +08:00
fengzero
c4f6d8c710
unpack array
2022-02-09 17:43:22 +08:00
fengzero
9917cb243e
add device rw errorcode
2022-02-09 17:43:22 +08:00
fengzero
93a2b24680
add change string type function
2022-02-09 17:43:22 +08:00
fengzero
189acf9008
refactor device rw errorcode
2022-02-09 17:43:22 +08:00
fengzero
f218c27abf
refactor reconnect
2022-02-09 17:43:22 +08:00
fengzero
86cdb6ee85
del unused errorcode
2022-02-09 17:43:22 +08:00
fengzero
96fe9e33be
add reconnect on tcp server/client connection
2022-02-09 17:43:22 +08:00
fengzero
0ab8f6534a
io event on linux
2022-02-09 17:43:22 +08:00
fengzero
9074364d59
tcp server and client send and receive data
2022-02-09 17:43:22 +08:00
eeff
1a34021e18
Rename neu_log log level enum to avoid name collision
2022-01-28 21:52:53 +08:00
fengzero
11e2089d29
format
2022-01-24 11:16:26 +08:00
fengzero
6fee48aa69
add function pack tag value
2022-01-24 11:16:26 +08:00
fengzero
34bf8fe971
parse the public parameters of the tag address
...
. bit or string length
2022-01-24 11:16:26 +08:00
fengzero
aa905c43b3
add a function to convert type to str
2022-01-24 11:16:26 +08:00
eeff
528d910340
Add functions for notifying tags event
...
1. Add neu_plugin_notify_event_add_tags
2. Add neu_plugin_notify_event_del_tags
3. Add neu_plugin_notify_event_update_tags
2022-01-21 18:58:34 +08:00
eeff
83158e3845
Add new event type for tags
...
Add NEU_EVENT_ADD_TAGS, NEU_EVENT_UPDATE_TAGS, NEU_EVENT_DEL_TAGS
2022-01-21 18:58:34 +08:00
eeff
c21ee589b8
Fix neu_json_update_tags_req_t to include group_config_name
2022-01-21 18:58:34 +08:00
fengzero
db914268be
the basic info(plugin name, type, kind...) of the plugin is read from the dynamic library
...
add dynamic library search path configuration, install to
/etc/ld.so.conf.d/
dynamic library search path priority:
1. driver.path in neuron.yaml
2. os path
2022-01-19 16:56:10 +08:00
gc87
b1cfb43096
Move mqtt components to the base library
2022-01-18 18:11:58 +08:00
fengzero
9e60bd2101
plugin: add validate function in plugin funs
...
check whether the tag conforms to the relevant driver specifications
2022-01-17 17:19:50 +08:00
lixiumei
e610c8f431
Add persistence json and api
2022-01-12 16:47:35 +08:00
gc87
20415e5e81
Move schema.h to include directory
2022-01-12 11:11:36 +08:00
fengzero
b800280314
connection api: udp/tcp/tty
2022-01-10 17:42:49 +08:00
Parker Liu
10c7aec8b6
Add function neu_datatag_tbl_to_vector for store datatag table
2022-01-10 16:45:51 +08:00
Parker Liu
0981bc06b1
Change the vector to a new remote repo
2022-01-07 17:13:11 +08:00
Parker Liu
fcae8d46de
Fix failed to pass clang-format in neu_data_expr.h
2021-12-31 15:08:13 +08:00
Parker Liu
acb14bcdf3
Add shared data value mode for transfer data between adapters
...
* Add a function neu_dvalue_to_owned for owner all values in data value
and sub data values in it.
* Add a neu_trans_buf struct for wrap shared data value and
core_databuf.
* replace core_databuf with neu_trans_buf in read/write/transfer
message.
2021-12-31 15:01:25 +08:00
eeff
f41559bd73
Fix mqtt api get node setting
...
Fix handling of NEU_MQTT_OP_GET_NODE_SETTING to return the setting.
2021-12-22 18:59:27 +08:00
lixiumei
268e6b568b
Fix auto-code generation header file with #include json/json.h
2021-12-09 19:07:26 +08:00
gc87
03f2ac2fa1
Add Device error code in opcua
2021-12-08 14:32:51 +08:00
Parker Liu
2e889bda3b
Fix error of clang-format and remove sudo in dev.yml
2021-12-08 11:36:59 +08:00
eeff
a74e09bace
Add NEU_ERR_TAG_NAME_EXIST error code
2021-12-03 17:30:55 +08:00
eeff
4b6e9acc1e
Fix datatag name uniqueness checking
2021-12-03 17:30:55 +08:00
eeff
3b606a10b4
Add neu_datatag_alloc and neu_datatag_free
2021-12-03 17:30:55 +08:00
eeff
33cd14a117
Add hash table utils
2021-12-03 17:30:55 +08:00
Parker Liu
6360ef39f1
Add a traverse function for idhash table
2021-12-01 10:57:46 +08:00
fengzero
66b74c690e
add asynchronous io and timer
...
asyn io is not implemented
use epoll/timerfd on linux
use kqueue on unix
2021-11-30 15:38:14 +08:00
eeff
e417205727
Add log label to the logging facilities
...
1. Add a new label argument in log_log
2. Add a set of interfaces to assist node name logging
2021-11-30 09:58:49 +08:00
eeff
019efe4d2c
Add function neu_plugin_self_node_name
2021-11-30 09:58:49 +08:00
lixiumei
253d346452
Add login and logout
2021-11-29 18:16:50 +08:00
lixiumei
dcf9160735
login
2021-11-29 18:16:50 +08:00
fengzero
fd07e7fd5c
ft: modbus tcp read/write
...
modbus tcp server simulator
2021-11-29 12:17:33 +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