Commit Graph

22 Commits

Author SHA1 Message Date
Julius Pfrommer
705801a55c refactor(examples): Use the NS0ID shorthand in the examples 2024-07-26 08:30:16 +02:00
Julius Pfrommer
8439c500aa refactor(examples): Clean up arch-dependent API usage in examples 2023-07-28 21:42:56 +02:00
Julius Pfrommer
928931ec36 refactor(core): Move architecture-specific definition out of the public headers 2023-07-28 21:42:56 +02:00
Julius Pfrommer
4b8ec01827 refactor(examples): Use UA_Server_runUntilInterrupt in examples 2023-01-15 17:34:17 +01:00
demike
5dea0e3898
feat(core): Add support for WebSocket Secure (wss) (#3779)
* fix: websocket not disconnecting

* feat: allow official opcua proto opcua+uacp/+json

* fix: disable opcua+json protocol for now

* feat: initial commit

* feat: add wss support + example

* fix: wrong condition + memory leak

* fix: typo
2020-09-13 11:25:43 +02:00
Julius Pfrommer
a4cfd801b2 Server: Add an example for matrix variables. Fix #2389 2019-08-01 18:20:48 +02:00
matkonnerth
347a486f53 WebSocketTransport: base implementation
add compile definitions for websocket server
	geändert:       CMakeLists.txt
	geändert:       plugins/ua_config_default.c

fix CMakeLists

fix missing callback for UA_Connection

remove mountpoint, not necessary

set timeout of lws_service to zero, otherwise it will block the main event loop

narrow scope of variable

add logging

rework serverconfig
	geändert:       CMakeLists.txt
	geändert:       examples/tutorial_server_variable.c
	geändert:       plugins/include/open62541/server_config_default.h
	geändert:       plugins/ua_config_default.c

add send queue

fix rx,tx buffer size

fix memory leaks, cmake config

apply code formatter
	modified:   arch/network_ws.c

remove global variables

remove global vars
	geändert:       CMakeLists.txt
	geändert:       arch/network_ws.c

remove unnecessary comments
2019-07-24 20:05:10 +02:00
Franz Hollerer
84f499b932 Server tutorial: change variable running to static volatile (see Issue … …#2683 (#2684) 2019-04-29 22:21:52 +02:00
Julius Pfrommer
fd08d012d9 Server: Initialize the config in the server 2019-04-23 00:41:32 +02:00
Stefan Profanter
63f3653ff1 Additional header cleanup and consistent name of ns generated files 2019-03-21 20:16:31 +01:00
Julius Pfrommer
c9c818868f Move header files to a more unix-like structure
This commit drops the 'ua_' prefix and changes the public includes
to the form `#include <open62541/server.h>` instead of the old
`#include <ua_server.h>`
2019-03-21 20:16:31 +01:00
Frank Meerkoetter
1648fb8aaa Use EXIT_SUCCESS/FAILURE for the examples
Make use of EXIT_SUCCESS and EXIT_FAILURE from stdlib.h.
The previous approach of returning a value from UA_StatusCode
was often broken as an exit code can (portably) only be between 0 and 125.
2019-02-09 09:34:46 +01:00
Stefan Profanter
d715db1057
Stack: Use non-amalgamated headers in all the examples
For consistency we recommend using non-amalgamation install, thus the
examples should also use the non-amalgamated headers.
2018-12-17 22:40:07 +01:00
Jose Cabral
1605455a74 Fixes #1925 and clean examples 2018-07-25 08:17:51 +02:00
NIPE-SYSTEMS
5acb762c14 Fix typo in tutorial documentation
This fixes a typo (`UA_VariableAttrbitues` -> `UA_VariableAttributes`) in the tutorial section 'Adding Variables to a Server'.
2018-05-23 12:43:31 +02:00
Stefan Profanter
6ea3e4e238
Set type definition for variable nodes to aviod warning 2018-02-20 15:10:10 +01:00
Stefan Profanter
61f5018854
Merge remote-tracking branch 'upstream/master' into hotfix/localeid
# Conflicts:
#	examples/client.c
#	examples/discovery/server_multicast.c
#	examples/discovery/server_register.c
#	examples/server.c
#	examples/server_inheritance.c
#	examples/tutorial_server_datasource.c
#	examples/tutorial_server_variabletype.c
2017-09-07 10:28:44 +02:00
Julius Pfrommer
0b8760eefe set variable accesslevel to writable in the examples 2017-09-06 01:08:05 +02:00
Jonas Green
7a58e6c0a5 Corrected format of LocaleId in LocalizedText attributes
The LocaleIds was formatted with an underscore as separator between
the language and region. According to the OPC UA specification the
language and the region shall be separated by a hyphen.
Also removed LocaleId in those cases where a specific language is not
addressed, i.e. when presenting a type name.
2017-08-29 10:08:15 +02:00
Infinity95
a8012d3040 endpoints in the server config; new/delete functions for the server config 2017-08-15 09:52:34 +02:00
Julius Pfrommer
b45a77a6db define const global definitions for the default node attributes 2017-07-24 15:40:44 +02:00
Julius Pfrommer
68402c5ff6 use compilable examples for the tutorials 2017-03-05 15:23:45 +01:00