Represents a parsed OSDP packet with decoded message information.
ReadOnlyMemory< byte > RawData
Raw bytes of the entire message data.
bool IsSecureMessage
Indicates if the message was sent via an established secure channel.
ReadOnlyMemory< byte > RawPayloadData
Raw bytes of the payload data.
CommandType? CommandType
The type of command sent or null if it is a reply.
byte Sequence
Sequence number of the message.
bool IsUsingCrc
Is CRC being used.
byte Address
Address of the message.
bool IsUsingDefaultKey
Indicates if the secure channel is using the default key.
ReplyType? ReplyType
The type of reply sent or null if it is a command.
bool IsPayloadDecrypted
Indicates whether the payload was successfully decrypted.
object? ParsePayloadData()
Parse the payload data into an object.