|
OSDP.Net 5.2.1
A .NET library for implementing the Open Supervised Device Protocol (OSDP)
|
Represents a set of configuration options to be used when initializing a new instance of the Device class. More...
Public Member Functions | |
| DeviceConfiguration (ClientIdentification identification) | |
| Creates a new DeviceConfiguration with the required client identification. | |
| DeviceConfiguration | Clone () |
| Creates a new object that is a copy of the current instance. | |
Properties | |
| byte | Address [get, set] |
| Address the device is assigned. | |
| bool | RequireSecurity = true [get, set] |
| Indicates whether the device will require an establishment of a secure channel. | |
| byte[] | SecurityKey = SecurityContext.DefaultKey [get, set] |
| Security Key if one was previously set via osdp_KeySet command or some other out-of-band means. | |
| CommandType[] | AllowUnsecured [get, set] |
| List of commands the PD will allow to be sent unsecured when a device is operating in "Full Security" mode as defined by the OSDP spec. | |
| ClientIdentification | Identification [get] |
| Client identification (cUID) used during secure channel establishment. | |
Represents a set of configuration options to be used when initializing a new instance of the Device class.
|
inline |
Creates a new DeviceConfiguration with the required client identification.
| identification | Client identification used during secure channel establishment |
Definition at line 628 of file Device.cs.
References Identification.
Referenced by Clone().
|
getset |
|
getset |
List of commands the PD will allow to be sent unsecured when a device is operating in "Full Security" mode as defined by the OSDP spec.
NOTE: per the OSDP committee's decision, by default, this list will include IdReport, DeviceCapabilities and CommSet commands, but a PD manufacturer can use this property to override that default
|
get |
Client identification (cUID) used during secure channel establishment.
Composed of vendor code (3 bytes) and serial number (4 bytes). This is required for OSDP secure channel compliance. See OSDP specification for osdp_CCRYPT response format.
Definition at line 669 of file Device.cs.
Referenced by DeviceConfiguration().
|
getset |
Indicates whether the device will require an establishment of a secure channel.
When this value is 'true', PD will be initialized with SCBK (non-default SecurityKey) in full-security mode; or with SCBK_D in "installation mode" if SecurityKey is not set to a non-default installation value.
|
getset |