gc87
2bdb38129c
feat: add memory cache unit test
2022-08-28 20:07:57 +08: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
lixiumei123
d3671b9bf0
Fix unit test
2022-06-29 07:36:39 +00:00
fengzero
e93e517f95
refactor CmakeLists.txt
2022-06-15 09:45:07 +00:00
fengzero
4f4ae61fa0
ut
2022-06-10 04:43:06 +00:00
fengzero
574fab1057
remove libcsptr
2022-06-10 04:43:05 +00:00
fengzero
7d6e7c7a37
remove unused file
2022-06-10 04:43:05 +00:00
fengzero
4a1a34de43
simplify the plugin type to driver and app
2022-05-30 02:45:17 +00:00
fengzero
27d1f38b1c
refactor modbus-tcp
2022-05-29 09:47:58 +00:00
fengzero
a7781b63ce
log: replace log with zlog
2022-05-28 09:27:52 +00:00
fengzero
5da0480eb4
remove libyaml
2022-05-18 05:30:14 +00:00
fengzero
782ef68d7b
refactor(tag_sort): categorize tags
2022-05-18 05:16:29 +00:00
gc87
b5f199ddbf
refactor(mqtt): remove code of mqtt cmd
2022-04-26 16:24:10 +08:00
lixiumei
73ca00660d
Modify jwt authentication, adapt to bc
2022-04-26 02:11:28 +00:00
fengzero
cfc44903c1
remove uuid.h
2022-03-31 08:53:02 +00:00
gc87
64482dee27
MQTT plugin small refactoring
...
- rename
- log_xx -> log_xx_node
- add assert
2022-03-22 10:55:38 +08:00
fengzero
119b4b95bb
remove options in neuron.yaml that do not require user configuration
2022-03-18 03:05:32 +00:00
fengzero
e83c4253ba
optimize neuron running directory
...
neuron
/config/neuron.yaml
/config/public.pem
/config/private.key
/plugins/xxx.so
/plugins/schema/xxx.json
2022-03-17 07:20:44 +00:00
fengzero
ecfab3e6b5
del the global schema, each driver maintains its own schema
2022-03-02 05:34:13 +00:00
gc87
30f019cdde
Add base64 codec
2022-03-01 13:55:04 +08:00
lixiumei
3e4f0e073e
Add unit test for getting neu_json_tty
2022-02-14 17:15:26 +08:00
lixiumei
6e7fdbcc87
Adding data for pressures tests
2022-02-09 17:42:44 +08:00
lixiumei
14b24f4f53
Adding tests for adapter,datatag,plugin and datatag persistence api
2022-01-19 17:22:26 +08:00
gc87
e1b4951b05
Add mqtt client interface layer
...
By adding an interface layer, you can easily support different mqtt clients, including MQTT-C and nng-mqtt
2022-01-18 18:11:58 +08:00
eeff
75a3ab32f2
Add dummy plugin
2022-01-13 18:04:20 +08:00
lixiumei
a82166f421
Add persistence json and API tests
2022-01-12 16:47:35 +08:00
gc87
258f0a828a
Remove the libplugin-opcua project
2022-01-12 11:11:36 +08:00
eeff
07b0e4f1ae
Add unit tests for http_get_param
2021-12-08 14:39:33 +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
lixiumei
4730a4e30c
Changing the location of the neu_parse_write_req_to_val
2021-11-15 18:20:52 +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
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
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
fengzero
2f531522cb
add unit test of the schema valid
2021-10-25 18:33:28 +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
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
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
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
662ae1ec2d
refactor json parse
...
separate mqtt parameter decode/encode
2021-09-24 16:06:48 +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
62abad7bb9
Fix issue of failed build datatag_table_test and some memory leak issue
2021-09-16 11:30:23 +08:00
lixiumei123
22c8ea8fdd
add plugin manager test ( #77 )
...
* add plugin manager test
* Plugin manager test add a check if the plugin_info is equal to param_update
2021-09-16 11:04:41 +08:00