Commit Graph

198 Commits

Author SHA1 Message Date
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
fengzero 6dc62e1885 Add api: get sub group configs 2021-11-02 18:04:47 +08:00
gc87 569d008fe3 Fix most memory problems of opcua driver
- And mqtt driver
2021-10-29 14:23:53 +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
gc87 da3746d135 Fix the timing problem of request context
- Thread lock handling for running status flags
2021-10-28 16:47:50 +08:00
gc87 dc018ca805 Fix some memory leaks about mqtt driver 2021-10-28 09:57:29 +08:00
gc87 ca5ba87058 Add open62541 logging interface implementation 2021-10-28 09:53:59 +08:00
gc87 b8a3d2c82d Add connection activity status check thread
- Add a mutex lock to ensure that the opcua client's state transitions properly
2021-10-28 09:53:59 +08:00
fengzero 26b2ff650a fix: get schema api
CORS url
2021-10-26 07:37:13 +00:00
fengzero bbb9bfc34c Add api: get node setting
store node settings in adapter
2021-10-26 15:31:40 +08:00
gc87 f3e877c1b2 Move MQTT command source files to the command dir 2021-10-26 10:14:30 +08:00
gc87 980bc65f2b MQTT tcp:// connection via Openssl BIO 2021-10-26 10:14:30 +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 aa6e58b58b modbus: limit read reg count 2021-10-21 10:04:04 +00:00
fengzero bc5158522e fix: decode modbus protocol error when reading consecutive address 2021-10-21 09:34:10 +00:00
fengzero 611cb068fc fix check plugin_id 2021-10-21 09:03:21 +00:00
fengzero 21ddcf8bce api modify & plugin param schema
get node: add plugin_id in response
get plugin: add query param plugin_id
2021-10-21 08:53:36 +00:00
gc87 5bdf4a2802 Remove paho.mqtt.c client 2021-10-20 15:46:25 +08:00
gc87 b5a33bb128 Add the implementation of mqtt-c client
- Add README
- Add context list to store request response context
2021-10-20 15:46:25 +08:00
Parker Liu 5eacdf938d Fix memory leak issue in serial/deserial data value 2021-10-19 16:43:05 +08:00
gc87 25bbff646e Fix mqtt command 2021-10-19 16:38:42 +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 23bd25f8c8 fix memory leak
api: get tags add query parameter group_config_name
2021-10-19 11:38:59 +08:00
fengzero 9524b859ed fix subscribe/unsubscribe response code 2021-10-18 08:20:54 +00:00
fengzero 96940eb3be add read/write api
support bit/int16/uint16/int32/uint32/float
2021-10-18 14:53:24 +08:00
fengzero 438555b948 api response Allow header 2021-10-15 07:39:43 +00:00
fengzero 6eaa2908bf api: read/write subscribe/unsubscribe 2021-10-15 07:20:23 +00:00
fengzero 60989fb4a3 del context in msg 2021-10-15 03:17:47 +00:00
fengzero 241d67f8e0 fix clang-format 2021-10-15 02:54:32 +00:00