pub enum Status {
Show 70 variants
Success,
UnknownCommand,
UnknownConnectionId,
HardwareFailure,
PageTimeout,
AuthFailure,
PinOrKeyMissing,
OutOfMemory,
ConnectionTimeout,
ConnectionLimitExceeeded,
SyncConnectionLimitExceeded,
ConnectionAlreadyExists,
CommandDisallowed,
LimitedResources,
ConnectionRejectedSecurity,
UnacceptableBdAddr,
AcceptTimeoutExceeded,
UnsupportedFeature,
InvalidParameters,
RemoteTerminationByUser,
RemoteTerminationLowResources,
RemoteTerminationPowerOff,
ConnectionTerminatedByHost,
RepeatedAttempts,
PairingNotAllowed,
UnknownLmpPdu,
UnsupportedRemoteFeature,
ScoOffsetRejected,
ScoIntervalRejected,
ScoAirModeRejected,
InvalidLmpParameters,
UnspecifiedError,
UnsupportedLmpParameterValue,
RoleChangeNotAllowed,
LmpResponseTimeout,
LmpTransactionCollision,
LmpPduNotAllowed,
EncryptionModeNotAcceptable,
LinkKeyCannotBeChanged,
RequestedQosNotSupported,
InstantPassed,
PairingWithUnitKeyNotSupported,
DifferentTransactionCollision,
ReservedforFutureUse,
QosUnacceptableParameter,
QosRejected,
ChannelClassificationNotSupported,
InsufficientSecurity,
ParameterOutOfMandatoryRange,
ReservedForFutureUse49,
RoleSwitchPending,
ReservedForFutureUse51,
ReservedSlotViolation,
RoleSwitchFailed,
ExtendedInquiryResponseTooLarge,
SecureSimplePairingNotSupportedByHost,
HostBusyPairing,
ConnectionRejectedNoSuitableChannel,
ControllerBusy,
UnacceptableConnectionParameters,
AdvertisingTimeout,
ConnectionTerminatedMicFailure,
ConnectionFailedToEstablish,
MacConnectionFailed,
CoarseClockAdjustmentRejectedDraggingAttempted,
Type0SubmapNotDefined,
UnknownAdvertisingId,
LimitReached,
OperationCancelledByHost,
Vendor(VendorStatus),
}
Expand description
List of possible error codes, Bluetooth Spec, Vol 2, Part D, Section 2.
Includes an extension point for vendor-specific status codes.
Variants§
Success
Success
UnknownCommand
Unknown HCI Command
UnknownConnectionId
Unknown Connection Identifier
HardwareFailure
Hardware Failure
PageTimeout
Page Timeout
AuthFailure
Authentication Failure
PinOrKeyMissing
PIN or Key Missing
OutOfMemory
Memory Capacity Exceeded
ConnectionTimeout
Connection Timeout
ConnectionLimitExceeeded
Connection Limit Exceeded
SyncConnectionLimitExceeded
Synchronous Connection Limit To A Device Exceeded
ConnectionAlreadyExists
Connection Already Exists
CommandDisallowed
Command Disallowed
LimitedResources
Connection Rejected due to Limited Resources
ConnectionRejectedSecurity
Connection Rejected Due To Security Reasons
UnacceptableBdAddr
Connection Rejected due to Unacceptable BD_ADDR
AcceptTimeoutExceeded
Connection Accept Timeout Exceeded
UnsupportedFeature
Unsupported Feature or Parameter Value
InvalidParameters
Invalid HCI Command Parameters
RemoteTerminationByUser
Remote User Terminated Connection
RemoteTerminationLowResources
Remote Device Terminated Connection due to Low Resources
RemoteTerminationPowerOff
Remote Device Terminated Connection due to Power Off
ConnectionTerminatedByHost
Connection Terminated By Local Host
RepeatedAttempts
Repeated Attempts
PairingNotAllowed
Pairing Not Allowed
UnknownLmpPdu
Unknown LMP PDU
UnsupportedRemoteFeature
Unsupported Remote Feature / Unsupported LMP Feature
ScoOffsetRejected
SCO Offset Rejected
ScoIntervalRejected
SCO Interval Rejected
ScoAirModeRejected
SCO Air Mode Rejected
InvalidLmpParameters
Invalid LMP Parameters / Invalid LL Parameters
UnspecifiedError
Unspecified Error
UnsupportedLmpParameterValue
Unsupported LMP Parameter Value / Unsupported LL Parameter Value
RoleChangeNotAllowed
Role Change Not Allowed
LmpResponseTimeout
LMP Response Timeout / LL Response Timeout
LmpTransactionCollision
LMP Error Transaction Collision / LL Procedure Collision
LmpPduNotAllowed
LMP PDU Not Allowed
EncryptionModeNotAcceptable
Encryption Mode Not Acceptable
LinkKeyCannotBeChanged
Link Key cannot be Changed
RequestedQosNotSupported
Requested QoS Not Supported
InstantPassed
Instant Passed
PairingWithUnitKeyNotSupported
Pairing With Unit Key Not Supported
DifferentTransactionCollision
Different Transaction Collision
ReservedforFutureUse
Reserved for Future Use
QosUnacceptableParameter
QoS Unacceptable Parameter
QosRejected
QoS Rejected
ChannelClassificationNotSupported
Channel Classification Not Supported
InsufficientSecurity
Insufficient Security
ParameterOutOfMandatoryRange
Parameter Out Of Mandatory Range
ReservedForFutureUse49
Reserved for Future Use
RoleSwitchPending
Role Switch Pending
ReservedForFutureUse51
Reserved for Future Use
ReservedSlotViolation
Reserved Slot Violation
RoleSwitchFailed
Role Switch Failed
ExtendedInquiryResponseTooLarge
Extended Inquiry Response Too Large
SecureSimplePairingNotSupportedByHost
Secure Simple Pairing Not Supported By Host
HostBusyPairing
Host Busy - Pairing
ConnectionRejectedNoSuitableChannel
Connection Rejected due to No Suitable Channel Found
ControllerBusy
Controller Busy
UnacceptableConnectionParameters
Unacceptable Connection Parameters
AdvertisingTimeout
Advertising Timeout
ConnectionTerminatedMicFailure
Connection Terminated due to MIC Failure
ConnectionFailedToEstablish
Connection Failed to be Established
MacConnectionFailed
MAC Connection Failed
CoarseClockAdjustmentRejectedDraggingAttempted
Coarse Clock Adjustment Rejected but Will Try to Adjust Using Clock Dragging
Type0SubmapNotDefined
Type0 Submap Not Defined
First introduced in version 5.0
UnknownAdvertisingId
Unknown Advertising Identifier
First introduced in version 5.0
LimitReached
Limit Reached
First introduced in version 5.0
OperationCancelledByHost
Operation Cancelled by Host
First introduced in version 5.0
Vendor(VendorStatus)
Vendor-specific status code