Commit Graph

432 Commits

Author SHA1 Message Date
Parker Liu 8faad35f93 Fix crash issue of adding a same name group config 2021-12-01 10:46:35 +08:00
Parker Liu 09fe21f39a Remove unused librt in CMakeLists.txt for opcua simulator 2021-11-30 16:51:55 +08:00
gc87 cff79b9e42 Refactored some MQTT command processing functions
1. Group config
2. Data tag
3. Read and write
2021-11-30 16:34:44 +08:00
gc87 ec939bd9ed Fix OPCUA failed to read data
Because the index is not increased correctly, a single data point reading failure causes all data assignment errors
2021-11-30 16:34:44 +08:00
gc87 587bf7fefc Add OPC-UA simulator 2021-11-30 15:40:46 +08:00
eeff a13653f5b5 Fix jwt_test ASAN odr-violation 2021-11-30 15:38:43 +08:00
fengzero 66b74c690e add asynchronous io and timer
asyn io is not implemented

use epoll/timerfd on linux
use kqueue on unix
2021-11-30 15:38:14 +08:00
eeff e417205727 Add log label to the logging facilities
1. Add a new label argument in log_log
  2. Add a set of interfaces to assist node name logging
2021-11-30 09:58:49 +08:00
eeff 019efe4d2c Add function neu_plugin_self_node_name 2021-11-30 09:58:49 +08:00
Parker Liu ae131c4da6 Fix building error in tcp_server/neu_plugin_common.c for macOS 2021-11-29 18:49:24 +08:00
lixiumei 6a824a6e8c API function text add JWT 2021-11-29 18:16:50 +08:00
lixiumei 253d346452 Add login and logout 2021-11-29 18:16:50 +08:00
lixiumei dcf9160735 login 2021-11-29 18:16:50 +08:00
Parker Liu 2619100f13 Add ci processing in push commit action 2021-11-29 17:16:26 +08:00
Parker Liu d8439b9a35 Move the printing adapter name of log to before unbind wake 2021-11-29 17:01:19 +08:00
fengzero fd07e7fd5c ft: modbus tcp read/write
modbus tcp server simulator
2021-11-29 12:17:33 +08:00
Parker Liu 2d66177bbb Do not lock adapters_mtx when waiting unbind adapter 2021-11-27 14:37:08 +08:00
Parker Liu 3d4d6daf45 Fix issue of UAF of group config in node when exiting main process 2021-11-26 23:17:09 +08:00
Parker Liu 96ec75833e Fix issue of occasional crash when deleting a node 2021-11-26 23:10:16 +08:00
Parker Liu dfeb5fb4a7 Add function neu_system_ref_group_config for reference a special group config 2021-11-26 18:37:56 +08:00
gc87 906b9c053c Add subscription management interface in mqtt
- Modify the existing interface naming of group config
2021-11-26 15:17:48 +08:00
gc87 0b7e87fa5d Remote interface for plugin management 2021-11-26 15:17:48 +08:00
gc87 1fc10aeca8 Add ping-pong interface to MQTT 2021-11-26 11:08:48 +08:00
gc87 7575f380fa Remote interface for node management
- Solve the problem of MQTT-C callback function locking
2021-11-24 19:01:58 +08:00
fengzero 6a7297cc5a ft: Add node state/ctl case 2021-11-24 18:03:04 +08:00
fengzero 8893ffbb19 refactor node state and ctl(start/stop)
plugin add start/stop interface

open: init plugin struct
init: initialize other context
start: plugin start workflow
2021-11-24 16:28:05 +08:00
fengzero 1b66cf8ad0 default option for compiling is debug, and ut is turned on by default 2021-11-24 14:49:21 +08:00
fengzero 25898eb99c ft: Add modbus/opcua rw and mqtt test cases 2021-11-24 14:49:21 +08:00
fengzero f839095692 api: node supports updating name 2021-11-24 14:49:21 +08:00
fengzero fbb004e0b3 return the correct node according to the node type 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
zhanghongtong 42512d463f ci: change ubuntu-20.04 to ubuntu-18.04 2021-11-24 11:37:10 +08:00
alvin1221 6945f5a8cc Fix Dockerfile install googletest 2021-11-24 11:37:10 +08:00
alvin1221 dc0ff74147 Add googletest install for Dockerfile 2021-11-24 11:37:10 +08:00
zhanghongtong ccf48adfaf ci: merge release workflows to dev workflows 2021-11-24 11:37:10 +08:00
zhanghongtong 2612979f77 ci: add new step for run neuron 2021-11-24 11:37:10 +08:00
alvin1221 08b5bef611 Add package.sh;
Fix build openssl by source code;
2021-11-24 11:37:10 +08:00
alvin1221 ca88f7436c Add package.sh 2021-11-24 11:37:10 +08:00
zhanghongtong 86e0fec53c ci: add x86_64 compile 2021-11-24 11:37:10 +08:00
alvin1221 3755d3a806 Change libyaml library type 2021-11-24 11:37:10 +08:00
alvin1221 2a3568ce9c Add toolchain file x86_64-linux-gnu.cmake 2021-11-24 11:37:10 +08:00
zhanghongtong a98d975b4a chore: update compile workflows 2021-11-24 11:37:10 +08:00
zhanghongtong a1edf5695c chore: install git 2.18 for base image 2021-11-24 11:37:10 +08:00
alvin1221 4c65bfef25 Fix invalid variable & incorrect branch name of MQTT-C 2021-11-24 11:37:10 +08:00
Rory-Z 402c879be1 ci: update workflows 2021-11-24 11:37:10 +08:00
Rory-Z 39e206a170 chore(base image): update install lib 2021-11-24 11:37:10 +08:00
Rory-Z 6e6090b9bc chore(base image): update install lib 2021-11-24 11:37:10 +08:00
Rory-Z d46a08816b chore(base image): update install lib 2021-11-24 11:37:10 +08:00
Rory-Z 0e5cfaa71c chore(base image): update install lib 2021-11-24 11:37:10 +08:00
Rory-Z 0a6df16cca chore(base image): update install lib 2021-11-24 11:37:10 +08:00