Enum DeviceState
- Namespace
- NixUniversalSDK
- Assembly
- NixUniversalSDK.dll
Enum describing the possible states of the IDeviceCompat. See DeviceStateExtensions for extension methods.
public enum DeviceState
- Extension Methods
Fields
BusyConnecting = 1The device is busy establishing a connection with the host device.
BusyDataTransfer = 4The device is busy with a data transfer to the host device.
BusyDiscovering = 2The device is busy; a connection has been opened but services are being discovered.
BusyRunningCommand = 5The device is busy executing a command.
BusySubscribing = 3The device is busy; a connection has been opened but characteristic notification / subscriptions are pending.
Disconnected = 0The device is disconnected.
Idle = 6The device is idle and ready to receive commands. This is the only state where commands can be successfully executed.