Commit Graph

70 Commits

Author SHA1 Message Date
fengzero d25f93290e fix json parse unit test
clang-format neu_types.h
2021-09-26 17:24:47 +08:00
fengzero 662ae1ec2d refactor json parse
separate mqtt parameter decode/encode
2021-09-24 16:06:48 +08:00
fengzero 4f5e858146 modbus: add subscribe/unsubscribe reqeust and check for group config updates 2021-09-22 10:12:50 +08:00
fengzero a84853692a Add parser yaml config module
del unused file
dashboard plugin read config from neuron.yaml
2021-09-11 11:09:50 +08:00
lixiumei 071de30f90 Add add/delete/update/get plugin api 2021-09-11 10:53:33 +08:00
fengzero 07e9b226cf Add node/group config api
support add/del/update/get
rename group config json field
2021-09-09 22:07:00 +08:00
lixiumei 342841d624 add adapter json parse and test 2021-09-07 18:05:49 +08: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
lixiumei 7bb6562b19 Add datatag table tag JSON analysis and test modifications 2021-08-30 11:39:53 +08:00
Parker Liu 0013a64ba3 Fix issue of mqtt plugin can't get databuf response from driver
* Sometimes add subscription pipe to group config will be executed before
  bind adapter, the wrong pipe will be subscribe in group config. So we
  wait for complete binding adapter and then add subscription pipe.
* Fix issue of failed to build with gcc 10.3.0
2021-08-26 14:26:33 +08:00
Parker Liu 0a82c55dab Implement a static plugin of default dashboard in rest.c 2021-08-18 17:46:57 +08:00
Parker Liu 401228fd36 Add support static plugin in plugin manager 2021-08-18 15:01:36 +08:00
fengzero 7c0fb80928 Add login api
user management and jwt have not yet been implemented
2021-08-18 10:22:41 +08:00
Parker Liu 62b35e1285 Add some request/resposne/command for adapter and plugin
Add structure definition for request/response/command, add get nodes
function and get group configs function in manager.
2021-08-12 19:29:25 +08:00
fengzero e10dea4051 parse read/write 2021-08-12 15:59:14 +08:00
Parker Liu f981f00908 Change malloc.h to stdlib.h for success build in macOS 2021-08-11 18:20:47 +08:00
fengzero 636afc8e18 rest server 2021-08-11 18:11:40 +08:00