Completely fill OpcUa_ReferenceDescription in SOPC_AddressSpaceAccess_BrowseNode

Description

Completely fill OpcUa_ReferenceDescription in SOPC_AddressSpaceAccess_BrowseNode. Only NodeId and IsForward fields were filled and the API indicated (wrongly) that the ReferenceId was filled up which was not the case.

Code version identification

SHA: 6aa174738

Current behavior

When using SOPC_AddressSpaceAccess_BrowseNode nodeClassMask and resultMask are not supported and only target NodeId and isForward fields are filled

Expected behavior

When using SOPC_AddressSpaceAccess_BrowseNode nodeClassMask and resultMask are supported and returns content accordingly with the specification of the Browse service (see part 4).

Security impact

No security impact

Implementation

Update SOPC_AddressSpaceAccess_BrowseNode:

  • remove limitation on resultMask
  • use SOPC_InternalAddressSpaceAccess_GetNode to get attributes that are unknown at this point
  • Fix-up the content of ReferenceId
  • update documentation
  • Update tests
  • Update nodeClassMask with the same logic
Edited by Vincent Monfort