|
OSDP.Net 5.2.1
A .NET library for implementing the Open Supervised Device Protocol (OSDP)
|
Contains the results of the device discovery. More...
Public Member Functions | |
| override string | ToString () |
Properties | |
| DiscoveryStatus | Status [get, set] |
| Determines current state of the device discovery. | |
| IOsdpConnection | Connection [get, set] |
| When Status is DiscoveryStatus.LookingForDeviceOnConnection this property identifies connection being tested even if ultimately no device will be discovered on it. | |
| byte | Address [get, set] |
| When Status is DiscoveryStatus.LookingForDeviceAtAddress, this property identifies the address being polled to see if there is an available device. | |
| DeviceIdentification | Id [get, set] |
| After status DiscoveryStatus.DeviceIdentified, this property will contain the identification report from the device. | |
| DeviceCapabilities | Capabilities [get, set] |
| After status DiscoveryStatus.CapabilitiesDiscovered, this property will contain the capabilities report from the device. | |
| bool | UsesDefaultSecurityKey [get, set] |
| A flag that indicates whether or not discovered device responds to the default security key The security key will only be tested if a) PD returns a "Communication Security" capability and b) that capability indicates that it supports AES128. | |
| Exception | Error [get, set] |
| When status is set to DiscoveryStatus.Error or DiscoveryStatus.Cancelled this property will be set to the exception instance that terminated the device discovery. | |
Contains the results of the device discovery.
When DiscoveryOptions.ProgressCallback is used, this instance will get incrementally filled in based on current value of the Status field
Definition at line 169 of file DeviceDiscover.cs.
|
inline |
Definition at line 218 of file DeviceDiscover.cs.
References Capabilities, Id, and ToString().
Referenced by ToString().
|
getset |
When Status is DiscoveryStatus.LookingForDeviceAtAddress, this property identifies the address being polled to see if there is an available device.
After DiscoveryStatus.DeviceIdentified status, this property identifies the address where a device was found
Definition at line 190 of file DeviceDiscover.cs.
Referenced by OSDP.Net.ControlPanel.DiscoverDevice().
|
getset |
After status DiscoveryStatus.CapabilitiesDiscovered, this property will contain the capabilities report from the device.
Definition at line 202 of file DeviceDiscover.cs.
Referenced by ToString().
|
getset |
When Status is DiscoveryStatus.LookingForDeviceOnConnection this property identifies connection being tested even if ultimately no device will be discovered on it.
After DiscoveryStatus.ConnectionWithDeviceFound status, this property identifies connection with a valid device
Definition at line 182 of file DeviceDiscover.cs.
Referenced by OSDP.Net.ControlPanel.DiscoverDevice().
|
getset |
When status is set to DiscoveryStatus.Error or DiscoveryStatus.Cancelled this property will be set to the exception instance that terminated the device discovery.
Definition at line 215 of file DeviceDiscover.cs.
|
getset |
After status DiscoveryStatus.DeviceIdentified, this property will contain the identification report from the device.
Definition at line 196 of file DeviceDiscover.cs.
Referenced by ToString().
|
getset |
Determines current state of the device discovery.
Definition at line 174 of file DeviceDiscover.cs.
|
getset |
A flag that indicates whether or not discovered device responds to the default security key The security key will only be tested if a) PD returns a "Communication Security" capability and b) that capability indicates that it supports AES128.
Otherwise, this value will remain false.
Definition at line 209 of file DeviceDiscover.cs.