Table of Contents

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 = 1

The device is busy establishing a connection with the host device.

BusyDataTransfer = 4

The device is busy with a data transfer to the host device.

BusyDiscovering = 2

The device is busy; a connection has been opened but services are being discovered.

BusyRunningCommand = 5

The device is busy executing a command.

BusySubscribing = 3

The device is busy; a connection has been opened but characteristic notification / subscriptions are pending.

Disconnected = 0

The device is disconnected.

Idle = 6

The device is idle and ready to receive commands. This is the only state where commands can be successfully executed.