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
lixiumei
ee75b3c09b
Perfection modbus read/write error code
2021-09-30 14:31:53 +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
gc87
335b355d52
Add operation function of NEU_DTYPE_ERRORCODE type
...
- Add test case
2021-09-28 12:03:31 +08:00
fengzero
3a5d779e13
add bit type function, decode write req to val
2021-09-27 14:13:07 +08:00
fengzero
d25f93290e
fix json parse unit test
...
clang-format neu_types.h
2021-09-26 17:24:47 +08:00
Parker Liu
ba89625545
Switch to neu_data_val_t in sample plugin for read and write
2021-09-26 15:06:05 +08:00
fengzero
44f05110d2
refactor decode/encode json
...
decode buf to neu_data_val_t
encode neu_data_val_t to buf
compile yaml as a dynamic library
2021-09-22 10:12:50 +08:00
Parker Liu
05ee33fefe
Add unittest for serialize/deserialize int-val and string-val pair
2021-09-18 16:47:03 +08:00
Parker Liu
19aaceadda
Add int-val and string-val pair structue for data value
...
* Add neu_int_val_t and neu_string_val_t structures and functions
* Add functions for set/get int-val and string-val in data value
* Add functions for supoort serial/deserial int-val and string-val
2021-09-17 19:59:02 +08:00
fengzero
312d432569
fix use nng in plugins by linking dynamic libraries
...
clang-format message_handle
2021-09-16 10:14:08 +08:00
Parker Liu
8d14c5ec8c
Add get/set familly functions for cstr/string/bytes/array/vec
2021-09-15 19:02:28 +08:00
Parker Liu
8df731b7ce
Add a new data value type with serialize/deserialize function
...
* Add a structure for fixed array
* Add a structure for bytes
* Add unit test cases of neuron data type
2021-09-13 09:03:46 +08:00