generateMessageId

Extension function to generate a MessageId from an SmpHeader.

This utility function extracts the relevant counter and timestamp information from a message header to create a unique message identifier.

Return

A new MessageId instance derived from the header's properties.


Extension function to generate a MessageId from a NetworkAckContent

This utility function extracts the relevant counter and timestamp information from a message header to create a unique message identifier.

Return

A new MessageId instance derived from the NetworkAck's properties