Commit Graph

20 Commits

Author SHA1 Message Date
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
Julius Pfrommer b4c9fc37eb Client: Initialize client config inside the client structure
Temporarily disable encyrption
2019-01-30 18:45:42 +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
Julius Pfrommer 89f728aee1 Logging: Make logging a proper plugin with state and cleanup method 2018-12-04 18:39:12 +01:00
Mark Giraud 9310e39a06 Improve logging, error code handling and cosmetics 2018-09-19 18:44:14 +02:00
Stefan Profanter 443283f8e4 Merge remote-tracking branch 'upstream/master' into feature/architectures
# Conflicts:
#	src/server/ua_services_discovery_multicast.c
#	src/ua_util.h
2018-05-23 18:06:54 +02:00
StalderT 047c5e4098 WIP client : timed async service & async highlevel functions with client worker for 0.4 (#1598)
This commit adds asynchronous services to open62541 on client side

* Asynchronous service (highlevel read/write) are available through the API that is defined in
ua_client_highlevel_async.h

* Besides the services, the connection procedure is asynchronous as well.

* A client Application that uses the asynchronous API 
adds requests by calling an asynchronous service (e.g., UA_Client_sendAsyncReadRequest(), UA_Client_sendAsyncBrowseRequest() )
checks for response with UA_Client_run_iterate() repeatedly
and processes the responses with user-defined callbacks
2018-05-15 10:54:15 +02:00
Stefan Profanter a0d6e2b166 Further adaption to architecture folder
# Conflicts:
#	plugins/ua_log_socket_error.h
2018-04-16 13:13:00 +02:00
Root-Core d0e9638a1e Adapted POSIX feature defines 2018-03-01 23:54:11 +01:00
StalderT 39d12d3451 Add callback for subscription inactivity 2018-02-18 13:00:21 +01:00
StalderT 1cd9c469e1 Use new client subscriptions API in examples 2018-02-18 13:00:21 +01:00
Julius Pfrommer 746ad7ede8 New Subscriptions and MonitoredItems Client API
Co-authored-by: StalderT <github@netsolux.ch>
2018-02-18 13:00:21 +01:00
StalderT b5dc40efef Add async subscription handling for the client 2018-02-18 13:00:21 +01:00
StalderT 65db398dcb add client to dataChangeHandler 2018-02-05 22:41:28 +01:00
StalderT 7332a100ee remove unneeded whitespaces (#1552)
* remove unneeded whitespaces

* fix generate_datatypes.py
2018-01-26 14:12:36 +01:00
StalderT 821d5fffdb fix client log 2018-01-25 15:01:45 +01:00
StalderT 7e30f66b0b fix if/while/for/switch typo 2018-01-22 22:00:55 +01:00
StalderT bc9e669ff2 client subscriptions improvement (#1467)
* client subscriptions improvement

* remove lastSendState

* fix typo
2018-01-06 10:41:41 +01:00