Byte Array Content
Represents raw binary data content in the Satellite Message Protocol.
This class encapsulates arbitrary binary data to be transmitted via satellite. It is used when the content doesn't fit into standard message types and requires custom handling by the receiving system. This content type always uses ContentType.OTHER with a SubContent.BYTE_ARRAY indicator.
Note: The interpretation of the payload bytes is dependent on the external backend implementation of the customer using it. After the internal subtype indicator (0) in the payload, the remaining data format is customer-specific. This can be freely used to create custom content as per use-case.
Functions
Link copied to clipboard
fun createSmpHeader(messageCounter: Int, eventTimestamp: SmpTimestamp, version: Int = 1, ackFlag: Boolean = false): SmpHeader
Creates an SMP header for this content.