|
OSDP.Net 5.2.1
A .NET library for implementing the Open Supervised Device Protocol (OSDP)
|
The PD device capabilities data sent as a reply. More...
Public Member Functions | |
| DeviceCapabilities () | |
| Creates a new instance of DeviceCapabilities. | |
| DeviceCapabilities (IEnumerable< DeviceCapability > capabilities) | |
| Initializes a new instance of DeviceCapabilities class. | |
| override ReadOnlySpan< byte > | SecurityControlBlock () |
| DeviceCapability | Get (CapabilityFunction funcCode) |
| Gets a specific PD capability. | |
| T | Get< T > (CapabilityFunction funcCode) |
| override string | ToString () |
| override byte[] | BuildData () |
| 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 | |
| IEnumerable< DeviceCapability > | Capabilities [get] |
| Gets the all the PD's device capabilities. | |
| override byte | Code [get] |
| 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. | |
The PD device capabilities data sent as a reply.
Definition at line 13 of file DeviceCapabilities.cs.
|
inline |
Creates a new instance of DeviceCapabilities.
Definition at line 18 of file DeviceCapabilities.cs.
Referenced by Get< T >().
|
inline |
Initializes a new instance of DeviceCapabilities class.
| capabilities | List of DeviceCapability instances |
Definition at line 26 of file DeviceCapabilities.cs.
References Capabilities.
|
inline |
Definition at line 100 of file DeviceCapabilities.cs.
References Capabilities.
| DeviceCapability OSDP.Net.Model.ReplyData.DeviceCapabilities.Get | ( | CapabilityFunction | funcCode | ) |
Gets a specific PD capability.
| funcCode | Function code of the capability to get |
References Capabilities.
| T OSDP.Net.Model.ReplyData.DeviceCapabilities.Get< T > | ( | CapabilityFunction | funcCode | ) |
Strongly timed version of the more generic Get method
| T | : | DeviceCapability |
References Capabilities, and DeviceCapabilities().
|
inline |
Definition at line 40 of file DeviceCapabilities.cs.
|
inline |
Definition at line 88 of file DeviceCapabilities.cs.
References Capabilities.
|
get |
Gets the all the PD's device capabilities.
Definition at line 34 of file DeviceCapabilities.cs.
Referenced by BuildData(), DeviceCapabilities(), Get(), Get< T >(), and ToString().
|
get |
Definition at line 37 of file DeviceCapabilities.cs.