70 var build =
new StringBuilder();
71 build.AppendLine($
" Address: {Address}");
72 build.AppendLine($
"Baud Rate: {BaudRate}");
74 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 of a PD command message.
int BaudRate
Gets the baud rate.
override byte[] BuildData()
byte Address
Gets the address.
override CommandType CommandType
override string ToString()
static CommunicationConfiguration ParseData(ReadOnlySpan< byte > data)
Parses the message payload bytes.
CommunicationConfiguration(byte address, int baudRate)
Initializes a new instance of the CommunicationConfiguration class.
override ReadOnlySpan< byte > SecurityControlBlock()