gc87
|
320eb6ab87
|
Fix mqtt write return value type error
Int32 -> errorcode
|
2022-01-24 18:21:01 +08:00 |
|
eeff
|
a640fd3e39
|
Update mqtt plugin to notify tags add/del/update events
|
2022-01-21 18:58:34 +08:00 |
|
eeff
|
967a7a309d
|
Fix mqtt plugin del tags command error handling
|
2022-01-19 17:35:55 +08:00 |
|
eeff
|
b694cdfc87
|
Fix mqtt plugin add tags command error handling
|
2022-01-19 17:35:55 +08:00 |
|
fengzero
|
db914268be
|
the basic info(plugin name, type, kind...) of the plugin is read from the dynamic library
add dynamic library search path configuration, install to
/etc/ld.so.conf.d/
dynamic library search path priority:
1. driver.path in neuron.yaml
2. os path
|
2022-01-19 16:56:10 +08:00 |
|
gc87
|
b1cfb43096
|
Move mqtt components to the base library
|
2022-01-18 18:11:58 +08:00 |
|
gc87
|
e08e686ffa
|
Refactoring the mqttc client
Modify function names
Modify the source file name
Modify the name of the structure
|
2022-01-18 18:11:58 +08:00 |
|
gc87
|
e1b4951b05
|
Add mqtt client interface layer
By adding an interface layer, you can easily support different mqtt clients, including MQTT-C and nng-mqtt
|
2022-01-18 18:11:58 +08:00 |
|
fengzero
|
9e60bd2101
|
plugin: add validate function in plugin funs
check whether the tag conforms to the relevant driver specifications
|
2022-01-17 17:19:50 +08:00 |
|
gc87
|
20415e5e81
|
Move schema.h to include directory
|
2022-01-12 11:11:36 +08:00 |
|
Parker Liu
|
d1d251bc4f
|
Add group config into node after all ids added into group config
|
2022-01-11 12:30:35 +08:00 |
|
fengzero
|
ca37d290a8
|
mqtt group clone
|
2022-01-11 12:13:52 +08:00 |
|
Parker Liu
|
d8e9ac3687
|
Fix use after free issue when mqtt plugin write data to driver
|
2021-12-31 17:23:23 +08:00 |
|
fengzero
|
e4f947f2d2
|
install plugin to lib/neuron, install public header to include/neuron
|
2021-12-29 17:10:10 +08:00 |
|
eeff
|
32c289c5db
|
Fix mqtt api to return response when request json decode fails
|
2021-12-28 14:43:10 +08:00 |
|
eeff
|
81d7838656
|
Fix mqtt api NEU_MQTT_OP_GET_NODES error handling
1. When node type is NEU_NODE_TYPE_UNKNOWN, success vacuously
2. When node type is invalid, return NEU_ERR_PARAM_IS_WRONG
|
2021-12-27 22:51:01 +08:00 |
|
eeff
|
daee5c2592
|
Fix mqtt api read function
Fix mqtt plugin to check error code when handling NEU_MQTT_OP_READ,
so that the plugin could send back an error message.
|
2021-12-27 22:33:14 +08:00 |
|
eeff
|
f41559bd73
|
Fix mqtt api get node setting
Fix handling of NEU_MQTT_OP_GET_NODE_SETTING to return the setting.
|
2021-12-22 18:59:27 +08:00 |
|
Parker Liu
|
4241829ce2
|
Add install step in CMakeLists.txt file for install neuron output files
|
2021-12-16 15:32:27 +08:00 |
|
gc87
|
e934239b5d
|
MQTT connection state update
|
2021-12-16 11:52:33 +08:00 |
|
eeff
|
d837ca94bf
|
Fix use-after-free in mqtt api GET_SUBSCRIBE_GROUP_CONFIG
|
2021-12-14 17:40:58 +08:00 |
|
gc87
|
5e69ec99f4
|
Set mqtt connection parameters through the web UI
|
2021-12-13 11:31:21 +08:00 |
|
Parker Liu
|
6de377cc29
|
Change the send/recv buffer size of mqttc client to 8192
|
2021-12-11 11:38:17 +08:00 |
|
gc87
|
572bd046cd
|
MQTT-C client buffer size 2048->20480
|
2021-12-11 11:38:17 +08:00 |
|
eeff
|
d343caf914
|
Fix mqtt plugin datatag command
|
2021-12-03 17:30:55 +08:00 |
|
eeff
|
b2aaa88f92
|
Fix mqtt plugin to call neu_dvalue_get_bit for NEU_DTYPE_BIT
|
2021-12-02 23:01:08 +08:00 |
|
gc87
|
f4e5ef384c
|
Fix opcua bool type parsing error
- And add other type support
|
2021-12-02 10:11:09 +08:00 |
|
gc87
|
cff79b9e42
|
Refactored some MQTT command processing functions
1. Group config
2. Data tag
3. Read and write
|
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 |
|
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
|
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
|
6c6f025dfe
|
Merge branch 'lixiumei123-main' into main
|
2021-11-17 19:17:43 +08:00 |
|
lixiumei
|
d39111bf72
|
Automatically generated code replace neu_json_tag
|
2021-11-17 02:55:50 +00: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
|
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 |
|