OSDP.Net 5.2.1
A .NET library for implementing the Open Supervised Device Protocol (OSDP)
Loading...
Searching...
No Matches
DeviceCapabilities.cs
1using System;
4
6
11{
13 public override CommandType CommandType => CommandType.DeviceCapabilities;
14
16 public override byte Code => (byte)CommandType;
17
19 public override ReadOnlySpan<byte> SecurityControlBlock() => SecurityBlock.CommandMessageWithDataSecurity;
20
22 public override byte[] BuildData()
23 {
24 return [0x00];
25 }
26}
Contains standard Security Control Block data that can be used when building messages.
Base class representing a payload of a PD command message.
Represents the capabilities of a device within the context of OSDP (Open Supervised Device Protocol).
override ReadOnlySpan< byte > SecurityControlBlock()