44 Commits

Author SHA1 Message Date
fengzero 2734e40f8f fix timestamp 2022-10-21 06:39:12 +00:00
fengzero bdaba2c339 fix(api): fix double type precision 2022-09-06 09:13:04 +00:00
fengzero 7f9d4cd84c feat(driver): set float precision 2022-08-10 10:30:38 +00:00
gc87 96992eff71 refactor(mqtt): Modify unreasonable code
* Modify header file ordering
* Modify mqtt.* to mqtt_*.* to avoid ide parsing exception
* Modify part of the code according to the pr revision comments
2022-07-15 13:51:02 +08:00
gc87 23b83b7df2 refactor(mqtt): gettimeofday-> common.timestamp 2022-06-24 09:45:07 +08:00
gc87 41dec9b209 fix(mqtt): plog to mqtt 2022-06-17 18:46:30 +08:00
gc87 5e16738a23 fix(mqtt): double free and context leak 2022-06-17 17:57:14 +08:00
gc87 6d878c6276 refactor(mqtt): new write response 2022-06-14 11:28:53 +08:00
gc87 61306faefd refactor(mqtt): new read data 2022-06-14 11:28:53 +08:00
gc87 36a16f1bb6 refactor(mqtt): trans-data upload 2022-06-14 11:28:53 +08:00
fengzero 203328dffd copyright 2020-2022 2022-06-10 04:43:06 +00:00
fengzero 38a2652930 remove vector and data_expr 2022-06-10 04:43:05 +00:00
fengzero 7d6e7c7a37 remove unused file 2022-06-10 04:43:05 +00:00
fengzero c8234633e0 add/del/get group 2022-06-10 04:43:05 +00:00
fengzero a7781b63ce log: replace log with zlog 2022-05-28 09:27:52 +00:00
gc87 d0c91261c4 fix(mqtt): set values format to default 2022-04-21 15:14:07 +08: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 cee79bec66 Improve mqtt connection status judgment 2022-04-08 17:08:10 +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
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
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
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
fengzero 84accdf861 Delete the first errorcode in the read/write result 2022-02-11 11:54:13 +08:00
gc87 320eb6ab87 Fix mqtt write return value type error
Int32 -> errorcode
2022-01-24 18:21:01 +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
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 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
lixiumei af565723a9 Automatically generated code replace neu_json_mqtt 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
gc87 bbbdb3007c Reorganize the source code of the mqtt command 2021-11-09 17:27:43 +08:00