Commit Graph

49 Commits

Author SHA1 Message Date
Julius Pfrommer 0e62e11afb Merge remote-tracking branch 'origin/master' into merge_14_master_25 2025-01-20 16:09:35 +01:00
Julius Pfrommer 59da360dee feat(core): Parsing of human-readable QualifiedNames with the Uri component 2025-01-02 23:41:14 +01:00
Julius Pfrommer 04dc6f8d08 feat(core): Printing of QualifiedName according to the v1.05 spec 2025-01-02 23:41:14 +01:00
Julius Pfrommer af71a4d6ed feat(core): Extended parsing of ExpandedNodeId with NamespaceUri and ServerUri mapping 2025-01-02 23:41:14 +01:00
Julius Pfrommer da73aeb4f0 feat(core): Add extended encoding of NodeIds using the namespace mapping 2025-01-02 23:41:14 +01:00
Julius Pfrommer 5e7f04b71b Merge remote-tracking branch 'origin/1.4' into merge_14_master_25 2024-12-07 22:55:41 +01:00
Sebastian Goll c65b593b82 test(core): add tests for most UA_KeyValueMap operations 2024-11-26 20:53:19 +01:00
Sebastian Goll d783ab5a39 test(core): add test for removing keys from UA_KeyValueMap 2024-11-26 20:53:19 +01:00
Julius Pfrommer 7b9f71dce5 Merge remote-tracking branch 'origin/1.4' into merge_14_master_9 2023-12-16 20:05:03 +01:00
Julius Pfrommer c9efc586ab refactor(core): Remove the unused FOR_EACH_CHUNK macro 2023-12-10 23:39:29 +01:00
Julius Pfrommer c360046233 refactor(core): Move util features to /src/util 2023-10-20 20:02:25 +02:00
Julius Pfrommer 8a3b84eae5 Merge remote-tracking branch 'origin/1.3' into merge_13_master_6 2022-10-26 13:59:13 +02:00
Joe Riemersma 4091c86e34 fix(core): DataValue statuscodes checks ignore additional information bits (#5375)
* fix(core): DataValue statuscodes checks ignore additional information bits

* fix(core): Update UA_StatusCode_name to use UA_StatusCode_equal

* fix(core): rename UA_StatusCode_equal to UA_StatusCode_isEqualTop and update function docs

* fix(core): changed statuscode message invlaid status code value to real invalid statuscode

* fix(core): fix windows clang build
2022-10-20 08:38:46 +02:00
Julius Pfrommer b313a32450 refactor(core): Remove test where NodeId pointer is NULL 2022-08-20 14:34:38 +02:00
Julius Pfrommer 13ab91a697 fix(test): NodeId print tests allocate memory each 2022-08-20 14:34:38 +02:00
Jan Hermes 51b0941d67 test: test chunked for-loop 2022-04-19 14:27:09 +02:00
Julius Pfrommer dba1796702 refactor(core): Remove some long deprecated definitions 2021-11-13 20:26:02 +01:00
Julius Pfrommer d19c958dd7 feat(core): Add UA_order; use this to check for equality of variables 2021-09-23 17:49:21 +02:00
Kurt Kanzenbach cbcefe9bab fix(util): Fix IPv6 URL parsing
Resolve the following error when utilizing IPv6 multicast:

|PubSub Connection creation failed. Internal error.

For instance, the IPv6 URLs may look like this: opc.udp://[ff02::1:5]:4840/.

The current parsing code doesn't strip the '[]' brackets from the hostname. This
leads to failing consecutive calls to getaddrinfo(). Fix it and enable IPv6.

Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
2021-06-18 18:49:26 +02:00
Julius Pfrommer 7c23332027 refactor(test): Use _clear instead of _deleteMembers 2020-10-18 15:21:40 +02:00
Stefan Profanter 67af7ffa1d feat: Add UA_String_equal_ignorecase for case insensitive string compare 2020-05-15 14:45:32 +02:00
Stefan Profanter 092d199f23 Tests: Add unit tests for UA_NodeId_order 2019-07-24 19:44:46 +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 16d2bace3f Improve the coverage of UA_NodeId_toString() 2019-03-05 07:48:36 +01:00
Frank Meerkoetter 56eac3b4fc Improve coverage of UA_parseEndpointUrlEthernet() 2019-03-05 07:48:36 +01:00
Frank Meerkoetter 1f312fe111 Improve the coverage of UA_parseEndpointUrl() 2019-03-05 07:48:36 +01:00
Frank Meerkoetter 06d47d6620 Coverage for testing of UA_readNumberWithBase 2019-02-21 08:16:45 +01:00
Stefan Profanter 8e85b9de3e Util: UA_NodeId_toString set correct string length 2019-01-09 08:12:17 +01:00
Rudolf Hoyler 3678b867ad Add UA_parseEndpointUrlEthernet; Decode numbers with any base 2018-10-15 09:48:37 +02:00
Stefan Profanter 929425ac89 Omit ns=0 if ns is 0 2018-07-04 08:10:01 +02:00
Stefan Profanter 58c1be4db9 Use correct identifier labels and encode bytestring as base64 2018-07-04 08:10:01 +02:00
Stefan Profanter 52795849ea Add UA_NodeId_toString method 2018-07-04 08:10:00 +02:00
Julius Pfrommer 5ec8dd51ec fix tests with UA_ENABLE_MULTITHREADING and UA_ENABLE_TYPENAMES disabled 2017-09-21 17:46:30 +02:00
Julius Pfrommer 9276e89cd0 deprecate UA_StatusCode_explanation; document build options 2017-07-25 00:18:28 +02:00
Julius Pfrommer 3a74a089ae Refactor UA_parseEndpointUrl to work with UA_String; Create ua_util.c for utility functions 2017-04-16 10:23:08 +02:00
Julius Pfrommer 08ee0a53f2 untabify master 2017-02-23 09:51:48 +01:00
Julius Pfrommer 20b4db46b5 Merge branch '0.2' 2017-02-13 09:55:36 +01:00
FlorianPalm 810db94bca added MPL v2 license to c/h/py files 2017-02-12 08:07:27 +01:00
Julius Pfrommer ceac7e86b7 fix a test case for parsing numbers 2017-02-08 20:39:19 +01:00
Julius Pfrommer c256b78abc make UA_readNumber an internal function 2017-02-08 20:18:47 +01:00
FlorianPalm aee53c650e license change for all c/h files 2017-01-31 18:21:34 +01:00
FlorianPalm a0f38a0bd1 undoing license add (missing comment ending...)
This reverts commit 87028b0ee6.
2017-01-31 18:21:33 +01:00
FlorianPalm 87028b0ee6 added new license text (mplv3) 2017-01-31 17:25:54 +01:00
FlorianPalm faa91182a2 Revert "License change: added license note at the beginning of every .c/.h file"
This reverts commit 55cbdc83d7.
2017-01-31 17:22:27 +01:00
FlorianPalm 55cbdc83d7 License change: added license note at the beginning of every .c/.h file 2017-01-27 18:46:56 +01:00
Julius Pfrommer 6529137c26 enable statuscode descriptions by default; split functionality across
less files
2016-10-14 02:02:12 +02:00
Stefan Profanter 4c9857e122 Add missing statuscodes from StatusCode.csv
Add conversion from UA_StatusCode to human-readable string message. Fix #847

Add unit test for UA_StatusCode_msg and add to example

Add Opc.Ua.StatusCodes.csv for UA_StatusCode_msg
2016-10-14 02:02:08 +02:00
Stefan Profanter 0fdfcc43d4 Create specific method for splitting endpoint url. Fix #778
Windows wants strncpy_s

Port is max 6 chars

Code refactoring and cleanup

Add support for IPv6

cosmetic improvements; untabify, break overly long lines
2016-08-30 14:31:11 +02:00