Commit Graph

176 Commits

Author SHA1 Message Date
gc87 ec939bd9ed Fix OPCUA failed to read data
Because the index is not increased correctly, a single data point reading failure causes all data assignment errors
2021-11-30 16:34:44 +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
Parker Liu ae131c4da6 Fix building error in tcp_server/neu_plugin_common.c for macOS 2021-11-29 18:49:24 +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 3d4d6daf45 Fix issue of UAF of group config in node when exiting main process 2021-11-26 23:17:09 +08:00
gc87 906b9c053c Add subscription management interface in mqtt
- Modify the existing interface naming of group config
2021-11-26 15:17:48 +08:00
gc87 0b7e87fa5d Remote interface for plugin management 2021-11-26 15:17:48 +08:00
gc87 1fc10aeca8 Add ping-pong interface to MQTT 2021-11-26 11:08:48 +08:00
gc87 7575f380fa Remote interface for node management
- Solve the problem of MQTT-C callback function locking
2021-11-24 19:01:58 +08:00
fengzero 6a7297cc5a ft: Add node state/ctl case 2021-11-24 18:03:04 +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
Parker Liu 6a1f182e46 Fix issue of system hung on restart a node 2021-11-23 16:30:25 +08:00
Parker Liu be83f83101 Send a exit message to a node that should be stoped 2021-11-23 12:14:53 +08:00
Parker Liu 72d0adf8d9 Add error processing for function dashb_plugin_open 2021-11-19 16:34:28 +08:00
fengzero 2daa9f03e8 Add function test for tag, node state, node ctl and
subscribe/unsubscribe
2021-11-18 16:24:13 +08:00
Parker Liu 6c6f025dfe Merge branch 'lixiumei123-main' into main 2021-11-17 19:17:43 +08:00
alvin1221 616d2cebc2 format plugin_sample_app.c 2021-11-17 14:45:39 +08:00
lixiumei d39111bf72 Automatically generated code replace neu_json_tag 2021-11-17 02:55:50 +00:00
alvin1221 7d5522630d Support cross compile & Fix incompatible errors 2021-11-16 22:28:12 +08:00
lixiumei af565723a9 Automatically generated code replace neu_json_mqtt 2021-11-16 15:53:31 +08:00
lixiumei a4c60f6428 Automatically generated code replace neu_json_error 2021-11-16 15:53:31 +08:00
lixiumei 6cb85c6516 Automatically generated code replace neu_json_rw 2021-11-16 15:53:31 +08:00
lixiumei 66fc76d806 Automatically generated code replace neu_json_mqtt 2021-11-16 06:32:23 +00:00
lixiumei 2a6b9a8904 Automatically generated code replace neu_json_error 2021-11-16 02:30:51 +00:00
lixiumei a28410539d Automatically generated code replace neu_json_rw 2021-11-16 01:44:19 +00:00
lixiumei 4a8ab3d3cd Extracting neu_json_error from neu_json_fn 2021-11-15 18:20:52 +08:00
lixiumei c65bf3b35a Automatically generated code replace neu_json_group_config 2021-11-15 18:20:52 +08:00
lixiumei 4730a4e30c Changing the location of the neu_parse_write_req_to_val 2021-11-15 18:20:52 +08:00
lixiumei 6295c5aa43 Automatically generated code replace neu_json_tty 2021-11-15 11:04:34 +08:00
lixiumei 704fbc35e1 Automatically generated code replace neu_json_plugin 2021-11-15 11:04:34 +08:00
lixiumei 1518af2670 Automatically generated code replace neu_json_node 2021-11-15 11:04:34 +08:00
lixiumei 193e4abea5 Automatically generated code replace neu_json_tag 2021-11-11 22:03:31 +08:00
fengzero 2ce448e2a4 add function test for group config api 2021-11-09 17:59:52 +08:00
fengzero 7aa611a2e8 Add node-related functional tests
api response the corresponding error code
2021-11-09 17:59:52 +08:00
gc87 bbbdb3007c Reorganize the source code of the mqtt command 2021-11-09 17:27:43 +08:00
gc87 f28bdb8270 Refactor the MQTT driver
- Add default initialization of variables
- Rename source file
2021-11-08 15:16:04 +08:00
gc87 13fb0e05be Refactored plugin opcua handle
- Delete subscription
- Modify function signature
- Add default initialization of variables
- Fix data type mapping from neuron to opcua
- Rename source file
2021-11-08 15:14:06 +08:00
gc87 95125ff87b Refactoring OPCUA subscription code
- Solve the memory problem at the end of OPCUA cycle reading
2021-11-08 15:14:06 +08:00
gc87 bb9dd7eee9 Fix the timer error of opcua driver 2021-11-08 15:14:06 +08:00
lixiumei d035272b31 The plugin headers are contained in the include directory 2021-11-04 10:57:41 +08:00
lixiumei 9f9aa5ec78 Modbus_tcp_config parameter initialisation and setting 2021-11-04 10:57:41 +08:00
fengzero b097145cc1 fix get tags filter by group config name 2021-11-03 09:37:48 +00:00
fengzero 9948e0fd6f fix the node to which the subscribed config stored in the adapter belongs 2021-11-03 03:27:32 +00:00
gc87 7e18d25d20 Modify the compilation configuration
Use libneuron-base in plugins
2021-11-02 18:07:49 +08:00
gc87 940d6164f9 Implement MQTT-driven configuration
Initialization and setting of the config parameters of the MQTT driver
2021-11-02 18:07:49 +08:00
gc87 7f41768c63 Implementation of OPCUA-driven configuration 2021-11-02 18:07:49 +08:00