[][src]Enum bluetooth_hci::Status

pub enum Status<V> {
    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,
    Vendor(V),
}

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

Vendor(V)

Vendor-specific status code

Trait Implementations

impl<V: Clone> Clone for Status<V>[src]

impl<V: Copy> Copy for Status<V>[src]

impl<V: Debug> Debug for Status<V>[src]

impl<V> Into<u8> for Status<V> where
    V: Into<u8>, 
[src]

impl<V: PartialEq> PartialEq<Status<V>> for Status<V>[src]

impl<V> StructuralPartialEq for Status<V>[src]

impl<V> TryFrom<u8> for Status<V> where
    V: TryFrom<u8>, 
[src]

type Error = V::Error

The type returned in the event of a conversion error.

Auto Trait Implementations

impl<V> Send for Status<V> where
    V: Send

impl<V> Sync for Status<V> where
    V: Sync

impl<V> Unpin for Status<V> where
    V: Unpin

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.