How to change the UADP NetworkMessage type in ExtendedFlags2 of UADP NetworkMessage

23 views
Skip to first unread message

Charanraj O

unread,
Feb 1, 2025, 9:02:02 AM2/1/25
to open62541

Hi team,

 

Problem statement: In open62541 SDK do we have a support to change the UADP NetworkMessage type in ExtendedFlags2 of UADP NetworkMessage? If it is supported how can we do it?

 

I am working on PubSub configuration for PubSub-publisher implementation in open62541 SDK where I am trying enable/disable the UADP NetworkMessage flags specifically the UADPVersion, UADPFlags, ExtendedFlags1 and ExtendedFlags2 flags.

 

I am able to enable the UADPFlags Bit 4-7 (Bit 4: PublisherId, Bit 5: GroupHeader, Bit 6: PayloadHeader and Bit 7: ExtendedFlags1 enable flags) using WriterGroup configuration API as shown in below code (image)

 

Similarly I wanted to change the “UADP NetworkMessage type” in the ExtendedFlags2, but I am not able to find where can I change it. I wanted to enable the NetworkMessage type to ‘NetworkMessage with discovery announcement payload’(010) but I am able to change it. I can see by default in wireshark the NetworkMessage type shows either NetworkMessage with DataSetMessage(000 ) or NetworkMessage with discovery probe(001).

 

In open62541 SDK do we have a support to change the UADP NetworkMessage type in UADP NetworkMessage ExtendedFlags2? If it is supported how can we do it?

 

 

 

Thanks and regards,

Charanraj O

Reply all
Reply to author
Forward
0 new messages