Enum bluetooth_hci::Status[][src]

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

Unknown HCI Command

Unknown Connection Identifier

Hardware Failure

Page Timeout

Authentication Failure

PIN or Key Missing

Memory Capacity Exceeded

Connection Timeout

Connection Limit Exceeded

Synchronous Connection Limit To A Device Exceeded

Connection Already Exists

Command Disallowed

Connection Rejected due to Limited Resources

Connection Rejected Due To Security Reasons

Connection Rejected due to Unacceptable BD_ADDR

Connection Accept Timeout Exceeded

Unsupported Feature or Parameter Value

Invalid HCI Command Parameters

Remote User Terminated Connection

Remote Device Terminated Connection due to Low Resources

Remote Device Terminated Connection due to Power Off

Connection Terminated By Local Host

Repeated Attempts

Pairing Not Allowed

Unknown LMP PDU

Unsupported Remote Feature / Unsupported LMP Feature

SCO Offset Rejected

SCO Interval Rejected

SCO Air Mode Rejected

Invalid LMP Parameters / Invalid LL Parameters

Unspecified Error

Unsupported LMP Parameter Value / Unsupported LL Parameter Value

Role Change Not Allowed

LMP Response Timeout / LL Response Timeout

LMP Error Transaction Collision / LL Procedure Collision

LMP PDU Not Allowed

Encryption Mode Not Acceptable

Link Key cannot be Changed

Requested QoS Not Supported

Instant Passed

Pairing With Unit Key Not Supported

Different Transaction Collision

Reserved for Future Use

QoS Unacceptable Parameter

QoS Rejected

Channel Classification Not Supported

Insufficient Security

Parameter Out Of Mandatory Range

Reserved for Future Use

Role Switch Pending

Reserved for Future Use

Reserved Slot Violation

Role Switch Failed

Extended Inquiry Response Too Large

Secure Simple Pairing Not Supported By Host

Host Busy - Pairing

Connection Rejected due to No Suitable Channel Found

Controller Busy

Unacceptable Connection Parameters

Advertising Timeout

Connection Terminated due to MIC Failure

Connection Failed to be Established

MAC Connection Failed

Coarse Clock Adjustment Rejected but Will Try to Adjust Using Clock Dragging

Vendor-specific status code

Trait Implementations

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

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Formats the value using the given formatter. Read more

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

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

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

Performs the conversion.

Auto Trait Implementations

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

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