176 Commits

Author SHA1 Message Date
gc87 d0c91261c4 fix(mqtt): set values format to default 2022-04-21 15:14:07 +08:00
gc87 71a3e75248 fix(mqtt): cace state bug in request thread 2022-04-19 10:06:52 +08:00
gc87 c1bb0ad7f4 fix: remove incorrect error logs 2022-04-18 12:53:09 +08:00
gc87 990f83c968 refactor(mqtt): load the CA in memory 2022-04-18 10:08:11 +08:00
gc87 4b09f83a3d refactor(mqtt): Load the certificate in memory 2022-04-18 09:24:22 +08:00
fengzero 5bc6b1f406 refactor(adapter): remove update name api 2022-04-15 09:36:40 +00:00
gc87 d7d8d33b5d feat(mqtt): add values-errors upload format 2022-04-15 17:12:36 +08:00
gc87 1e58f57ff8 refactor: group_config_name -> group_name
Modify the group_config_name in the read-write and periodic upload messages of the mqtt plugin to group_name
2022-04-15 17:03:05 +08:00
lixiumei ec0c8a1889 Fixing warnings in CI compilation 2022-04-15 08:13:09 +00:00
gc87 594b0b21ed Fix subscription list release order 2022-04-11 15:56:44 +08:00
gc87 669b6428de neu_list.h -> sys/queue.h 2022-04-10 11:51:31 +08:00
gc87 1b6c0c8f06 restore mqtt interface for passing ft 2022-04-08 18:04:02 +08:00
gc87 adc68f0525 Fix issue #405
Resolves #405
2022-04-08 17:08:10 +08:00
gc87 f858fa6304 mqtt client exits asynchronously 2022-04-08 17:08:10 +08:00
gc87 6bedae37e8 ssl connection to mqtt to set client keypair 2022-04-08 17:08:10 +08:00
gc87 a53a41a570 Disable part of the mqtt control interface 2022-04-08 17:08:10 +08:00
gc87 cee79bec66 Improve mqtt connection status judgment 2022-04-08 17:08:10 +08:00
gc87 11b0a6cbef Refactoring mqtt resource management
Resolves #394
Resolves #392
2022-04-08 17:08:10 +08:00
fengzero 82e061da4d move header to include/neuron 2022-04-07 08:44:04 +00:00
fengzeroz bb51aba809 Merge pull request #400 from gc87/try-fix-mqtt-connection
Fix publish stop caused by write timeout
2022-04-02 18:24:31 +08:00
lixiumei 86c2c7d8ea Fix mqtt-write not working after tag_name error 2022-04-02 09:23:22 +00:00
gc87 1793add5c5 Fix publish stop caused by write timeout
- Reduce the frequency of business trips when switching brokers
2022-04-02 17:22:36 +08:00
fengzero 55d0aa0001 fix write tag crash 2022-04-02 08:45:26 +00:00
fengzero 8ff2913669 write api: modified to write one value at a time 2022-04-02 05:21:04 +00:00
gc87 872620001c Delete the command field in read and write json 2022-04-01 17:37:26 +08:00
fengzero 45240126c9 In write msg, set the exact tag type 2022-04-01 08:40:18 +00:00
fengzero 11c104540b delete node id in upload msg, the error in read resp is modified to an optional field 2022-04-01 06:44:35 +00:00
fengzero b62e1a3fef replace tag id with tag name in write request 2022-04-01 06:15:39 +00:00
fengzero cab9712850 replace node id with node name in write request 2022-04-01 03:43:17 +00:00
fengzero 00a9a14de2 replace node id with node name in read request 2022-04-01 03:19:03 +00:00
lixiumei e9c80f1b1c Replace tag_id with tag_name in the read api 2022-03-31 11:18:00 +00:00
fengzero 39f9e0697d remove mem_alloc.h 2022-03-31 08:10:55 +00:00
gc87 3ba4cde3e4 Update the CA of mqtt by uploading 2022-03-31 11:39:58 +08:00
fengzeroz 7abb20d0f6 Merge pull request #370 from gc87/upload-topic
Upload topic
2022-03-30 16:07:33 +08:00
fengzero 666ed3d42b modify command log level 2022-03-30 06:39:19 +00:00
gc87 49542bdfe0 Add a topic dedicated to periodic uploads 2022-03-29 18:04:14 +08:00
gc87 58ec93fb4b Fix memory corruption under armv7l
Resolves #365
2022-03-29 10:19:33 +08:00
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