37 internal static ReaderStatus ParseData(ReadOnlySpan<byte> data)
48 byte readerNumber = 0;
49 var build =
new StringBuilder();
52 build.AppendLine($
"Reader Number {readerNumber++:00}: {Helpers.SplitCamelCase(readerStatuses.ToString())}");
55 return build.ToString();
Contains standard Security Control Block data that can be used when building messages.
Base class representing a payload an OSDP message.
override ReadOnlySpan< byte > SecurityControlBlock()
ReaderTamperStatus[] ReaderTamperStatuses
Gets the all the PDs reader statuses as an array ordered by reader number.
override string ToString()
override byte[] BuildData()
ReaderStatus(ReaderTamperStatus[] statuses)
Creates a new instance of ReaderStatus class.
ReplyType
Identifies the type of OSDP protocol reply (PD -> ACU) message.
ReaderTamperStatus
Possible states that the reader is currently reporting.