Commit Graph
255 Commits
Author SHA1 Message Date
fengzero bbb9bfc34c Add api: get node setting
store node settings in adapter
2021-10-26 15:31:40 +08:00
gc87 f3e877c1b2 Move MQTT command source files to the command dir 2021-10-26 10:14:30 +08:00
gc87 980bc65f2b MQTT tcp:// connection via Openssl BIO 2021-10-26 10:14:30 +08:00
Parker Liu 33310808bc Fix issue of memory leaks in 2D arrays during testing 2021-10-25 18:44:11 +08:00
Parker Liu 0767be8347 Add definition of error codes 2021-10-25 18:34:35 +08:00
fengzero 2f531522cb add unit test of the schema valid 2021-10-25 18:33:28 +08:00
fengzero e738e41b5d Add api: get plugin schema & config node
check the param according to the schema
2021-10-25 18:33:28 +08:00
lixiumei 2181839a8e Adding a 2D array test 2021-10-25 17:44:45 +08:00
lixiumei c9350a35e8 Adding a 2D array test 2021-10-25 17:44:45 +08:00
lixiumei 626354d13b Modify 'improve string_val serialize and deserialize testing' 2021-10-22 16:22:16 +08:00
fengzeroz b4028ff833 Merge pull request #120 from fengzeroz/main
modbus: limit read reg count
2021-10-21 18:04:40 +08:00
fengzero aa6e58b58b modbus: limit read reg count 2021-10-21 10:04:04 +00:00
fengzeroz fe4c9ed165 Merge pull request #119 from fengzeroz/main
fix: decode modbus protocol error when reading consecutive address
2021-10-21 17:34:48 +08:00
fengzero bc5158522e fix: decode modbus protocol error when reading consecutive address 2021-10-21 09:34:10 +00:00
fengzeroz fe4f820345 Merge pull request #118 from fengzeroz/main
fix check plugin_id
2021-10-21 17:03:49 +08:00
fengzero 611cb068fc fix check plugin_id 2021-10-21 09:03:21 +00:00
fengzeroz 2504777e60 Merge pull request #117 from fengzeroz/main
api modify & plugin param schema
2021-10-21 16:57:19 +08:00
fengzero 21ddcf8bce api modify & plugin param schema
get node: add plugin_id in response
get plugin: add query param plugin_id
2021-10-21 08:53:36 +00:00
Parker Liu 43b5a2de80 Change val_data to p_val_data in value_data_serialize function 2021-10-21 10:21:22 +08:00
gc87 5bdf4a2802 Remove paho.mqtt.c client 2021-10-20 15:46:25 +08:00
gc87 b5a33bb128 Add the implementation of mqtt-c client
- Add README
- Add context list to store request response context
2021-10-20 15:46:25 +08:00
fengzeroz e74cd3f54f Merge pull request #115 from fengzeroz/main
rename tag id in json
2021-10-20 15:42:05 +08:00
fengzero 92f0ccccdf rename tag id in json 2021-10-20 07:41:02 +00:00
Parker Liu 597cf8a9da Fix issue of incorrect serialize primary value of array 2021-10-20 15:05:46 +08:00
Parker Liu e09f221616 Fix issue of incorrect free referenced value in neu_dvalue_uninit function 2021-10-20 09:42:06 +08:00
Parker Liu 5eacdf938d Fix memory leak issue in serial/deserial data value 2021-10-19 16:43:05 +08:00
gc87 25bbff646e Fix mqtt command 2021-10-19 16:38:42 +08:00
fengzero 5ba8e31494 fix the occasional crash of the read and write api
add api handle ctx to the list before sending cmd
2021-10-19 14:38:29 +08:00
fengzero 23bd25f8c8 fix memory leak
api: get tags add query parameter group_config_name
2021-10-19 11:38:59 +08:00
lixiumei 956fcaca38 Improve prim_val and cstr_val serialize and deserialize testing 2021-10-18 16:39:03 +08:00
lixiumei 11b9558ddb Add int_val and string_val serialize and deserialize testing 2021-10-18 16:39:03 +08:00
fengzeroz a3566430f0 Merge pull request #111 from fengzeroz/main
fix subscribe/unsubscribe response code
2021-10-18 16:21:47 +08:00
fengzero 9524b859ed fix subscribe/unsubscribe response code 2021-10-18 08:20:54 +00:00
fengzero 96940eb3be add read/write api
support bit/int16/uint16/int32/uint32/float
2021-10-18 14:53:24 +08:00
Parker Liu 4ced4476a0 Fix build issue of not found openssl/rand.h 2021-10-18 10:04:52 +08:00
fengzeroz 7c3ac9fc42 Merge pull request #107 from fengzeroz/main
api response Allow header
2021-10-15 15:40:26 +08:00
fengzero 438555b948 api response Allow header 2021-10-15 07:39:43 +00:00
fengzeroz 0525ff7966 Merge pull request #106 from fengzeroz/main
api: read/write subscribe/unsubscribe
2021-10-15 15:25:34 +08:00
fengzero 6eaa2908bf api: read/write subscribe/unsubscribe 2021-10-15 07:20:23 +00:00
fengzeroz d24623b401 Merge pull request #105 from fengzeroz/main
del context in msg
2021-10-15 11:20:47 +08:00
fengzero 60989fb4a3 del context in msg 2021-10-15 03:17:47 +00:00
fengzeroz e30d4438c2 Merge pull request #104 from fengzeroz/main
fix clang-format
2021-10-15 10:57:27 +08:00
fengzero 241d67f8e0 fix clang-format 2021-10-15 02:54:32 +00:00
fengzeroz 05d904bd7f Merge pull request #103 from fengzeroz/main
api server: support CORS
2021-10-15 10:30:05 +08:00
fengzero e41594f6c1 api server: support CORS 2021-10-15 02:28:39 +00:00
Parker Liu defa2b38f9 Fix crash issue when stop and unregister adapters 2021-10-14 17:49:47 +08:00
gc87 90721f520d Add mqtt command interface about adapter 2021-10-14 17:00:11 +08:00
gc87 0acbf3e34c Remove message_handle.*
The code split in the file with the prefix command_
2021-10-14 17:00:11 +08:00
gc87 83884fd7c6 Refactor the mqtt driver management interface
1. Refactor the group config operation interface
2. Refactor the datatag table operation interface
2021-10-14 17:00:11 +08:00
Parker Liu 2393f52626 Update main.c 2021-10-14 16:47:37 +08:00