26 public override byte Code => (byte)
ReplyType.PdCommunicationsConfigurationReport;
46 var dataArray = data.ToArray();
47 if (dataArray.Length != 5)
49 throw new Exception(
"Invalid size for the data");
63 var build =
new StringBuilder();
64 build.AppendLine($
" Address: {Address}");
65 build.AppendLine($
"Baud Rate: {BaudRate}");
67 return build.ToString();
A base message class for sending or replying.
Contains standard Security Control Block data that can be used when building messages.
Base class representing a payload an OSDP message.
int BaudRate
Gets the baud rate.
byte Address
Gets the address.
override ReadOnlySpan< byte > SecurityControlBlock()
override string ToString()
override byte[] BuildData()
CommunicationConfiguration(byte address, int baudRate)
Initializes a new instance of CommunicationConfiguration class.
ReplyType
Identifies the type of OSDP protocol reply (PD -> ACU) message.