Commit Graph
243 Commits
Author SHA1 Message Date
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
fengzero 34647e8ae0 Add signal processing
Make the program exit normally and make libasan memory detection take
effect
2021-10-14 16:47:37 +08:00
lixiumei 7572835b5b Implement tty device list interface function and find tty device 2021-10-12 15:48:32 +08:00
gc87 03a573bc46 Use groupconfig to limit the parameter range of write commands
- Add test
2021-10-12 10:09:45 +08:00
gc87 2fef979c9a Fix the problem of failure to judge CSTR type
- Correctly write opcua data according to the datatag table type information
2021-10-12 10:09:45 +08:00
gc87 693d68e231 Remove uuid-dev dependency and use openssl random number generator to implement uuid v4 2021-10-09 18:40:55 +08:00
Parker Liu f57880ec89 Improve the implementation of serialize/deserialize data value
* Fix some memory leak in serialize/deserialize function
* Modify unit test case for data value
2021-10-09 18:07:57 +08:00
Parker Liu fc8740dc75 Ad get value type function for data value 2021-10-08 11:33:56 +08:00
fengzeroz 7e6735011c Merge pull request #97 from fengzeroz/main
unsave the results
2021-10-08 09:56:59 +08:00
fengzero a984d9c904 unsave the results 2021-10-08 01:51:16 +00:00
gc87 02ce6dc213 Improve OPCUA driver error code processing for reading and writing data 2021-09-30 18:35:02 +08:00
gc87 75e863ab9e MQTT read and write data stream, replaced with new data structure
1. Read data once
2. Fixed a crash when opcua read once
2021-09-30 18:35:02 +08:00
fengzero 82f8f4b736 ci: function test 2021-09-30 15:08:24 +08:00