TagConnectionError

public enum TagConnectionError : Error

The errors which can be raised when connecting to a tag.

  • An error occurred within the SDK code itself.

    Please raise a bug if you encounter this error.

    Declaration

    Swift

    case internalError
  • A bad response was read over Bluetooth.

    This error will normally cause an automatic retry. Please raise a bug if you encounter this error.

    Declaration

    Swift

    case malformedResponseError
  • An unexpected CoreBluetooth response was received, but no error was present.

    Declaration

    Swift

    case unknownCoreBluetoothError
  • A CoreBluetooth error was encountered during connection or service/characteristic discovery.

    Declaration

    Swift

    case bluetoothConnectionError(Error)
  • CoreBluetooth reported a notification error.

    This error will normally cause an automatic retry. Please raise a bug if you encounter this error.

    Declaration

    Swift

    case bluetoothNotificationUpdateError(Error)
  • An error was encountered attempting to discover the Bluetooth services.

    Declaration

    Swift

    case serviceDiscoveryError
  • An error was encountered attempting to discover the Bluetooth characteristics.

    Declaration

    Swift

    case characteristicDiscoveryError
  • An error was encountered when initializing the Jacquard tag and protocol.

    Declaration

    Swift

    case jacquardInitializationError(Error)
  • The bluetooth peripheral could not be found by Core Bluetooth.

    Declaration

    Swift

    case bluetoothDeviceNotFound
  • An unexpected type of tag was passed into connect(_tag:).

    Declaration

    Swift

    case unconnectableTag
  • When Bluetooth state update to power off.

    Declaration

    Swift

    case bluetoothPowerOff
  • An error was encountered when pairing and discovering with tag is not happen within 60 secs.

    Declaration

    Swift

    case connectionTimeout
  • When pairing information is not present on the tag(i.e. when the paired tag is factory reset). In this case, the tag must be forgotten from device BT settings and then should be paired afresh once again.

    Declaration

    Swift

    case peerRemovedPairingInfo