Parker Liu
04c1d52717
Update architecture design information in README.md
2022-01-14 12:08:30 +08:00
CrazyWisdom
192e31b085
Delete Docker Pulls from README
2022-01-14 12:08:08 +08:00
CrazyWisdom
16aa954eb9
Add the widget to README
2022-01-13 18:14:46 +08:00
eeff
b759f8a5ef
Update neuron.yaml with persistence config
2022-01-13 18:04:20 +08:00
eeff
790f0ebb0d
Make default persist adapter load persistence data at startup
2022-01-13 18:04:20 +08:00
eeff
3cf9030283
Update neu_manager to forward node event to persist adapter
...
1. Forward add/update/del node event in neu_manager loop
2. Handle add/update/del node event in persist adapter loop
2022-01-13 18:04:20 +08:00
eeff
434ce97f2b
Update adapter command to send node event
...
1. Add message type MSG_EVENT_ADD_NODE, MSG_EVENT_UPDATE_NODE,
MSG_EVENT_DEL_NODE
2. Send the corresponding message when add/update/del nodes
2022-01-13 18:04:20 +08:00
eeff
9e9c10f85a
Add default persist adapter
2022-01-13 18:04:20 +08:00
eeff
75a3ab32f2
Add dummy plugin
2022-01-13 18:04:20 +08:00
lixiumei
a2cca4a90d
Adding tests for persistent group_config codes
2022-01-13 16:51:19 +08:00
lixiumei
bcc57f4034
Fixing problems with neu_json_tty.c and json_group_configs.c autogenerated code
2022-01-13 16:51:19 +08:00
lixiumei
a82166f421
Add persistence json and API tests
2022-01-12 16:47:35 +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
gc87
258f0a828a
Remove the libplugin-opcua project
2022-01-12 11:11:36 +08:00
Parker Liu
7b55fc12dc
Update architecture design information in README-CN.md
2022-01-11 18:08:04 +08:00
Parker Liu
d1d251bc4f
Add group config into node after all ids added into group config
2022-01-11 12:30:35 +08:00
fengzero
ca37d290a8
mqtt group clone
2022-01-11 12:13:52 +08:00
eeff
c6365fd30c
Fix plugin_manager_get_all_plugins
2022-01-11 12:13:19 +08:00
fengzero
b800280314
connection api: udp/tcp/tty
2022-01-10 17:42:49 +08:00
fengzero
477a66a5ff
fix conflicts when multiple threads access group config
2022-01-10 17:42:49 +08:00
Parker Liu
06a3929dd2
Fix memory leak issue in DatatagTableToVec test function
2022-01-10 17:08:35 +08:00
Parker Liu
b022494450
Change the datatag_table_create to datatag_table in datatag_table_test.cc
2022-01-10 16:49:29 +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
5676253149
Update the readme with architecture designing and features
2022-01-10 12:09:58 +08:00
Parker Liu
0981bc06b1
Change the vector to a new remote repo
2022-01-07 17:13:11 +08:00
eeff
f11763f74a
Fix .gitignore to ingore csptr files
2022-01-06 17:13:31 +08:00
Parker Liu
aeb020e885
Send a Exit message to manager for ensure quit the manager
...
* Create a main adapter for send message to neuron manager
2022-01-05 18:32:59 +08:00
eeff
2928a7a46a
Fix mqtt functionality tests CI
...
1. Make mosquitto more verbose
2. Sleep for 1 second in mqtt LOGIN keyword
2021-12-31 18:43:43 +08:00
Parker Liu
d8e9ac3687
Fix use after free issue when mqtt plugin write data to driver
2021-12-31 17:23:23 +08:00
eeff
1b4d373b9c
Fix mqtt functionality tests CI
...
1. Start the mosquitto broker
2. Change the mqtt client version to 3.1.1
2021-12-31 16:39:57 +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
d23311447e
Fix mqtt functionality tests CI
2021-12-31 11:04:17 +08:00
fengzero
99816cb1e2
fix: only when rv==0 and need_forward==1, the unsubscribe message is forwarded
2021-12-31 10:22:01 +08:00
fengzero
47322c087f
add neuron-config.cmake
2021-12-30 18:12:55 +08:00
fengzero
eab7abae38
schema: add file type
2021-12-30 18:12:55 +08:00
fengzero
7607a42299
schema: add attribute, condition
...
attribute: optional indicates that the field is optional, required
indicates that the filed is required.
condition: when the value of the preceding field is the set value, the
field is displayed.
2021-12-30 18:12:55 +08:00
fengzero
fa4724da97
del the test of mqtt in config
2021-12-30 18:12:55 +08:00
eeff
322464c54b
Fix memory leak in macro ADAPTER_RESP_CODE
2021-12-30 11:16:44 +08:00
eeff
05f1e19ac0
Change functionality test mqtt broker host to localhost
2021-12-29 17:14:02 +08:00
eeff
b1dcbf5efb
Enable mqtt functionality tests in CI
2021-12-29 17:14:02 +08:00
eeff
f56c32ab39
Move functionality tests python dependencies to requirements.txt
2021-12-29 17:14:02 +08:00
fengzero
d4fd6b1848
fix to read the free data when unsubscribing
2021-12-29 17:10:10 +08:00
fengzero
e4f947f2d2
install plugin to lib/neuron, install public header to include/neuron
2021-12-29 17:10:10 +08:00
gc87
3d58df133b
The emulator supports data points of Chinese ID
2021-12-29 16:52:13 +08:00
eeff
96b6f030aa
Add mosquitto broker to CI docker base image
2021-12-29 16:45:24 +08:00
eeff
eff9d5937d
Reduce modbus tcp functionality tests sleep interval
2021-12-29 15:10:49 +08:00
eeff
291e9c2fc3
Refactor functionality tests
...
Use [Teardown] section to ensure tests tear down properly
2021-12-29 15:10:49 +08:00
eeff
9972b4045e
Refactor functionality tests to import API resources conditionally
...
1. Add keyword Import Neuron API resource in common.resource, so that
when robotframework command line set:
1.1 `--variable neuron_api:http` will test using http api (default)
1.2 `--variable neuron_api:mqtt` will test using mqtt api
2. Add keyword Skip If Not Http API in common.resource, so that we
could run tests only meaningful for http.
3. Update test suites accordingly
2021-12-29 15:10:49 +08:00