Struct bluetooth_hci::event::command::LmpFeatures[]

pub struct LmpFeatures { /* fields omitted */ }

See the Bluetooth Specification, v4.1 or later, Vol 2, Part C, Section 3.3 (Table 3.2).

Methods

impl LmpFeatures

THREE_SLOT_PACKETS: LmpFeatures = LmpFeatures{bits: 1 << 0,}

3-slot packets

FIVE_SLOT_PACKETS: LmpFeatures = LmpFeatures{bits: 1 << 1,}

5-slot packets

ENCRYPTION: LmpFeatures = LmpFeatures{bits: 1 << 2,}

Encryption

SLOT_OFFSET: LmpFeatures = LmpFeatures{bits: 1 << 3,}

Slot offset

TIMING_ACCURACY: LmpFeatures = LmpFeatures{bits: 1 << 4,}

Timing accuracy

ROLE_SWITCH: LmpFeatures = LmpFeatures{bits: 1 << 5,}

Role switch

HOLD_MODE: LmpFeatures = LmpFeatures{bits: 1 << 6,}

Hold mode

SNIFF_MODE: LmpFeatures = LmpFeatures{bits: 1 << 7,}

Sniff mode

POWER_CONTROL_REQUESTS: LmpFeatures = LmpFeatures{bits: 1 << 9,}

Power control requests

CHANNEL_QUALITY_DRIVEN_DATA_RATE_CQDDR: LmpFeatures = LmpFeatures{bits: 1 << 10,}

Channel quality driven data rate (CQDDR)

SCO_LINK: LmpFeatures = LmpFeatures{bits: 1 << 11,}

SCO link

HV2_PACKETS: LmpFeatures = LmpFeatures{bits: 1 << 12,}

HV2 packets

HV3_PACKETS: LmpFeatures = LmpFeatures{bits: 1 << 13,}

HV3 packets

MU_LAW_LOG_SYNCHRONOUS_DATA: LmpFeatures = LmpFeatures{bits: 1 << 14,}

μ-law log synchronous data

A_LAW_LOG_SYNCHRONOUS_DATA: LmpFeatures = LmpFeatures{bits: 1 << 15,}

A-law log synchronous data

CVSD_SYNCHRONOUS_DATA: LmpFeatures = LmpFeatures{bits: 1 << 16,}

CVSD synchronous data

PAGING_PARAMETER_NEGOTIATION: LmpFeatures = LmpFeatures{bits: 1 << 17,}

Paging parameter negotiation

POWER_CONTROL: LmpFeatures = LmpFeatures{bits: 1 << 18,}

Power control

TRANSPARENT_SYNCHRONOUS_DATA: LmpFeatures = LmpFeatures{bits: 1 << 19,}

Transparent synchronous data

FLOW_CONTROL_LAG_LSB: LmpFeatures = LmpFeatures{bits: 1 << 20,}

Flow control lag (least significant bit)

FLOW_CONTROL_LAG_MID: LmpFeatures = LmpFeatures{bits: 1 << 21,}

Flow control lag (middle bit)

FLOW_CONTROL_LAG_MSB: LmpFeatures = LmpFeatures{bits: 1 << 22,}

Flow control lag (most significant bit)

BROADCAST_ENCRYPTION: LmpFeatures = LmpFeatures{bits: 1 << 23,}

Broadcast Encryption

ENHANCED_DATA_RATE_ACL_2_MB_PER_S_MODE: LmpFeatures = LmpFeatures{bits: 1 << 25,}

Enhanced Data Rate ACL 2 Mb/s mode

ENHANCED_DATA_RATE_ACL_3_MB_PER_S_MODE: LmpFeatures = LmpFeatures{bits: 1 << 26,}

Enhanced Data Rate ACL 3 Mb/s mode

ENHANCED_INQUIRY_SCAN: LmpFeatures = LmpFeatures{bits: 1 << 27,}

Enhanced inquiry scan

INTERLACED_INQUIRY_SCAN: LmpFeatures = LmpFeatures{bits: 1 << 28,}

Interlaced inquiry scan

INTERLACED_PAGE_SCAN: LmpFeatures = LmpFeatures{bits: 1 << 29,}

Interlaced page scan

RSSI_WITH_INQUIRY_RESULTS: LmpFeatures = LmpFeatures{bits: 1 << 30,}

RSSI with inquiry results

EXTENDED_SCO_LINK_EV3_PACKETS: LmpFeatures = LmpFeatures{bits: 1 << 31,}

Extended SCO link (EV3 packets)

EV4_PACKETS: LmpFeatures = LmpFeatures{bits: 1 << 32,}

EV4 packets

EV5_PACKETS: LmpFeatures = LmpFeatures{bits: 1 << 33,}

EV5 packets

AFH_CAPABLE_PERIPHERAL: LmpFeatures = LmpFeatures{bits: 1 << 35,}

AFH capable peripheral

AFH_CLASSIFICATION_PERIPHERAL: LmpFeatures = LmpFeatures{bits: 1 << 36,}

AFH classification peripheral

BR_EDR_NOT_SUPPORTED: LmpFeatures = LmpFeatures{bits: 1 << 37,}

BR/EDR Not Supported

LE_SUPPORTED_BY_CONTROLLER: LmpFeatures = LmpFeatures{bits: 1 << 38,}

LE Supported (Controller)

THREE_SLOT_ENHANCED_DATA_RATE_ACL_PACKETS: LmpFeatures = LmpFeatures{bits: 1 << 39,}

3-slot Enhanced Data Rate ACL packets

FIVE_SLOT_ENHANCED_DATA_RATE_ACL_PACKETS: LmpFeatures = LmpFeatures{bits: 1 << 40,}

5-slot Enhanced Data Rate ACL packets

SNIFF_SUBRATING: LmpFeatures = LmpFeatures{bits: 1 << 41,}

Sniff subrating

PAUSE_ENCRYPTION: LmpFeatures = LmpFeatures{bits: 1 << 42,}

Pause encryption

AFH_CAPABLE_CENTRAL_DEVICE: LmpFeatures = LmpFeatures{bits: 1 << 43,}

AFH capable central device

AFH_CLASSIFICATION_CENTRAL_DEVICE: LmpFeatures = LmpFeatures{bits: 1 << 44,}

AFH classification central device

ENHANCED_DATA_RATE_ESCO_2_MB_PER_S_MODE: LmpFeatures = LmpFeatures{bits: 1 << 45,}

Enhanced Data Rate eSCO 2 Mb/s mode

ENHANCED_DATA_RATE_ESCO_3_MB_PER_S_MODE: LmpFeatures = LmpFeatures{bits: 1 << 46,}

Enhanced Data Rate eSCO 3 Mb/s mode

THREE_SLOT_ENHANCED_DATA_RATE_ESCO_PACKETS: LmpFeatures = LmpFeatures{bits: 1 << 47,}

3-slot Enhanced Data Rate eSCO packets

EXTENDED_INQUIRY_RESPONSE: LmpFeatures = LmpFeatures{bits: 1 << 48,}

Extended Inquiry Response

SIMULTANEOUS_LE_AND_BR_EDR_TO_SAME_DEVICE_CAPABLE: LmpFeatures = LmpFeatures{bits: 1 << 49,}

Simultaneous LE and BR/EDR to Same Device Capable (Controller)

SECURE_SIMPLE_PAIRING: LmpFeatures = LmpFeatures{bits: 1 << 51,}

Secure Simple Pairing

ENCAPSULATED_PDU: LmpFeatures = LmpFeatures{bits: 1 << 52,}

Encapsulated PDU

ERRONEOUS_DATA_REPORTING: LmpFeatures = LmpFeatures{bits: 1 << 53,}

Erroneous Data Reporting

NON_FLUSHABLE_PACKET_BOUNDARY_FLAG: LmpFeatures = LmpFeatures{bits: 1 << 54,}

Non-flushable Packet Boundary Flag

LINK_SUPERVISION_TIMEOUT_CHANGED_EVENT: LmpFeatures = LmpFeatures{bits: 1 << 56,}

Link Supervision Timeout Changed Event

INQUIRY_TX_POWER_LEVEL: LmpFeatures = LmpFeatures{bits: 1 << 57,}

Inquiry TX Power Level

ENHANCED_POWER_CONTROL: LmpFeatures = LmpFeatures{bits: 1 << 58,}

Enhanced Power Control

EXTENDED_FEATURES: LmpFeatures = LmpFeatures{bits: 1 << 63,}

Extended features

Returns an empty set of flags.

Returns the set containing all flags.

Returns the raw value of the flags currently stored.

Convert from underlying bit representation, unless that representation contains bits that do not correspond to a flag.

Convert from underlying bit representation, dropping any bits that do not correspond to flags.

Returns true if no flags are currently stored.

Returns true if all flags are currently set.

Returns true if there are flags common to both self and other.

Returns true all of the flags in other are contained within self.

Inserts the specified flags in-place.

Removes the specified flags in-place.

Toggles the specified flags in-place.

Inserts or removes the specified flags depending on the passed value.

Trait Implementations

impl Copy for LmpFeatures

impl PartialEq for LmpFeatures

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

This method tests for !=.

impl Eq for LmpFeatures

impl Clone for LmpFeatures

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialOrd for LmpFeatures

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Ord for LmpFeatures

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl Hash for LmpFeatures

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for LmpFeatures

Formats the value using the given formatter. Read more

impl Binary for LmpFeatures

Formats the value using the given formatter.

impl Octal for LmpFeatures

Formats the value using the given formatter.

impl LowerHex for LmpFeatures

Formats the value using the given formatter.

impl UpperHex for LmpFeatures

Formats the value using the given formatter.

impl BitOr for LmpFeatures

The resulting type after applying the | operator.

Returns the union of the two sets of flags.

impl BitOrAssign for LmpFeatures

Adds the set of flags.

impl BitXor for LmpFeatures

The resulting type after applying the ^ operator.

Returns the left flags, but with all the right flags toggled.

impl BitXorAssign for LmpFeatures

Toggles the set of flags.

impl BitAnd for LmpFeatures

The resulting type after applying the & operator.

Returns the intersection between the two sets of flags.

impl BitAndAssign for LmpFeatures

Disables all flags disabled in the set.

impl Sub for LmpFeatures

The resulting type after applying the - operator.

Returns the set difference of the two sets of flags.

impl SubAssign for LmpFeatures

Disables all flags enabled in the set.

impl Not for LmpFeatures

The resulting type after applying the ! operator.

Returns the complement of this set of flags.

impl Extend<LmpFeatures> for LmpFeatures

Extends a collection with the contents of an iterator. Read more

impl FromIterator<LmpFeatures> for LmpFeatures

Creates a value from an iterator. Read more

Auto Trait Implementations

impl Send for LmpFeatures

impl Sync for LmpFeatures