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
fengzero
d204f8f633
refactor http api server
...
default response header
static var plugin
http request macro
2021-09-03 14:38:05 +08:00
fengzero
288175996c
Add plugin cmd function
...
add NEU_REQRESP_GET_SELF_NODE_ID cmd
add get_datatags_table func
define neu_addt_str_t
fix compile warning
add magic number and check function in neu_plugin_common_t
2021-09-02 11:22:51 +08:00
fengzero
fb14067105
Add http response function
...
refactor handle response
2021-09-01 15:13:15 +08:00