Enum bluenrg::event::AttError [−][src]
#[repr(u8)]pub enum AttError { InvalidHandle, ReadNotPermitted, WriteNotPermitted, InvalidPdu, InsufficientAuthentication, RequestNotSupported, InvalidOffset, InsufficientAuthorization, PrepareQueueFull, AttributeNotFound, AttributeNotLong, InsufficientEncryptionKeySize, InvalidAttributeValueLength, UnlikelyError, InsufficientEncryption, UnsupportedGroupType, InsufficientResources, ApplicationError0x80, ApplicationError0x81, ApplicationError0x82, ApplicationError0x83, ApplicationError0x84, ApplicationError0x85, ApplicationError0x86, ApplicationError0x87, ApplicationError0x88, ApplicationError0x89, ApplicationError0x8A, ApplicationError0x8B, ApplicationError0x8C, ApplicationError0x8D, ApplicationError0x8E, ApplicationError0x8F, ApplicationError0x90, ApplicationError0x91, ApplicationError0x92, ApplicationError0x93, ApplicationError0x94, ApplicationError0x95, ApplicationError0x96, ApplicationError0x97, ApplicationError0x98, ApplicationError0x99, ApplicationError0x9A, ApplicationError0x9B, ApplicationError0x9C, ApplicationError0x9D, ApplicationError0x9E, ApplicationError0x9F, WriteRequestRejected, ClientCharacteristicConfigurationDescriptorImproperlyConfigured, ProcedureAlreadyInProgress, OutOfRange, }
Potential error codes for the ATT Error Response. See Table 3.3 in the Bluetooth Core Specification, v4.1, Vol 3, PartF, Section 3.4.1.1 and The Bluetooth Core Specification Supplement, Table 1.1.
Variants
InvalidHandle
The attribute handle given was not valid on this server.
ReadNotPermitted
The attribute cannot be read.
WriteNotPermitted
The attribute cannot be written.
InvalidPdu
The attribute PDU was invalid.
InsufficientAuthentication
The attribute requires authentication before it can be read or written.
RequestNotSupported
Attribute server does not support the request received from the client.
InvalidOffset
Offset specified was past the end of the attribute.
InsufficientAuthorization
The attribute requires authorization before it can be read or written.
PrepareQueueFull
Too many prepare writes have been queued.
AttributeNotFound
No attribute found within the given attribute handle range.
AttributeNotLong
The attribute cannot be read or written using the Read Blob Request.
InsufficientEncryptionKeySize
The Encryption Key Size used for encrypting this link is insufficient.
InvalidAttributeValueLength
The attribute value length is invalid for the operation.
UnlikelyError
The attribute request that was requested has encountered an error that was unlikely, and therefore could not be completed as requested.
InsufficientEncryption
The attribute requires encryption before it can be read or written.
UnsupportedGroupType
The attribute type is not a supported grouping attribute as defined by a higher layer specification.
InsufficientResources
Insufficient Resources to complete the request.
ApplicationError0x80
Application error code defined by a higher layer specification.
ApplicationError0x81
Application error code defined by a higher layer specification.
ApplicationError0x82
Application error code defined by a higher layer specification.
ApplicationError0x83
Application error code defined by a higher layer specification.
ApplicationError0x84
Application error code defined by a higher layer specification.
ApplicationError0x85
Application error code defined by a higher layer specification.
ApplicationError0x86
Application error code defined by a higher layer specification.
ApplicationError0x87
Application error code defined by a higher layer specification.
ApplicationError0x88
Application error code defined by a higher layer specification.
ApplicationError0x89
Application error code defined by a higher layer specification.
ApplicationError0x8A
Application error code defined by a higher layer specification.
ApplicationError0x8B
Application error code defined by a higher layer specification.
ApplicationError0x8C
Application error code defined by a higher layer specification.
ApplicationError0x8D
Application error code defined by a higher layer specification.
ApplicationError0x8E
Application error code defined by a higher layer specification.
ApplicationError0x8F
Application error code defined by a higher layer specification.
ApplicationError0x90
Application error code defined by a higher layer specification.
ApplicationError0x91
Application error code defined by a higher layer specification.
ApplicationError0x92
Application error code defined by a higher layer specification.
ApplicationError0x93
Application error code defined by a higher layer specification.
ApplicationError0x94
Application error code defined by a higher layer specification.
ApplicationError0x95
Application error code defined by a higher layer specification.
ApplicationError0x96
Application error code defined by a higher layer specification.
ApplicationError0x97
Application error code defined by a higher layer specification.
ApplicationError0x98
Application error code defined by a higher layer specification.
ApplicationError0x99
Application error code defined by a higher layer specification.
ApplicationError0x9A
Application error code defined by a higher layer specification.
ApplicationError0x9B
Application error code defined by a higher layer specification.
ApplicationError0x9C
Application error code defined by a higher layer specification.
ApplicationError0x9D
Application error code defined by a higher layer specification.
ApplicationError0x9E
Application error code defined by a higher layer specification.
ApplicationError0x9F
Application error code defined by a higher layer specification.
WriteRequestRejected
The requested write operation cannot be fulfilled for reasons other than permissions.
ClientCharacteristicConfigurationDescriptorImproperlyConfigured
A Client Characteristic Configuration descriptor is not configured according to the requirements of the profile or service.
ProcedureAlreadyInProgress
A profile or service request cannot be serviced because an operation that has been previously triggered is still in progress.
OutOfRange
An attribute value is out of range as defined by a profile or service specification.
Trait Implementations
impl Copy for AttError
[src]
impl Copy for AttError
impl Clone for AttError
[src]
impl Clone for AttError
fn clone(&self) -> AttError
[src]
fn clone(&self) -> AttError
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 Debug for AttError
[src]
impl Debug for AttError
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 PartialEq for AttError
[src]
impl PartialEq for AttError
fn eq(&self, other: &AttError) -> bool
[src]
fn eq(&self, other: &AttError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl TryFrom<u8> for AttError
[src]
impl TryFrom<u8> for AttError