Skip to content

Ticket #1387: SOPC_Encodeable_CreateExtension: set adapted TypeId namespace

Vincent Monfort requested to merge 1387_fix_encodeable_create_extension_obj into master

Contributes #1387 (closed)

The TypeId namespace was always set to 0 but it depends on the actual namespace of the encodeable type. It had no impact when writing a variable node with obtained extension object because:

  • On server side for local write: SOPC_ExtensionObject_Get_DataType uses the object encodeable type for typechecking
  • On client side write operation: SOPC_ExtensionObject_Write rewrites the type id based on object encodeable type

Merge request reports

Loading