Commit Graph
27 Commits
Author SHA1 Message Date
Julius Pfrommer 3bec159cb9 Merge remote-tracking branch 'origin/1.4' into merge_14_master_25 2025-01-25 19:06:56 +01:00
Rolf Kalbermatter d5f4c5fcc8 fix(tools): Fix compilation for Microsoft C compiler 2024-12-23 00:22:27 +01:00
Rolf Kalbermatter 5265a58682 refactor(tools): Remove unneeded header includes (#6952) 2024-12-09 20:37:23 +01:00
Julius Pfrommer 28554978c1 feat(core): Extend the binary encoding to take encoding options 2024-12-07 23:03:22 +01:00
estr Eckerstorfer Andreas 166d03c351 refactor(core): Substitute tabs by spaces in source code 2024-09-14 02:33:22 +02:00
Julius Pfrommer 5bba2ba794 refactor(core): Fold the <type>_generated_handling.h into <type>_generated.h 2024-05-29 06:14:56 +02:00
RolfKal b1f5e0ea52 fix(tools): Rather than including a Microsoft specific header io.h for the read() function, use the more portable fread() function instead. 2024-04-15 12:38:52 +02:00
Julius Pfrommer e8002d845b refactor(pubsub): Simplify the PubSub en/decoding API 2024-04-12 14:45:06 +02:00
RolfKal 40401d0c6a fix(pubsub): Move functions used in ua2json tool to external header and declare them to be exported. This allows the open62541 library to be compiled as shared library and used from the ua2json tool 2024-04-12 14:45:06 +02:00
Rolf Kalbermatter dbc09bc5ca fix(tools): Make ua2json compile under Windows (#6365) 2024-03-27 10:52:58 +01:00
Julius Pfrommer f0ac67a6d1 fix(tools): Remove a C++ keyword collision in ua2json.c 2023-11-09 08:27:11 +01:00
Julius Pfrommer 0ae0b2c7be fix(tools): Fix a C++ compliance issue in ua2json.c 2023-11-08 23:14:09 +01:00
Alexander Bluhm 5b22388d21 fix(tools): ua2json initialize options struct
The initializer for UA_DecodeJsonOptions does not contain all fields
and emits warning: missing field 'namespacesSize' initializer
[-Wmissing-field-initializers].  As variable opt is constant, it
can also be declared static.  Then it is allocated in BSS and zero
initialized if there is no initializer.
2023-11-02 17:22:47 +01:00
Julius Pfrommer 3a64af82db refactor(tools): Update ua2json to include architecture-dependent headers 2023-07-28 21:42:56 +02:00
basyskom-dege 39fa9835fd fix(pubsub): decoding of custom datatypes. (#5681)
* Added test for Pubsub custom types

* Fixed missing UA_DataTypeArray for decoding

* Added more pubsub test-cases for custom types

* Removed wrapper function. Updated tests.

* Fixed CI build issues
2023-03-21 17:42:31 +01:00
Andreas Eckerstorfer 13af9b8688 refactor(core): Remove trailing spaces in code (#5221) 2022-06-24 11:03:25 +02:00
matkonnerth 530e3c0aaf feat(core): Provide json encoding functions in the public includes (#4570) 2021-08-28 12:10:03 +02:00
Julius Pfrommer b164c0e7f4 feat(core): Expose binary encoding/decoding functions 2021-08-16 10:21:51 +02:00
Julius Pfrommer 6211feb1f9 fix(tools): Fix unused variable in ua2json.c when PubSub is disabled 2021-07-14 14:54:48 +02:00
Julius Pfrommer 9f6da2c168 refactor(tools): Use _clear instead of _deleteMembers 2020-10-18 15:21:40 +02:00
Julius Pfrommer 15ac0432ea fix(tools): Fix ua2json after PubSub API change 2020-01-25 19:33:26 +01: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
Julius Pfrommer f3432725fc UA2JSON: Fix DataValue example 2019-02-19 07:56:06 +01:00
Julius Pfrommer 9012827b3e ua2json: Fix calling with an invalid output/input 2019-02-01 09:02:36 +01:00
Julius Pfrommer e5e18b99b5 ua2json: Add PubSub encoding/decoding 2019-02-01 09:02:36 +01:00
Julius Pfrommer f9d8afdbdd Add ua2json tool 2019-01-10 10:51:24 +01:00