Commit Graph

63 Commits

Author SHA1 Message Date
fengzero 84accdf861 Delete the first errorcode in the read/write result 2022-02-11 11:54:13 +08:00
eeff c21ee589b8 Fix neu_json_update_tags_req_t to include group_config_name 2022-01-21 18:58:34 +08:00
fengzero db914268be the basic info(plugin name, type, kind...) of the plugin is read from the dynamic library
add dynamic library search path configuration, install to
/etc/ld.so.conf.d/

dynamic library search path priority:
  1. driver.path in neuron.yaml
  2. os path
2022-01-19 16:56:10 +08:00
lixiumei bcc57f4034 Fixing problems with neu_json_tty.c and json_group_configs.c autogenerated code 2022-01-13 16:51:19 +08:00
eeff f41559bd73 Fix mqtt api get node setting
Fix handling of NEU_MQTT_OP_GET_NODE_SETTING to return the setting.
2021-12-22 18:59:27 +08:00
lixiumei 268e6b568b Fix auto-code generation header file with #include json/json.h 2021-12-09 19:07:26 +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
fengzero f839095692 api: node supports updating name 2021-11-24 14:49:21 +08:00
lixiumei c0af86b055 Replace all json files with the latest generator 2021-11-17 06:38:59 +00: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 2a6b9a8904 Automatically generated code replace neu_json_error 2021-11-16 02:30:51 +00:00
lixiumei a28410539d Automatically generated code replace neu_json_rw 2021-11-16 01:44:19 +00:00
lixiumei 4a8ab3d3cd Extracting neu_json_error from neu_json_fn 2021-11-15 18:20:52 +08: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 6295c5aa43 Automatically generated code replace neu_json_tty 2021-11-15 11:04:34 +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
lixiumei d035272b31 The plugin headers are contained in the include directory 2021-11-04 10:57:41 +08:00
lixiumei 9f9aa5ec78 Modbus_tcp_config parameter initialisation and setting 2021-11-04 10:57:41 +08:00
fengzero 37f77bdd04 Add mqtt function code 2021-11-03 03:35:56 +00:00
fengzero bd5647257e Add node state: running state and link state & api: start/stop node
note start/stop node operation
2021-10-28 18:06:02 +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
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
fengzero 92f0ccccdf rename tag id in json 2021-10-20 07:41:02 +00:00
fengzero 96940eb3be add read/write api
support bit/int16/uint16/int32/uint32/float
2021-10-18 14:53:24 +08:00
fengzero 6eaa2908bf api: read/write subscribe/unsubscribe 2021-10-15 07:20:23 +00: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
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
fengzero 72a19cfeed add subscribe/unsubscribe common function 2021-09-27 14:13:07 +08:00
fengzero 3a5d779e13 add bit type function, decode write req to val 2021-09-27 14:13:07 +08:00
fengzero a9c18532ee del add/update group config dst_node_id 2021-09-26 17:24:47 +08:00
fengzero d25f93290e fix json parse unit test
clang-format neu_types.h
2021-09-26 17:24:47 +08:00
fengzero 662ae1ec2d refactor json parse
separate mqtt parameter decode/encode
2021-09-24 16:06:48 +08:00
gc87 6817eeae6d Improve the read command of opcua driver 2021-09-13 18:10:07 +08:00
lixiumei 9005a0305f Add add/delete/update/get plugin api 2021-09-11 10:53:33 +08:00
lixiumei 071de30f90 Add add/delete/update/get plugin api 2021-09-11 10:53:33 +08:00
fengzero 07e9b226cf Add node/group config api
support add/del/update/get
rename group config json field
2021-09-09 22:07:00 +08:00
lixiumei 4ba98dacff Add plugin json parse and plugin test 2021-09-09 11:51:52 +08:00
gc87 dba5a634a2 Dynamically add and delete datatag_ids of group config
1. Fix spelling errors in function names and structure names
2. Delete the nodeId field of the return value of get group config
2021-09-09 11:01:48 +08:00
lixiumei 93a090ea95 Add plugin json parse 2021-09-09 10:22:29 +08:00
gc87 0513895a8d Remove the group item from the API parameters
1. Remove internal function name prefix
2021-09-08 10:22:33 +08:00
lixiumei 9851dd1220 fix format: neu_json_node.h 2021-09-07 10:20:29 +00:00
lixiumei 342841d624 add adapter json parse and test 2021-09-07 18:05:49 +08:00
fengzero f291fceeab fix clang-format 2021-09-07 08:58:40 +00:00