OSDP.Net 5.2.1
A .NET library for implementing the Open Supervised Device Protocol (OSDP)
Loading...
Searching...
No Matches
OSDP.Net.Model.ReplyData.CommunicationConfiguration Class Reference

The actual communication configuration of the PD sent as a reply. More...

Inheritance diagram for OSDP.Net.Model.ReplyData.CommunicationConfiguration:
OSDP.Net.Model.PayloadData

Public Member Functions

 CommunicationConfiguration (byte address, int baudRate)
 Initializes a new instance of CommunicationConfiguration class.
override ReadOnlySpan< byte > SecurityControlBlock ()
override byte[] BuildData ()
override string ToString ()
Public Member Functions inherited from OSDP.Net.Model.PayloadData
byte[] BuildData ()
 Converts the payload into a byte array to be sent over the wire.
ReadOnlySpan< byte > SecurityControlBlock ()
 Retrieves the security control block for a specific command data type.
virtual void CustomMessageUpdate (Span< byte > messageBuffer)
 Updates the message data before sending in the specified byte buffer.

Properties

override byte Code [get]
byte Address [get]
 Gets the address.
int BaudRate [get]
 Gets the baud rate.
Properties inherited from OSDP.Net.Model.PayloadData
byte Code [get]
 Gets the command or reply code byte value that represent the type of data.
virtual bool IsSecurityInitialization [get]
 Gets a value indicating whether the security initialization is performed by this payload.

Detailed Description

The actual communication configuration of the PD sent as a reply.

Definition at line 12 of file CommunicationConfiguration.cs.

Constructor & Destructor Documentation

◆ CommunicationConfiguration()

OSDP.Net.Model.ReplyData.CommunicationConfiguration.CommunicationConfiguration ( byte address,
int baudRate )
inline

Initializes a new instance of CommunicationConfiguration class.

Parameters
address
baudRate

Definition at line 19 of file CommunicationConfiguration.cs.

References Address, and BaudRate.

Referenced by SecurityControlBlock().

Member Function Documentation

◆ ToString()

override string OSDP.Net.Model.ReplyData.CommunicationConfiguration.ToString ( )
inline

Definition at line 61 of file CommunicationConfiguration.cs.

Property Documentation

◆ Address

byte OSDP.Net.Model.ReplyData.CommunicationConfiguration.Address
get

Gets the address.

Definition at line 31 of file CommunicationConfiguration.cs.

Referenced by BuildData(), and CommunicationConfiguration().

◆ BaudRate

int OSDP.Net.Model.ReplyData.CommunicationConfiguration.BaudRate
get

Gets the baud rate.

Definition at line 36 of file CommunicationConfiguration.cs.

Referenced by BuildData(), and CommunicationConfiguration().

◆ Code

override byte OSDP.Net.Model.ReplyData.CommunicationConfiguration.Code
get

Definition at line 26 of file CommunicationConfiguration.cs.


The documentation for this class was generated from the following file: