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
8ece52398e
Improve the connection stability of paho client
...
* Change Modify the subscription list from vector to list.
* Fix the problem of reconnection block.
* Refactor connection_lost_callback function.
2021-08-18 16:08:03 +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
fengzero
f38f049ebd
refactor dependent libs
2021-08-09 09:30:55 +00:00
gc87
4229a7c283
Implementation of MQTT plug-in.
2021-08-09 14:20:57 +08:00