Add a comment to the BrowseRequest example warning users not to use
UA_NODEID_STRING when the NodeId will be cleared by
UA_BrowseRequest_clear, since clearing will try to free the string
memory. Use UA_NODEID_STRING_ALLOC or UA_NodeId_copy instead.
Fixes#6777
* Enable a remote server URL to be provided as an argument.
* Default to localhost if no arguments are provided.
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Thorsten Lannynd <t-lannynd@ti.com>
* CI: Added support for arguments in the examples workflow
* Fixed memory leaks in examples. Add ApplicationUri
* Arguments and server/client for all examples. Small fixes
* outsource/blacklist some examples. Fix memory leak in example.
* Remove Shlex. Remove false UA_Client_delete
* Removed raw examples from ci. Fix leak in client.c and mqtt_publish
* Fix memory leak in mqtt subscriber
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>`
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.
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
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.
* cleanup cmake
* fix readspeed example
* adjust travis and appveyor; use static lib for release
* fix unit test build
* fix server path
* install check for analysis phase
* fix caching packages
* fix assignment
* fix if then
* fix a variable expansion
* add trace outputs to environment install
* more logging
* fixing.,.
* fix a rm
* fix a typo
* fix path
* notifications only for 0.2 and master
* add missing file
* clean osx before install
* fix notification setting
* fix python
* fix an unit test issue
* move logger and connection-function into the client config;
move the standard config definition into a plugin
* remove redundant definition from example servers