88 Commits

Author SHA1 Message Date
fengzero 996c62a75d chore(connection): stop/start connection 2022-08-18 09:21:20 +00:00
fengzero 79665e140b fix(http): remove aio timeout 2022-08-12 05:44:11 +00:00
fengzero 5cece84ca9 fix(http): aio timeout 2022-07-19 07:28:11 +00:00
fengzero e4b2eaadeb modbus: write coil using 0x05 2022-07-18 09:51:56 +00:00
fengzero 003c31e4a6 fix(connection): send with bolck flag if conn is bolck 2022-07-15 06:48:08 +00:00
fengzero 3c5ae487b0 fix(errorcode): return NEU_ERR_PLUGIN_TAG_NOT_READY when the tag value cache does not exist 2022-07-14 07:34:13 +00:00
fengzero c3217db4ff modbus: modify the number of bulk reads 2022-07-14 05:40:52 +00:00
fengzero 0b1fb54543 fix: cppcheck warning 2022-07-04 09:12:44 +00:00
fengzero 50f5121c3b adapter(driver): remove mtx 2022-06-20 08:14:37 +00:00
fengzero 1e29e4cb1c remove plugin_info.h & adapter_msg.h 2022-06-17 07:02:32 +00:00
fengzero 67f0c2b2f0 rename tag address and replace neu_dtype_e 2022-06-17 03:48:51 +00:00
fengzero 15401a0711 connection: add log category 2022-06-16 08:09:05 +00:00
fengzero e93e517f95 refactor CmakeLists.txt 2022-06-15 09:45:07 +00:00
fengzero f44a8db699 plugin: remove argument in open() 2022-06-15 06:49:02 +00:00
fengzero 2d38ae5f50 refactor plugin interface config 2022-06-15 06:40:30 +00:00
fengzero dee69cb377 feat(driver): add total number of tags in group_timer 2022-06-14 02:46:46 +00:00
fengzero 76889e8353 feat(driver): support tag name duplication in different groups 2022-06-14 02:31:23 +00:00
fengzero 52aef263e6 modbus test 2022-06-10 04:43:06 +00:00
fengzero 203328dffd copyright 2020-2022 2022-06-10 04:43:06 +00:00
fengzero dc65873e93 async process op msg 2022-06-10 04:43:06 +00:00
fengzero 5b24337575 format 2022-06-10 04:43:05 +00:00
fengzero 38a2652930 remove vector and data_expr 2022-06-10 04:43:05 +00:00
fengzero 27375c5d6c set/get setting 2022-06-10 04:43:05 +00:00
fengzero 3ba23ee65e refactor group subscribe 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
lixiumei ec0c8a1889 Fixing warnings in CI compilation 2022-04-15 08:13:09 +00:00
fengzero 82e061da4d move header to include/neuron 2022-04-07 08:44:04 +00:00
fengzero 45240126c9 In write msg, set the exact tag type 2022-04-01 08:40:18 +00:00
fengzero 4be9539c6f rename module name 2022-03-17 10:46:16 +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 d375e69ebf uninstall plugin 2022-03-17 02:14:05 +00:00
fengzero 1e5c34e2c1 del connection_mode in modbus schema 2022-03-02 05:34:13 +00:00
fengzero ecfab3e6b5 del the global schema, each driver maintains its own schema 2022-03-02 05:34:13 +00:00
eeff b845b61175 Fix modbus_tcp_config memory leak 2022-02-21 10:17:09 +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 84accdf861 Delete the first errorcode in the read/write result 2022-02-11 11:54:13 +08:00
fengzero ef78632f50 ft: modbus and mqtt network exception 2022-02-09 17:43:22 +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
fengzero 9e60bd2101 plugin: add validate function in plugin funs
check whether the tag conforms to the relevant driver specifications
2022-01-17 17:19:50 +08:00
fengzero b800280314 connection api: udp/tcp/tty 2022-01-10 17:42:49 +08:00
fengzero 477a66a5ff fix conflicts when multiple threads access group config 2022-01-10 17:42:49 +08:00
fengzero d4fd6b1848 fix to read the free data when unsubscribing 2021-12-29 17:10:10 +08:00
fengzero e4f947f2d2 install plugin to lib/neuron, install public header to include/neuron 2021-12-29 17:10:10 +08:00
Parker Liu a7088140ad Fix issue of it sometimes crashed when cycle read datatag in modbus tcp plugin 2021-12-17 11:20:39 +08:00
Parker Liu 4241829ce2 Add install step in CMakeLists.txt file for install neuron output files 2021-12-16 15:32:27 +08:00
lixiumei 373aa2f167 Improve modbus tcp function test 2021-12-06 14:34:23 +08:00
fengzero fd07e7fd5c ft: modbus tcp read/write
modbus tcp server simulator
2021-11-29 12:17:33 +08:00