Commit Graph

10 Commits

Author SHA1 Message Date
Julius Pfrommer 8439c500aa refactor(examples): Clean up arch-dependent API usage in examples 2023-07-28 21:42:56 +02:00
basyskom-dege 0f055942b7 feat(CI): Added support for arguments in the examples workflow (#5760)
* 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
2023-07-02 02:58:40 +02:00
Julius Pfrommer 3dc93eaa90 refactor(examples): Return EXIT_SUCCESS for the valgrind run 2023-02-20 02:11:56 +01:00
Mark Giraud 3e5bb3a9a5 refactor: Use correct format specifiers 2021-07-01 16:41:00 +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
Julius Pfrommer b4c9fc37eb Client: Initialize client config inside the client structure
Temporarily disable encyrption
2019-01-30 18:45:42 +01:00
Peter Rustler cf193cf41d Cleanup client historical api to meet ci and pr requirements.
The following commits where squashed in this commit:
* client_historical_data: Bugfix isInverse
* client_historical: Cleanup and refactoring to meet pr comments.
* client_historialdata: Add a test for client historical read raw.
* historical_client: support index range
* historical_client: refactoring and cleanup methods.
* historical: Make the build system configurable and rename server test.
* historical_data: cleanup
* client_historical: Add code for events and modified history
* client_historical: fix memoryleak
* hda_client: Fix client_historical example.
2019-01-08 00:01:05 +01:00
Fabian Arndt 8577f8773e Added highlevel client API for reading historical data
The following commits where squashed in this commit:
* Added highlevel client API for reading historical values
* Added example for reading historical values with client
    It requires the Unified Automation demo server.
    It starts data logging and reads the values afterwards.
* Adapted API to allow readModified
* Changes order of arguments to prevent mistakes
* Added separat methods for raw / modified / prepared events
* Reused "service" for multiple DetailTypes / simplyfied
* Removed deletion of local variables
* Moved / added missing functions in header file
* Missed to commit changes to UA_Client_readHistorical_events()
* Added __UA_Client_readHistorical() to header
    .. sry, unit tests wont run on this machine, while building works like a
    charme
* My git client skips content.. 👎
* Fixed example warnings
* Fixed prints of example / added _BSD_SOURCE for usleep()
* Fixed POSIX features again
2019-01-08 00:01:05 +01:00