Commit Graph

86 Commits

Author SHA1 Message Date
fengzero 82e061da4d move header to include/neuron 2022-04-07 08:44:04 +00:00
fengzero 55d0aa0001 fix write tag crash 2022-04-02 08:45:26 +00:00
fengzero 8ff2913669 write api: modified to write one value at a time 2022-04-02 05:21:04 +00:00
gc87 872620001c Delete the command field in read and write json 2022-04-01 17:37:26 +08:00
fengzero 45240126c9 In write msg, set the exact tag type 2022-04-01 08:40:18 +00:00
fengzero 11c104540b delete node id in upload msg, the error in read resp is modified to an optional field 2022-04-01 06:44:35 +00:00
fengzero b62e1a3fef replace tag id with tag name in write request 2022-04-01 06:15:39 +00:00
fengzero cab9712850 replace node id with node name in write request 2022-04-01 03:43:17 +00:00
fengzero 00a9a14de2 replace node id with node name in read request 2022-04-01 03:19:03 +00:00
lixiumei e9c80f1b1c Replace tag_id with tag_name in the read api 2022-03-31 11:18:00 +00:00
lixiumei 47eba78d75 Check neu_json_decode_array_size_by_json return value close #334 2022-03-21 15:20:22 +08:00
fengzeroz fb3e07ec83 Merge pull request #342 from eeff/eeff/license
Get license api
2022-03-18 14:17:22 +08:00
eeff 7e5e4bf290 Add get license json parser code 2022-03-18 14:02:07 +08:00
fengzeroz 075a5b768d Merge pull request #338 from eeff/eeff/license
Add license update api
2022-03-18 10:23:43 +08:00
eeff 3dbf357ed2 Update get log json parser code 2022-03-17 16:05:40 +08:00
eeff e4266746d0 Add license json-api parser code 2022-03-16 15:49:41 +08:00
gc87 c01225dcda Fix leak 2022-03-04 11:40:12 +08:00
gc87 52b0020ee0 Modify the format of periodic upload data 2022-03-04 10:55:46 +08:00
eeff a8fa27224a Add json log parsing code 2022-03-03 13:22:32 +08:00
Parker Liu 2b177aa015 Fix multi-times load json object from buffer when decode complex json string 2022-02-18 11:21:55 +08:00
Parker Liu db169c8588 Update neu_json_tty.c that generated by new json-autotype 2022-02-14 19:02:45 +08:00
gc87 21a22f7807 Delete all function codes of the MQTT API 2022-02-14 10:13:31 +08:00
gc87 ab3a12c4d5 Add command field to MQTT request response data
- Modify the test script of ft
- Fix parameter error in setting command
- Fix json_mqtt_t instance not released
2022-02-14 10:13:31 +08:00
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