fengzero
e014f777b1
fix(manager): refuse to delete single node
2022-09-02 07:39:05 +00:00
fengzero
a0ab69dba1
feat(plugin): single plugin does not allow to create node
2022-08-23 06:36:00 +00:00
fengzero
7f9d4cd84c
feat(driver): set float precision
2022-08-10 10:30:38 +00:00
fengzero
04675ec04c
fix(http): remove aio timeout
2022-08-05 09:32:42 +00:00
fengzero
3c397f773f
chore: log aio error
2022-08-01 02:51:52 +00:00
fengzeroz
756736ae97
Merge pull request #659 from eeff/eeff/dev
...
chore: add new error code NEU_ERR_LICENSE_TOKEN_NOT_MATCH
2022-07-26 10:37:28 +08:00
eeff
0ae8577037
chore: add new error code NEU_ERR_LICENSE_TOKEN_NOT_MATCH
2022-07-26 10:34:13 +08:00
fengzero
5cece84ca9
fix(http): aio timeout
2022-07-19 07:28:11 +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
1fbebd3872
feat(connection): wait fixed msg
2022-07-13 07:46:38 +00:00
fengzero
9ddf2cde78
ft: add error code
2022-07-11 08:00:21 +00:00
eeff
282ca37050
ci: remove cppcheck errors
2022-07-04 22:49:58 +08:00
eeff
a5e6512d74
feat(restful): support log file downloading
2022-07-04 16:30:59 +08:00
fengzero
7cb727581f
chore(api): check node/group name len
2022-06-23 05:48:52 +00:00
fengzero
53ceeac9ff
del unused errorcode
2022-06-16 10:04:04 +00:00
fengzero
a52b16c1dc
remove adapter/ndoe id
2022-06-15 06:14:51 +00:00
fengzero
203328dffd
copyright 2020-2022
2022-06-10 04:43:06 +00:00
fengzero
45ab4d4cf1
node/group/tag function test
2022-06-10 04:43:06 +00:00
fengzero
dc65873e93
async process op msg
2022-06-10 04:43:06 +00:00
fengzero
f8cf649e55
remove unused msg
2022-06-10 04:43:05 +00:00
fengzero
51ebf90294
node ctl/state
2022-06-10 04:43:05 +00:00
fengzero
c8234633e0
add/del/get group
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
a7781b63ce
log: replace log with zlog
2022-05-28 09:27:52 +00:00
eeff
ae83a7c6de
fix(restful): function http_get_param_node_id type conversion
2022-05-25 18:03:15 +08:00
eeff
68c91a9222
feat(http): add function url_decode and http_get_param_str
2022-05-20 17:44:00 +08:00
fengzero
82e061da4d
move header to include/neuron
2022-04-07 08:44:04 +00:00
eeff
02d90250b3
Handle license error codes in restful plugin
2022-03-15 16:30:37 +08:00
eeff
609e30ab38
Add helper function http_get_param_uint64
2022-03-03 13:22:33 +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
86cdb6ee85
del unused errorcode
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
eeff
eb25ff64c1
Fix restful plugin http query parameter parsing.
...
Previously the function get_param used a static variable to store
parsed data which is not re-entrant, and thus cause bugs.
1. fix get_param and http_get_param to return pointer and len
2. Remove http_get_param_int
3. Add http_get_param_uintmax
4. Add http_get_param_uint32
5. add http_get_param_node_id
6. add http_get_param_node_type
2021-12-08 14:39:33 +08:00
gc87
03f2ac2fa1
Add Device error code in opcua
2021-12-08 14:32:51 +08:00
eeff
a74e09bace
Add NEU_ERR_TAG_NAME_EXIST error code
2021-12-03 17:30:55 +08:00
lixiumei
e477e8d184
Fix http error code
2021-12-01 16:59:02 +08:00
lixiumei
253d346452
Add login and logout
2021-11-29 18:16:50 +08:00
fengzero
fd07e7fd5c
ft: modbus tcp read/write
...
modbus tcp server simulator
2021-11-29 12:17:33 +08:00
fengzero
6a7297cc5a
ft: Add node state/ctl case
2021-11-24 18:03:04 +08:00
fengzero
f839095692
api: node supports updating name
2021-11-24 14:49:21 +08:00
fengzero
3ed6f842ec
refactor http error response
...
use the state of the adapter as the running state of the plugin
2021-11-24 14:49:21 +08:00
fengzero
2daa9f03e8
Add function test for tag, node state, node ctl and
...
subscribe/unsubscribe
2021-11-18 16:24:13 +08:00
fengzero
23bd25f8c8
fix memory leak
...
api: get tags add query parameter group_config_name
2021-10-19 11:38:59 +08:00
fengzero
9524b859ed
fix subscribe/unsubscribe response code
2021-10-18 08:20:54 +00:00
fengzero
96940eb3be
add read/write api
...
support bit/int16/uint16/int32/uint32/float
2021-10-18 14:53:24 +08:00
fengzero
438555b948
api response Allow header
2021-10-15 07:39:43 +00:00
fengzero
bb4ebdd75e
refactor api server, add datatag api
...
use different server process api and web
rename tags field
merge json read/write
2021-09-07 16:56:33 +08:00