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
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: Copy> Copy for Status<V>
[src]
impl<V: Copy> Copy for Status<V>
impl<V: Clone> Clone for Status<V>
[src]
impl<V: Clone> Clone for Status<V>
fn clone(&self) -> Status<V>
[src]
fn clone(&self) -> Status<V>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl<V: Debug> Debug for Status<V>
[src]
impl<V: Debug> Debug for Status<V>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<V: PartialEq> PartialEq for Status<V>
[src]
impl<V: PartialEq> PartialEq for Status<V>
fn eq(&self, other: &Status<V>) -> bool
[src]
fn eq(&self, other: &Status<V>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Status<V>) -> bool
[src]
fn ne(&self, other: &Status<V>) -> bool
This method tests for !=
.
impl<V> TryFrom<u8> for Status<V> where
V: TryFrom<u8>,
[src]
impl<V> TryFrom<u8> for Status<V> where
V: TryFrom<u8>,
type Error = V::Error
try_from
)The type returned in the event of a conversion error.
fn try_from(value: u8) -> Result<Status<V>, Self::Error>
[src]
fn try_from(value: u8) -> Result<Status<V>, Self::Error>
try_from
)Performs the conversion.
impl<V> Into<u8> for Status<V> where
V: Into<u8>,
[src]
impl<V> Into<u8> for Status<V> where
V: Into<u8>,