Commit Graph

172 Commits

Author SHA1 Message Date
gc87 2eff71d508 Add node name of sender in trans_data msg 2022-03-04 14:00:03 +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
fengzeroz 42c3655185 Merge pull request #298 from eeff/eeff/log
Add log endpoint in restful plugin
2022-03-03 13:49:10 +08:00
eeff a8fa27224a Add json log parsing code 2022-03-03 13:22:32 +08:00
fengzero 4b89022dac add node type: functional
this type of node is not instantiable
2022-03-02 09:26:51 +00:00
fengzero ecfab3e6b5 del the global schema, each driver maintains its own schema 2022-03-02 05:34:13 +00:00
fengzeroz e1b193fbc4 Merge pull request #297 from eeff/eeff/license
License update support
2022-03-02 10:58:37 +08:00
gc87 30f019cdde Add base64 codec 2022-03-01 13:55:04 +08:00
eeff 1838192023 Add function neu_plugin_notify_event_update_lic 2022-03-01 12:22:24 +08:00
eeff 0af74caf77 Add new event structure type neu_event_lic_updated_t 2022-03-01 12:22:24 +08:00
eeff ace1f1791c Add new event type NEU_EVENT_LIC_UPDATED 2022-03-01 12:22:24 +08:00
eeff 2823676f30 Add new request structure type neu_reqresp_update_lic_t 2022-03-01 12:22:24 +08:00
eeff fced237422 Add new request type NEU_REQRESP_UPDATE_LIC 2022-03-01 12:22:24 +08:00
eeff 251698efba Expose header file neu_license.h in neuron.h 2022-02-28 16:09:14 +08:00
eeff d1950eb7cb Add header file neu_license.h for license handling 2022-02-28 16:09:14 +08:00
eeff 4aff210d0e Add function neu_plugin_send_lic_cmd 2022-02-28 16:09:14 +08:00
eeff 2c89eecf48 Add request/response structure for license key value passing
1. Add structure type neu_reqresp_get_lic_val_t
  2. Add structure type neu_reqresp_lic_val_t
2022-02-28 16:09:14 +08:00
eeff df29fb6758 Add new request type for license key value passing
1. Add request type NEU_REQRESP_GET_LIC_VAL
  2. Add request type NEU_REQRESP_LIC_VAL
2022-02-28 16:09:14 +08:00
eeff 3539b63450 Add node type NEU_NODE_TYPE_LICENSE 2022-02-28 16:09:14 +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 fdd18850b8 Add function neu_json_decode_by_json for partialy decode json buf 2022-02-17 17:51:17 +08:00
fengzero 9aa58024e1 tcp server accepts multiple clients 2022-02-16 15:58:01 +08:00
Parker Liu 4b90282802 Update persistance's parser file that generated by new json-autotype 2022-02-16 11:59:55 +08:00
gc87 fc5ae5c0a3 Extracting public functions
- normal_handle.c/get_tty_file_list -> file.c/tty_file_list_get
2022-02-14 10:13:31 +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 75474e3def error codes classify 2022-02-11 11:54:13 +08:00
fengzero e70c72e043 remove opcua errorcode 2022-02-11 11:54:13 +08:00
fengzero 8650468b4f bit operations use the bit type 2022-02-11 11:54:13 +08:00
fengzero 84accdf861 Delete the first errorcode in the read/write result 2022-02-11 11:54:13 +08:00
fengzero c4f6d8c710 unpack array 2022-02-09 17:43:22 +08:00
fengzero 9917cb243e add device rw errorcode 2022-02-09 17:43:22 +08:00
fengzero 93a2b24680 add change string type function 2022-02-09 17:43:22 +08:00
fengzero 189acf9008 refactor device rw errorcode 2022-02-09 17:43:22 +08:00
fengzero f218c27abf refactor reconnect 2022-02-09 17:43:22 +08:00
fengzero 86cdb6ee85 del unused errorcode 2022-02-09 17:43:22 +08:00
fengzero 96fe9e33be add reconnect on tcp server/client connection 2022-02-09 17:43:22 +08:00
fengzero 0ab8f6534a io event on linux 2022-02-09 17:43:22 +08:00
fengzero 9074364d59 tcp server and client send and receive data 2022-02-09 17:43:22 +08:00
eeff 1a34021e18 Rename neu_log log level enum to avoid name collision 2022-01-28 21:52:53 +08:00
fengzero 11e2089d29 format 2022-01-24 11:16:26 +08:00
fengzero 6fee48aa69 add function pack tag value 2022-01-24 11:16:26 +08:00
fengzero 34bf8fe971 parse the public parameters of the tag address
. bit or string length
2022-01-24 11:16:26 +08:00
fengzero aa905c43b3 add a function to convert type to str 2022-01-24 11:16:26 +08:00
eeff 528d910340 Add functions for notifying tags event
1. Add neu_plugin_notify_event_add_tags
  2. Add neu_plugin_notify_event_del_tags
  3. Add neu_plugin_notify_event_update_tags
2022-01-21 18:58:34 +08:00
eeff 83158e3845 Add new event type for tags
Add NEU_EVENT_ADD_TAGS, NEU_EVENT_UPDATE_TAGS, NEU_EVENT_DEL_TAGS
2022-01-21 18:58:34 +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
gc87 b1cfb43096 Move mqtt components to the base library 2022-01-18 18:11:58 +08:00