* feat(pubsub): Add DSR state to pubsub-reduced namespace
* feat(pubsub) add preoperantiol-state for DataSetReaders
* feat(pubsub) DSR state representation added to information model
* feat(pubsub): Fix test to use pre-operational state
* feat(pubsub): Add state variable for Reader/WriterGroup and DataSetWriter
Signed-off-by: Gaurav Kumar Singh <gk.singh@be-services.com>
* feat(pubsub): Add Pre-Operational state for WG and DSW
Signed-off-by: Gaurav Kumar Singh <gk.singh@be-services.com>
* feat(pubsub) Revise state machine for Reader/WriterGroups based on proposal
- Add enableReader/WriterGroup API
- Add enableDataSetReader/Writer API
- Add automatic transitions from Pre-Operational to Operational
based on connections and securitytoken configuration
* feat(pubsub) Add test cases for state changes
Signed-off-by: Gaurav Kumar Singh <gk.singh@be-services.com>
* feat(pubsub): Fix for pubsub tests to handle correct state changes
Signed-off-by: Gaurav Kumar Singh <gk.singh@be-services.com>
* feat(pubsub): Update examples to support enable APIs
* feat(pubsub): Update flow for key assignment via SKS
- Remove Operational APIs for Reader/WriterGroup
- Add API to ActivateKeys to channel
- Update SKS tests and Example application to use
the new API
Signed-off-by: Gaurav Kumar Singh <gk.singh@be-services.com>
* feat(pubsub): Add component interaction table for the puusub components
Signed-off-by: Gaurav Kumar Singh <gk.singh@be-services.com>
* fix(eventloop): Release lock before Shutdown
* add SubscribedDataSets Folder in Minimal XML
this change will prohibit the error message when Namespace0 is set to FULL
* use correct function for cleanup
* fix onRead for SDS childs
* reset isConnected when reader is removed
* add unittest isConnected
* fix pipeline
missing END_TEST for new unit test
* initial implementation approch for the handling of structures with optional fields and unions
implemented printing structs with optional fields. Tested with optstructs.bsd file.
implemented calculating binary size of structures with optional fields and encoding them. Also implemented printing the right padding for the first member of types with optional fields. Tested with optStructs_test.c
implemented decoding structures with optional fields. Tested with optStructs_test.c
Implemented calculating the binary size of unions. Tested in optStructs_test.c
Implemented encoding and decoding unions. Added returning 4 as binary size, if the SwitchField is too large to avoid later segmentation faults while en-/decoding. Tested with optStructs_test.c
Tested encoding and decoding structs with optional fields and unions with the RtlsLocationResult type from the AutoID nodeset. Works with other clients like UAExpert too now.
Implemented copying and clearing structures with optional fields and unions.
* extended unit testing and examples for unions and optstructs, fixes and cleanups on optstruct and union implementation
* extended custom type example with OPTSTRUCT and UNION
* updated ua-nodeset deps to Tag Errata-1.04.5
* extended nodeset-compiler test with the AutoID companion specification
* reimplemented union representation to match the OPC UA Standard sugestion Part 5 5.2.8 (1.04)
added nodeset compiler support for the new internal union structure
* reimplemented optional struct with internal pointer based representation
added support for the new internal optstruct representation to the nodeset compiler, removed unnecessary type export of union enum field
extended clearStructure function to handle structures with optional fields
* added support for the use of arrays as an optional field
* fixed encoding mask issue, extended read service type-description with the isOptional field and the union type, extended custom types client and server example with arrays, OptStruct and union, removed implementation comments
* added the union datatype to the reduced information model (enables the usage of unions in combination with the reduced information model)
* added UA_ prefix to enum, moved mask copy operation before bail out the funtion
* reduced checks in critical path, added some comments
* fixed horizontal comment alignment
created defined for the binary encoding id for each type
* unify redundant padding logic
Co-authored-by: Grigory Fridman <grigoryfridman@gmail.com>
Co-authored-by: Julius Pfrommer <julius.pfrommer@web.de>