149 Commits

Author SHA1 Message Date
gc87 d7d8d33b5d feat(mqtt): add values-errors upload format 2022-04-15 17:12:36 +08:00
gc87 1e58f57ff8 refactor: group_config_name -> group_name
Modify the group_config_name in the read-write and periodic upload messages of the mqtt plugin to group_name
2022-04-15 17:03:05 +08:00
gc87 6bedae37e8 ssl connection to mqtt to set client keypair 2022-04-08 17:08:10 +08:00
fengzero 82e061da4d move header to include/neuron 2022-04-07 08:44:04 +00:00
fengzero c1c17c1fd7 move adapter.h to neuron/ 2022-04-07 08:02:51 +00:00
fengzero 8ff2913669 write api: modified to write one value at a time 2022-04-02 05:21:04 +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
fengzero db60767968 remove unused file 2022-03-31 09:08:20 +00:00
fengzero cfc44903c1 remove uuid.h 2022-03-31 08:53:02 +00:00
fengzero cdb904287c move base64.h to utils 2022-03-31 08:47:05 +00:00
gc87 3ba4cde3e4 Update the CA of mqtt by uploading 2022-03-31 11:39:58 +08:00
fengzeroz d01e8c90f3 Merge pull request #367 from eeff/eeff/fix
Add persistence with adapter id
2022-03-29 17:08:05 +08:00
eeff d4b9220d78 Update adapter persistence json with adapter id 2022-03-29 11:35:36 +08:00
gc87 58ec93fb4b Fix memory corruption under armv7l
Resolves #365
2022-03-29 10:19:33 +08: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
lixiumei f52bd3c187 Adding tag_id persistence 2022-03-16 12:49:46 +08:00
eeff 6d2b97fc49 Update datatag table unit tests 2022-03-14 23:23:42 +08:00
lixiumei 7e93fb0341 Remove redundant fields from plugin persistence and keep only plugin_lib_name 2022-03-11 17:47:52 +08: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
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 326a7cff88 Add shell script for generate parser files for api 2022-02-18 11:13:02 +08:00
lixiumei 19ba928e0d Fix the name of the persistent parser file 2022-02-16 18:02:05 +08:00
Parker Liu 4b90282802 Update persistance's parser file that generated by new json-autotype 2022-02-16 11:59:55 +08:00
lixiumei 3e4f0e073e Add unit test for getting neu_json_tty 2022-02-14 17:15:26 +08:00
gc87 21a22f7807 Delete all function codes of the MQTT API 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
lixiumei 6e7fdbcc87 Adding data for pressures tests 2022-02-09 17:42:44 +08:00
eeff 418785d2c2 Fix persistence group config json unit tests 2022-01-24 18:22:59 +08:00
eeff dd0988d9c0 Fix datatag persistence api unit test 2022-01-21 18:58:34 +08:00
eeff acdb7ffcbf Fix unit test UpdateTagDecode of JsonDatatagTableTest 2022-01-21 18:58:34 +08:00
lixiumei 14b24f4f53 Adding tests for adapter,datatag,plugin and datatag persistence api 2022-01-19 17:22:26 +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
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 7404c64888 Fix plugin manager unit tests 2022-01-14 17:45:50 +08:00
eeff 75a3ab32f2 Add dummy plugin 2022-01-13 18:04:20 +08:00
lixiumei a2cca4a90d Adding tests for persistent group_config codes 2022-01-13 16:51:19 +08:00
lixiumei a82166f421 Add persistence json and API tests 2022-01-12 16:47:35 +08:00
gc87 20415e5e81 Move schema.h to include directory 2022-01-12 11:11:36 +08:00
gc87 258f0a828a Remove the libplugin-opcua project 2022-01-12 11:11:36 +08:00
Parker Liu 06a3929dd2 Fix memory leak issue in DatatagTableToVec test function 2022-01-10 17:08:35 +08:00
Parker Liu b022494450 Change the datatag_table_create to datatag_table in datatag_table_test.cc 2022-01-10 16:49:29 +08:00
Parker Liu 10c7aec8b6 Add function neu_datatag_tbl_to_vector for store datatag table 2022-01-10 16:45:51 +08:00