gc87
4cfaf3fcd0
Use web UI to set OPC-UA connection parameters
2021-12-13 11:28:09 +08:00
Parker Liu
f69610ed1e
Fix issue of failed write bool and uint8 to opc ua device
...
* The opc ua plugin hasn't support bool and byte type value, add bool
and byte type value in function write_request_vector_generate in
opcua_handle.c file.
* The simulator of opc ua device lack of uint8 type data in register
area, add uint8 type data in it.
* The function tester of opc ua has a mistake that write a string to a
bool type value with json, repace it by bool value.
2021-12-10 18:46:00 +08:00
eeff
d720015c59
Fix opcua plugin handler opcua_handle_unsubscribe to check NULL pointer
2021-12-09 11:23:28 +08:00
gc87
03f2ac2fa1
Add Device error code in opcua
2021-12-08 14:32:51 +08:00
Parker Liu
80337b6b30
Fix crash issue of setting config to opcua adapter
2021-12-07 14:59:38 +08:00
gc87
f4e5ef384c
Fix opcua bool type parsing error
...
- And add other type support
2021-12-02 10:11:09 +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
Parker Liu
3d4d6daf45
Fix issue of UAF of group config in node when exiting main process
2021-11-26 23:17:09 +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
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
Parker Liu
6a1f182e46
Fix issue of system hung on restart a node
2021-11-23 16:30:25 +08:00
gc87
13fb0e05be
Refactored plugin opcua handle
...
- Delete subscription
- Modify function signature
- Add default initialization of variables
- Fix data type mapping from neuron to opcua
- Rename source file
2021-11-08 15:14:06 +08:00
gc87
95125ff87b
Refactoring OPCUA subscription code
...
- Solve the memory problem at the end of OPCUA cycle reading
2021-11-08 15:14:06 +08:00
gc87
bb9dd7eee9
Fix the timer error of opcua driver
2021-11-08 15:14:06 +08:00
lixiumei
d035272b31
The plugin headers are contained in the include directory
2021-11-04 10:57:41 +08:00
gc87
7e18d25d20
Modify the compilation configuration
...
Use libneuron-base in plugins
2021-11-02 18:07:49 +08:00
gc87
940d6164f9
Implement MQTT-driven configuration
...
Initialization and setting of the config parameters of the MQTT driver
2021-11-02 18:07:49 +08:00
gc87
7f41768c63
Implementation of OPCUA-driven configuration
2021-11-02 18:07:49 +08:00
gc87
569d008fe3
Fix most memory problems of opcua driver
...
- And mqtt driver
2021-10-29 14:23:53 +08:00
gc87
ca5ba87058
Add open62541 logging interface implementation
2021-10-28 09:53:59 +08:00
gc87
b8a3d2c82d
Add connection activity status check thread
...
- Add a mutex lock to ensure that the opcua client's state transitions properly
2021-10-28 09:53:59 +08:00
gc87
25bbff646e
Fix mqtt command
2021-10-19 16:38:42 +08:00
fengzero
34647e8ae0
Add signal processing
...
Make the program exit normally and make libasan memory detection take
effect
2021-10-14 16:47:37 +08:00
gc87
03a573bc46
Use groupconfig to limit the parameter range of write commands
...
- Add test
2021-10-12 10:09:45 +08:00
gc87
2fef979c9a
Fix the problem of failure to judge CSTR type
...
- Correctly write opcua data according to the datatag table type information
2021-10-12 10:09:45 +08:00
gc87
02ce6dc213
Improve OPCUA driver error code processing for reading and writing data
2021-09-30 18:35:02 +08:00
gc87
75e863ab9e
MQTT read and write data stream, replaced with new data structure
...
1. Read data once
2. Fixed a crash when opcua read once
2021-09-30 18:35:02 +08:00
gc87
e9acf8e1c2
Switch to the new serialized data structure
...
1. OPCUA driver read response switch
2. OPCUA driver write request switch
2021-09-28 12:03:31 +08:00
gc87
47f6e54efd
Fixed crash caused by uninitialized OPCUA client
2021-09-26 18:53:03 +08:00
Parker Liu
3b369acf25
Add send subscribe node message when Add default group configs
2021-09-26 17:15:59 +08:00
Parker Liu
ba89625545
Switch to neu_data_val_t in sample plugin for read and write
2021-09-26 15:06:05 +08:00
gc87
e018d73a6f
Fix the link error of OPCUA driver
2021-09-24 18:49:04 +08:00
gc87
5898c2ab8e
Add cyclic reading support and subscription support
2021-09-24 16:10:03 +08:00
gc87
eb00cc6070
Refactoring the OPC-UA driver
...
1. Simplify the code of read and write
2021-09-24 16:10:03 +08:00
gc87
dae9f9def4
Read configuration file
2021-09-16 19:16:49 +08:00
gc87
6817eeae6d
Improve the read command of opcua driver
2021-09-13 18:10:07 +08:00
gc87
112f9fe0f3
Add opcua plugin support
...
1. Update README.md
2. Update install-lib.sh
3. Add the key field to the variable
4. Use config to read
5. It works
2021-09-12 22:58:51 +08:00