gc87
5e69ec99f4
Set mqtt connection parameters through the web UI
2021-12-13 11:31:21 +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
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
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
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
lixiumei
af565723a9
Automatically generated code replace neu_json_mqtt
2021-11-16 15:53:31 +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
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
569d008fe3
Fix most memory problems of opcua driver
...
- And mqtt driver
2021-10-29 14:23:53 +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
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
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
gc87
25bbff646e
Fix mqtt command
2021-10-19 16:38:42 +08:00
gc87
90721f520d
Add mqtt command interface about adapter
2021-10-14 17:00:11 +08:00
gc87
0acbf3e34c
Remove message_handle.*
...
The code split in the file with the prefix command_
2021-10-14 17:00:11 +08:00
gc87
83884fd7c6
Refactor the mqtt driver management interface
...
1. Refactor the group config operation interface
2. Refactor the datatag table operation interface
2021-10-14 17:00:11 +08:00
gc87
02ce6dc213
Improve OPCUA driver error code processing for reading and writing data
2021-09-30 18:35:02 +08:00
gc87
75e863ab9e
MQTT read and write data stream, replaced with new data structure
...
1. Read data once
2. Fixed a crash when opcua read once
2021-09-30 18:35:02 +08:00
Parker Liu
ba89625545
Switch to neu_data_val_t in sample plugin for read and write
2021-09-26 15:06:05 +08:00
fengzero
662ae1ec2d
refactor json parse
...
separate mqtt parameter decode/encode
2021-09-24 16:06:48 +08:00
gc87
dae9f9def4
Read configuration file
2021-09-16 19:16:49 +08:00
gc87
6817eeae6d
Improve the read command of opcua driver
2021-09-13 18:10:07 +08:00
gc87
dba5a634a2
Dynamically add and delete datatag_ids of group config
...
1. Fix spelling errors in function names and structure names
2. Delete the nodeId field of the return value of get group config
2021-09-09 11:01:48 +08:00
gc87
f7eb237354
[WIP]Create a series of APIs about group config
...
1. Rewrite get_group_config
2. Add add_group_config/update_group_config/delete_group_config
3. Fix neu_datatag_mng_update_grp_config and
neu_datatag_mng_del_grp_config
2021-09-07 15:50:24 +08:00
gc87
7fea1b495d
Refactor the MQTT driver
...
1. Split source code files
2. Add copyright information
3. Split parser into different files
4. Use the interface function in neu_plugin_common
2021-09-03 18:36:08 +08:00
fengzero
be1d8919b5
Add plugin cmd function
...
add/del/update/get node
add/del/update/get group config
send read/write cmd
response trans data
get self node id
2021-09-02 15:56:30 +08:00
fengzero
288175996c
Add plugin cmd function
...
add NEU_REQRESP_GET_SELF_NODE_ID cmd
add get_datatags_table func
define neu_addt_str_t
fix compile warning
add magic number and check function in neu_plugin_common_t
2021-09-02 11:22:51 +08:00
gc87
6872879c22
Add tags operation api
...
Modify modbus-tcp read and write type
2021-08-31 18:41:45 +08:00
gc87
3659c04cca
Fix early return
2021-08-30 21:42:54 +08:00
gc87
52d3e49482
Add tag group config list query
2021-08-30 21:42:54 +08:00
Parker Liu
3c3edda5c6
Add call config function of plugin when receive pong message
2021-08-30 16:15:16 +08:00
gc87
ebe450e303
Read and write Modbus driver through MQTT driver
...
1. Add config cmd to neu_manager
2. Modify MQTT driver to read and write
3. Fix modbus response
2021-08-28 16:43:47 +08:00
Parker Liu
0013a64ba3
Fix issue of mqtt plugin can't get databuf response from driver
...
* Sometimes add subscription pipe to group config will be executed before
bind adapter, the wrong pipe will be subscribe in group config. So we
wait for complete binding adapter and then add subscription pipe.
* Fix issue of failed to build with gcc 10.3.0
2021-08-26 14:26:33 +08:00
gc87
11f7141af2
Improve MQTT driver and Variable
...
1. Variable array serialization and deserialization support
2. Variable basic data type setting
3. Variable export function unit test
4. Integrate MQTT and Variable
5. Delete the work queue in the MQTT driver
2021-08-25 12:10:30 +08:00
Parker Liu
c5681f6dfc
Add sample code for get nodes/grp_configs/tagtable command
...
* Move source files of datatag table and tag group config to base
* Fix memleak when execute command of get nodes/grp_configs/tagtable
2021-08-20 15:48:24 +08:00
Parker Liu
5ba72cefb6
Add a sender adapter id for command message
...
* Change the node_id to dst_node_id in plugin request
2021-08-19 16:12:46 +08:00
gc87
1cd7b4877e
Simple implementation of using MQTT commands to control the reading and writing of neuron drive data.
2021-08-15 08:08:36 +08:00
gc87
973e0b234f
Simple implementation of variable serialize and deserialize and Use list instead of vector to implement task queue.
2021-08-13 17:12:25 +08:00
Parker Liu
62b35e1285
Add some request/resposne/command for adapter and plugin
...
Add structure definition for request/response/command, add get nodes
function and get group configs function in manager.
2021-08-12 19:29:25 +08:00
Parker Liu
e699329d14
Add sample app plugin and add message dispatcher
...
Add some message/request/event for improvement transfer data
2021-08-11 16:11:32 +08:00
gc87
5a98c57d7d
Imporve MQTT client and add task queue.
2021-08-11 15:39:47 +08:00
gc87
4229a7c283
Implementation of MQTT plug-in.
2021-08-09 14:20:57 +08:00