VLDBluetoothErrorCode

Objective-C

enum VLDBluetoothErrorCode {}

Swift

enum VLDBluetoothErrorCode : UInt

Possible error codes that can be returned to the VLDBluetoothPeripheralControllerDelegate

  • Indicates an error occurred in the Bluetooth communication stack

    Declaration

    Objective-C

    VLDBluetoothErrorCodeCommunicationFailure

    Swift

    case communicationFailure = 0
  • Indicates that a connection was unable to be established or was lost

    Declaration

    Objective-C

    VLDBluetoothErrorCodeConnectionFailure

    Swift

    case connectionFailure = 1
  • Indicates that the peripheral was not paired

    Declaration

    Objective-C

    VLDBluetoothErrorCodePairingFailure

    Swift

    case pairingFailure = 2
  • Indicates that Bluetooth is turned off or not available

    Declaration

    Objective-C

    VLDBluetoothErrorCodeBluetoothTurnedOff

    Swift

    case bluetoothTurnedOff = 3
  • Indicates that no valid reading was received

    Declaration

    Objective-C

    VLDBluetoothErrorCodeNoReading

    Swift

    case noReading = 4
  • Indicates that there is no user set in the shared session instance

    Declaration

    Objective-C

    VLDBluetoothErrorCodeNoUser

    Swift

    case noUser = 5
  • Indicates that a timeout occurred while attempting to connect to the peripheral

    Declaration

    Objective-C

    VLDBluetoothErrorCodeConnectionTimeout

    Swift

    case connectionTimeout = 6
  • Indicates that a timeout occurred while attempting to read from the peripheral

    Declaration

    Objective-C

    VLDBluetoothErrorCodeReadingTimeout

    Swift

    case readingTimeout = 7