gc87
|
64482dee27
|
MQTT plugin small refactoring
- rename
- log_xx -> log_xx_node
- add assert
|
2022-03-22 10:55:38 +08:00 |
|
gc87
|
27fcd1f771
|
[#319]Fix mqtt is not automatically connected
Resolves #319
|
2022-03-21 16:24:58 +08:00 |
|
fengzeroz
|
4314321247
|
Merge pull request #348 from gc87/bugfix-339
[#339]Fixed crash when calling ttys via mqtt
|
2022-03-21 15:41:35 +08:00 |
|
gc87
|
4caf9bfdda
|
[#339]Fixed crash when calling ttys via mqtt
Resolves #339
|
2022-03-21 15:17:11 +08:00 |
|
gc87
|
16902ce510
|
[#320]Fixed crash when modifying mqtt settings
Resolves #320
|
2022-03-21 14:40:06 +08:00 |
|
fengzero
|
4be9539c6f
|
rename module name
|
2022-03-17 10:46:16 +00:00 |
|
fengzero
|
e83c4253ba
|
optimize neuron running directory
neuron
/config/neuron.yaml
/config/public.pem
/config/private.key
/plugins/xxx.so
/plugins/schema/xxx.json
|
2022-03-17 07:20:44 +00:00 |
|
fengzero
|
d375e69ebf
|
uninstall plugin
|
2022-03-17 02:14:05 +00:00 |
|
gc87
|
2eff71d508
|
Add node name of sender in trans_data msg
|
2022-03-04 14:00:03 +08:00 |
|
gc87
|
c01225dcda
|
Fix leak
|
2022-03-04 11:40:12 +08:00 |
|
gc87
|
52b0020ee0
|
Modify the format of periodic upload data
|
2022-03-04 10:55:46 +08:00 |
|
gc87
|
c06f6e2201
|
Refactoring the read and write interface
|
2022-03-04 10:55:46 +08:00 |
|
fengzero
|
ecfab3e6b5
|
del the global schema, each driver maintains its own schema
|
2022-03-02 05:34:13 +00:00 |
|
gc87
|
41a30450a2
|
Fix mqtt crash after repeated subscription
|
2022-02-15 10:52:27 +08:00 |
|
gc87
|
fc5ae5c0a3
|
Extracting public functions
- normal_handle.c/get_tty_file_list -> file.c/tty_file_list_get
|
2022-02-14 10:13:31 +08:00 |
|
gc87
|
37da3dd940
|
Change the topic list to a vector
|
2022-02-14 10:13:31 +08:00 |
|
gc87
|
52ec9e3cef
|
Modify MQTT configuration items
- Remove req/resp theme settings
- Add client id settings
|
2022-02-14 10:13:31 +08:00 |
|
gc87
|
9a2b6166e3
|
Add tty and schema interface implementation
|
2022-02-14 10:13:31 +08:00 |
|
gc87
|
0eb0fe658e
|
Make MQTT client id configurable
|
2022-02-14 10:13:31 +08:00 |
|
gc87
|
21a22f7807
|
Delete all function codes of the MQTT API
|
2022-02-14 10:13:31 +08:00 |
|
gc87
|
ab3a12c4d5
|
Add command field to MQTT request response data
- Modify the test script of ft
- Fix parameter error in setting command
- Fix json_mqtt_t instance not released
|
2022-02-14 10:13:31 +08:00 |
|
gc87
|
97744161ec
|
Refactoring command processing
- Cleanup plugin_mqtt.c
|
2022-02-14 10:13:31 +08:00 |
|
gc87
|
ecd8d846fc
|
Fix write's topic error
- Function tests all passed without removing function code.
|
2022-02-14 10:13:31 +08:00 |
|
gc87
|
80becc2b9c
|
Complete the basic request response function
for new topics
|
2022-02-14 10:13:31 +08:00 |
|
gc87
|
55d69f136b
|
Use of channels to process requests
|
2022-02-14 10:13:31 +08:00 |
|
gc87
|
c81454fef0
|
Generate and subscribe to all topics
|
2022-02-14 10:13:31 +08:00 |
|
gc87
|
4b550effb1
|
Add reqest-response topic pair
|
2022-02-14 10:13:31 +08:00 |
|
fengzero
|
75474e3def
|
error codes classify
|
2022-02-11 11:54:13 +08:00 |
|
fengzero
|
84accdf861
|
Delete the first errorcode in the read/write result
|
2022-02-11 11:54:13 +08:00 |
|
gc87
|
da831249c4
|
Refactoring mqtt_send_loop
|
2022-01-27 15:42:50 +08:00 |
|
gc87
|
7a5af05601
|
Implement mqtt's start and stop processing
|
2022-01-27 15:42:50 +08:00 |
|
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 |
|