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
Parker Liu
18b1468ad6
Fix memory leak in function load_plugin_library
2022-01-22 16:44:25 +08:00
eeff
f218cdb0d3
Update default persist adapter to load datatags
2022-01-21 18:58:34 +08:00
eeff
fa657e79d7
Update adapter loop to handle tags add/del/update events
2022-01-21 18:58:34 +08:00
eeff
7d1fc986c9
Add neu_manager_get_persist_datatag_infos
2022-01-21 18:58:34 +08:00
eeff
dd0988d9c0
Fix datatag persistence api unit test
2022-01-21 18:58:34 +08:00
eeff
bdefb23f78
Update neu_persister_load_datatags with group_config_name parameter
2022-01-21 18:58:34 +08:00
eeff
e3a54517e1
Update neu_persister_store_datatags
...
Now datatags are stored under directory of each group config.
2022-01-21 18:58:34 +08:00
eeff
6751bf0a9a
Add helper function neu_persist_datatag_infos_free
2022-01-21 18:58:34 +08:00
eeff
a640fd3e39
Update mqtt plugin to notify tags add/del/update events
2022-01-21 18:58:34 +08:00
eeff
1d7f343363
Update restful plugin to notify tags add/del/update events
2022-01-21 18:58:34 +08:00
eeff
50ed6581ff
Update adapter event_notify to send tags add/del/update events
2022-01-21 18:58:34 +08:00
eeff
615b25fb41
Update neu manager to forward tags add/del/update events
2022-01-21 18:58:34 +08:00
eeff
372e32c1e6
Add MSG_EVENT_ADD_TAGS, MSG_EVENT_UPDATE_TAGS and MSG_EVENT_DEL_TAGS
2022-01-21 18:58:34 +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
acdb7ffcbf
Fix unit test UpdateTagDecode of JsonDatatagTableTest
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
eeff
bbaae51fa5
Fix persistence data file structure according to nep
2022-01-21 18:36:13 +08:00
eeff
366d4895f5
Fix neu_manager.c code formatting
2022-01-21 17:41:00 +08:00
Parker Liu
ebb533ce61
Fix the sample app can not be normal exiting when exit neuron
2022-01-21 14:33:35 +08:00
Parker Liu
54a77d0a7d
Fix crash issue of registering adapter when exit neu_manager
2022-01-21 14:33:35 +08:00
eeff
5ecde49f49
Fix persister loading apis to return more fine grain error code
2022-01-20 18:00:00 +08:00
gc87
53a25130c5
Move out opcua simulator
2022-01-20 17:55:45 +08:00
eeff
6102058928
Fix persister_singleton_load_grp_and_tags unused variable warning
2022-01-20 16:52:59 +08:00
fengzeroz
fd39b590a6
Merge pull request #245 from fengzeroz/main
...
modbus simulator: modify register size, max 65535
2022-01-20 11:32:47 +08:00
fengzero
67c8180d74
modbus simulator: modify register size, max 65535
2022-01-20 03:03:39 +00:00
gc87
2e16147009
USE_NNG_MQTT excludes mqtt_c_client.c compilation
...
- Fix "hidden symbol `pthread_atfork'"
2022-01-20 10:09:22 +08:00
gc87
a9b3a2057b
Modify libbase's compilation configuration
...
Add the nng-mqtt switch to the compilation process of libbase
2022-01-20 10:09:22 +08:00
gc87
b496073518
Add nng-based mqtt client implementation
2022-01-20 10:09:22 +08:00
gc87
c6d492af62
Pull the mbedtls and nanomq-nng libraries
...
And compile them
2022-01-20 10:09:22 +08:00
eeff
967a7a309d
Fix mqtt plugin del tags command error handling
2022-01-19 17:35:55 +08:00
eeff
b694cdfc87
Fix mqtt plugin add tags command error handling
2022-01-19 17:35:55 +08:00
eeff
092dbee9af
Fix restful del tags handler error handling
2022-01-19 17:24:20 +08:00
eeff
657049b879
Fix restful add tags handle error handling
2022-01-19 17:24:20 +08:00
lixiumei
68ab467961
Fix neu_persister_t references
2022-01-19 17:22:26 +08:00
lixiumei
14b24f4f53
Adding tests for adapter,datatag,plugin and datatag persistence api
2022-01-19 17:22:26 +08:00
zhanghongtong
b2ce756b5d
ci(base image): build and archive the base image when released
2022-01-19 16:58:11 +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
eeff
e116ee487c
Make default persist adapter load group configs
2022-01-19 10:12:28 +08:00
eeff
5ccbf1bde5
Update neu_manager to forward group config event to persist adapter
...
1. Forward group config event in neu_manager loop
2. Handle group config event in persist adapter loop
2022-01-19 10:12:28 +08:00
eeff
c0f90596f4
Update adapter command to send group config event
...
1. Add message type MSG_EVENT_ADD_GRP_CONFIG,
MSG_EVENT_UPDATE_GRP_CONFIG, MSG_EVENT_DEL_GRP_CONFIG
2. Send the corresponding message when add/update/del group config
2022-01-19 10:12:28 +08:00
gc87
b1cfb43096
Move mqtt components to the base library
2022-01-18 18:11:58 +08:00
gc87
e08e686ffa
Refactoring the mqttc client
...
Modify function names
Modify the source file name
Modify the name of the structure
2022-01-18 18:11:58 +08:00
gc87
e1b4951b05
Add mqtt client interface layer
...
By adding an interface layer, you can easily support different mqtt clients, including MQTT-C and nng-mqtt
2022-01-18 18:11:58 +08:00
Parker Liu
a957732f73
Fix build error of not define PATH_MAX in persist.c
2022-01-18 15:00:08 +08:00
Parker Liu
28adc16926
Reformatting neu_data_expr.c and hash_table.c to pass CI
2022-01-17 17:38:47 +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