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