lixiumei
bc35514856
Add datatag table test
2021-08-30 11:39:53 +08:00
gc87
ef2b27a4a7
Improve variable interface
...
1. Add neu_variable_next interface
2. Add ubyte get/set interface
3. Add boolean get/set interface
4. Add word get/set interface
5. Add uword get/set interface
6. Add dword get/set interface
7. Add udword get/set interface
2021-08-27 17:06:26 +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
fengzero
2707499b17
remove tcp epoll, add modbus tcp plugin
...
send/receive data synchronously
2021-08-25 11:38:06 +08:00
Parker Liu
f14dadb4e3
Add support sync command of add/del/update node and group config
...
* Support these sync command in adapter.c
* Add some interface functions in neu_manager.c to support these command
* Add enum type of error code for neuron
2021-08-24 19:21:57 +08:00
fengzero
2abc5a6f27
Add tcp for connecting device and add modbus tcp plugin
...
*use epoll process tcp connection
*define modbus protocol struct and pack function
2021-08-24 11:52:22 +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
437ae67c47
Add message NEU_REQRESP_GET_DATATAGS for get datatag table
...
* Add two message NEU_REQRESP_GET_DATATAGS and NEU_REQRESP_DATATAGS
* Add get datatag table function in bus manager and datatag manager
2021-08-19 18:47:35 +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
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
Parker Liu
ae47b8e9ce
Add datatag manager and datatag group config
2021-08-06 18:31:51 +08:00
alvin1221
1ac8867c9b
Fix merge conflicts
2021-08-06 15:59:33 +08:00
fengzero
f30dc14e1a
remove cjson
2021-08-04 17:49:50 +08:00
Parker Liu
520130243d
Change the config of clang-format for AlignAfterOpenBracket
2021-08-03 14:48:57 +08:00
alvin1221
aed38e0942
Add datatag_table APIs
2021-07-29 16:54:09 +08:00
alvin1221
02c36bccf4
Add idhash & mem_alloc to utils
2021-07-28 16:29:22 +08:00
gc87
4ad524d908
Format code.
2021-07-23 11:15:15 +08:00
gc87
fe61a75f8e
Add stdint reference.
2021-07-23 10:51:09 +08:00
Parker Liu
34f2663033
Change the source code style by clang-format
2021-07-22 18:55:24 +08:00
Parker Liu
c7e9b1f8d6
Add plugin manager file
2021-07-22 18:44:21 +08:00
Parker Liu
9eded28ee5
Add some message types and reqresp types for read data from plugin
2021-07-16 14:41:21 +08:00
Parker Liu
daae61d8f1
Add functions of transfer message and some associated structures.
2021-07-16 14:41:21 +08:00
Parker Liu
a3eeb5971e
add neuron core framework files
2021-07-16 14:41:21 +08:00
joey8869
90ac2ebd53
change header np_ to neu_
2021-07-01 17:24:08 +08:00
joey8869
0c41b45651
basic type definition
2021-06-28 10:53:11 +08:00