eeff
07b0e4f1ae
Add unit tests for http_get_param
2021-12-08 14:39:33 +08:00
eeff
e1567f1bff
Fix datatag_table test cases
2021-12-03 17:30:55 +08:00
eeff
a13653f5b5
Fix jwt_test ASAN odr-violation
2021-11-30 15:38:43 +08:00
lixiumei
253d346452
Add login and logout
2021-11-29 18:16:50 +08:00
lixiumei
dcf9160735
login
2021-11-29 18:16:50 +08:00
gc87
7575f380fa
Remote interface for node management
...
- Solve the problem of MQTT-C callback function locking
2021-11-24 19:01:58 +08:00
fengzero
f839095692
api: node supports updating name
2021-11-24 14:49:21 +08:00
fengzero
fbb004e0b3
return the correct node according to the node type
2021-11-24 14:49:21 +08:00
fengzero
2daa9f03e8
Add function test for tag, node state, node ctl and
...
subscribe/unsubscribe
2021-11-18 16:24:13 +08:00
lixiumei
d39111bf72
Automatically generated code replace neu_json_tag
2021-11-17 02:55:50 +00:00
lixiumei
66fc76d806
Automatically generated code replace neu_json_mqtt
2021-11-16 06:32:23 +00:00
lixiumei
a28410539d
Automatically generated code replace neu_json_rw
2021-11-16 01:44:19 +00:00
lixiumei
c65bf3b35a
Automatically generated code replace neu_json_group_config
2021-11-15 18:20:52 +08:00
lixiumei
4730a4e30c
Changing the location of the neu_parse_write_req_to_val
2021-11-15 18:20:52 +08:00
lixiumei
704fbc35e1
Automatically generated code replace neu_json_plugin
2021-11-15 11:04:34 +08:00
lixiumei
1518af2670
Automatically generated code replace neu_json_node
2021-11-15 11:04:34 +08:00
lixiumei
193e4abea5
Automatically generated code replace neu_json_tag
2021-11-11 22:03:31 +08:00
gc87
f28bdb8270
Refactor the MQTT driver
...
- Add default initialization of variables
- Rename source file
2021-11-08 15:16:04 +08:00
gc87
13fb0e05be
Refactored plugin opcua handle
...
- Delete subscription
- Modify function signature
- Add default initialization of variables
- Fix data type mapping from neuron to opcua
- Rename source file
2021-11-08 15:14:06 +08:00
lixiumei
d035272b31
The plugin headers are contained in the include directory
2021-11-04 10:57:41 +08:00
lixiumei
49c8b7f8ba
Improving unit tests for int_val 3D arrays
2021-11-03 10:21:36 +08:00
lixiumei
510265dacb
Add unit test for 3D arrays of types double, cstr, int_val, str_val
2021-11-03 10:21:36 +08:00
gc87
940d6164f9
Implement MQTT-driven configuration
...
Initialization and setting of the config parameters of the MQTT driver
2021-11-02 18:07:49 +08:00
lixiumei
bbe74dab3c
Add unit test for 2D arrays of types double, cstr, int_val, str_val
2021-11-01 11:57:54 +08:00
Parker Liu
6bf65e3d59
Enable others unit tests beyond data_val_test
2021-10-29 10:16:45 +08:00
lixiumei
62fd4f5cbf
Add unit test for serialization deserialization of 1D arrays of types double, cstr, int_val, string_val
2021-10-29 10:16:45 +08:00
fengzero
ad8188fc6a
separation unit test schema
2021-10-26 10:02:50 +00:00
lixiumei
d8d4dbf175
Adding int 3D array serialisation and deserialisation tests
2021-10-26 16:21:52 +08:00
lixiumei
fea8ae6b37
Fix issue of memory leaks in 2D arrays during testing
2021-10-26 16:21:52 +08:00
Parker Liu
33310808bc
Fix issue of memory leaks in 2D arrays during testing
2021-10-25 18:44:11 +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
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
gc87
5bdf4a2802
Remove paho.mqtt.c client
2021-10-20 15:46:25 +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
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
fengzero
96940eb3be
add read/write api
...
support bit/int16/uint16/int32/uint32/float
2021-10-18 14:53:24 +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
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
lixiumei
ee75b3c09b
Perfection modbus read/write error code
2021-09-30 14:31:53 +08:00
lixiumei
e90e3f8832
Add neu_dvalue_bit test and neu_dvalue_bytes test
2021-09-29 19:04:11 +08:00
Parker Liu
f431b27b9b
Delete some abolition functions and add some functions for fix issue of
...
memory leaking
* Delete neu_dvalue_array_new and neu_dvalue_vec_new
* Delete set/get function for vec and array
* Add free sub data value in array and vector
2021-09-29 18:51:41 +08:00
Parker Liu
940acfd3f6
Improve the implementation of set/get functions in data value
2021-09-28 17:22:25 +08:00
lixiumei
8e2222c379
modbus read/write value
2021-09-28 12:07:39 +08:00