pub struct CommandFlags(_);
Expand description

Extended bit field for the command flags of the LocalSupportedCommands return parameters.

Implementations§

source§

impl CommandFlags

source

pub const INQUIRY: CommandFlag = _

Inquiry

source

pub const INQUIRY_CANCEL: CommandFlag = _

Cancel Inquiry

source

pub const PERIODIC_INQUIRY_MODE: CommandFlag = _

Periodic Inquiry Mode

source

pub const EXIT_PERIODIC_INQUIRY_MODE: CommandFlag = _

Exit Periodic Inquiry Mode

source

pub const CREATE_CONNECTION: CommandFlag = _

Create Connection

source

pub const DISCONNECT: CommandFlag = _

Disconnect

source

pub const ADD_SCO_CONNECTION: CommandFlag = _

👎Deprecated

Add SCO Connection (deprecated by the spec)

source

pub const CREATE_CONNECTION_CANCEL: CommandFlag = _

Create Connection Cancel

source

pub const ACCEPT_CONNECTION_REQUEST: CommandFlag = _

Accept Connection Request

source

pub const REJECT_CONNECTION_REQUEST: CommandFlag = _

Reject Connection Request

Link Key Request Reply

Link Key Request Negative Reply

source

pub const PIN_CODE_REQUEST_REPLY: CommandFlag = _

PIN Code Request Reply

source

pub const PIN_CODE_REQUEST_NEGATIVE_REPLY: CommandFlag = _

PIN Code Request Negative Reply

source

pub const CHANGE_CONNECTION_PACKET_TYPE: CommandFlag = _

Change Connection Packet Type

source

pub const AUTHENTICATION_REQUESTED: CommandFlag = _

Authentication Requested

source

pub const SET_CONNECTION_ENCRYPTION: CommandFlag = _

Set Connection Encryption

Change Connection Link Key

Master Link Key

source

pub const REMOTE_NAME_REQUEST: CommandFlag = _

Remote Name Request

source

pub const REMOTE_NAME_REQUEST_CANCEL: CommandFlag = _

Remote Name Request Cancel

source

pub const READ_REMOTE_SUPPORTED_FEATURES: CommandFlag = _

Read Remote Supported Features

source

pub const READ_REMOTE_EXTENDED_FEATURES: CommandFlag = _

Read Remote Extended Features

source

pub const READ_REMOTE_VERSION_INFORMATION: CommandFlag = _

Read Remote Version Information

source

pub const READ_CLOCK_OFFSET: CommandFlag = _

Read Clock Offset

source

pub const READ_LMP_HANDLE: CommandFlag = _

Read LMP Handle

source

pub const HOLD_MODE: CommandFlag = _

Hold Mode

source

pub const SNIFF_MODE: CommandFlag = _

Sniff Mode

source

pub const EXIT_SNIFF_MODE: CommandFlag = _

Exit Sniff Mode

source

pub const PARK_STATE: CommandFlag = _

Park State

source

pub const EXIT_PARK_STATE: CommandFlag = _

Exit Park State

source

pub const QOS_SETUP: CommandFlag = _

QoS Setup

source

pub const ROLE_DISCOVERY: CommandFlag = _

Role Discovery

source

pub const SWITCH_ROLE: CommandFlag = _

Switch Role

Read Link Policy Settings

Write Link Policy Settings

Read Default Link Policy Settings

Write Default Link Policy Settings

source

pub const FLOW_SPECIFICATION: CommandFlag = _

Flow Specification

source

pub const SET_EVENT_MASK: CommandFlag = _

Set Event Mask

source

pub const RESET: CommandFlag = _

Reset

source

pub const SET_EVENT_FILTER: CommandFlag = _

Set Event Filter

source

pub const FLUSH: CommandFlag = _

Flush

source

pub const READ_PIN_TYPE: CommandFlag = _

Read PIN Type

source

pub const WRITE_PIN_TYPE: CommandFlag = _

Write PIN Type

source

pub const CREATE_NEW_UNIT_KEY: CommandFlag = _

Create New Unit Key

Read Stored Link Key

Write Stored Link Key

Delete Stored Link Key

source

pub const WRITE_LOCAL_NAME: CommandFlag = _

Write Local Name

source

pub const READ_LOCAL_NAME: CommandFlag = _

Read Local Name

source

pub const READ_CONNECTION_ACCEPT_TIMEOUT: CommandFlag = _

Read Connection Accept Timeout

source

pub const WRITE_CONNECTION_ACCEPT_TIMEOUT: CommandFlag = _

Write Connection Accept Timeout

source

pub const READ_PAGE_TIMEOUT: CommandFlag = _

Read Page Timeout

source

pub const WRITE_PAGE_TIMEOUT: CommandFlag = _

Write Page Timeout

source

pub const READ_SCAN_ENABLE: CommandFlag = _

Read Scan Enable

source

pub const WRITE_SCAN_ENABLE: CommandFlag = _

Write Scan Enable

source

pub const READ_PAGE_SCAN_ACTIVITY: CommandFlag = _

Read Page Scan Activity

source

pub const WRITE_PAGE_SCAN_ACTIVITY: CommandFlag = _

Write Page Scan Activity

source

pub const READ_INQUIRY_SCAN_ACTIVITY: CommandFlag = _

Read Inquiry Scan Activity

source

pub const WRITE_INQUIRY_SCAN_ACTIVITY: CommandFlag = _

Write Inquiry Scan Activity

source

pub const READ_AUTHENTICATION_ENABLE: CommandFlag = _

Read Authentication Enable

source

pub const WRITE_AUTHENTICATION_ENABLE: CommandFlag = _

Write Authentication Enable

source

pub const READ_ENCRYPTION_MODE: CommandFlag = _

👎Deprecated

Read Encryption Mode (deprecated by the spec)

source

pub const WRITE_ENCRYPTION_MODE: CommandFlag = _

👎Deprecated

Write Encryption Mode (deprecated by the spec)

source

pub const READ_CLASS_OF_DEVICE: CommandFlag = _

Read Class Of Device

source

pub const WRITE_CLASS_OF_DEVICE: CommandFlag = _

Write Class Of Device

source

pub const READ_VOICE_SETTING: CommandFlag = _

Read Voice Setting

source

pub const WRITE_VOICE_SETTING: CommandFlag = _

Write Voice Setting

source

pub const READ_AUTOMATIC_FLUSH_TIMEOUT: CommandFlag = _

Read Automatic Flush Timeout

source

pub const WRITE_AUTOMATIC_FLUSH_TIMEOUT: CommandFlag = _

Write Automatic Flush Timeout

source

pub const READ_NUM_BROADCAST_RETRANSMISSIONS: CommandFlag = _

Read Num Broadcast Retransmissions

source

pub const WRITE_NUM_BROADCAST_RETRANSMISSIONS: CommandFlag = _

Write Num Broadcast Retransmissions

source

pub const READ_HOLD_MODE_ACTIVITY: CommandFlag = _

Read Hold Mode Activity

source

pub const WRITE_HOLD_MODE_ACTIVITY: CommandFlag = _

Write Hold Mode Activity

source

pub const READ_TRANSMIT_POWER_LEVEL: CommandFlag = _

Read Transmit Power Level

source

pub const READ_SYNCHRONOUS_FLOW_CONTROL_ENABLE: CommandFlag = _

Read Synchronous Flow Control Enable

source

pub const WRITE_SYNCHRONOUS_FLOW_CONTROL_ENABLE: CommandFlag = _

Write Synchronous Flow Control Enable

source

pub const SET_CONTROLLER_TO_HOST_FLOW_CONTROL: CommandFlag = _

Set Controller To Host Flow Control

source

pub const HOST_BUFFER_SIZE: CommandFlag = _

Host Buffer Size

source

pub const HOST_NUMBER_OF_COMPLETED_PACKETS: CommandFlag = _

Host Number Of Completed Packets

Read Link Supervision Timeout

Write Link Supervision Timeout

source

pub const READ_NUMBER_OF_SUPPORTED_IAC: CommandFlag = _

Read Number of Supported IAC

source

pub const READ_CURRENT_IAC_LAP: CommandFlag = _

Read Current IAC LAP

source

pub const WRITE_CURRENT_IAC_LAP: CommandFlag = _

Write Current IAC LAP

source

pub const READ_PAGE_SCAN_MODE_PERIOD: CommandFlag = _

👎Deprecated

Read Page Scan Mode Period (deprecated by the spec)

source

pub const WRITE_PAGE_SCAN_MODE_PERIOD: CommandFlag = _

👎Deprecated

Write Page Scan Mode Period (deprecated by the spec)

source

pub const READ_PAGE_SCAN_MODE: CommandFlag = _

👎Deprecated

Read Page Scan Mode (deprecated by the spec)

source

pub const WRITE_PAGE_SCAN_MODE: CommandFlag = _

👎Deprecated

Write Page Scan Mode (deprecated by the spec)

source

pub const SET_AFH_HOST_CHANNEL_CLASSIFICATION: CommandFlag = _

Set AFH Host Channel Classification

source

pub const READ_INQUIRY_SCAN_TYPE: CommandFlag = _

Read Inquiry Scan Type

source

pub const WRITE_INQUIRY_SCAN_TYPE: CommandFlag = _

Write Inquiry Scan Type

source

pub const READ_INQUIRY_MODE: CommandFlag = _

Read Inquiry Mode

source

pub const WRITE_INQUIRY_MODE: CommandFlag = _

Write Inquiry Mode

source

pub const READ_PAGE_SCAN_TYPE: CommandFlag = _

Read Page Scan Type

source

pub const WRITE_PAGE_SCAN_TYPE: CommandFlag = _

Write Page Scan Type

source

pub const READ_AFH_CHANNEL_ASSESSMENT_MODE: CommandFlag = _

Read AFH Channel Assessment Mode

source

pub const WRITE_AFH_CHANNEL_ASSESSMENT_MODE: CommandFlag = _

Write AFH Channel Assessment Mode

source

pub const READ_LOCAL_VERSION_INFORMATION: CommandFlag = _

Read Local Version Information

source

pub const READ_LOCAL_SUPPORTED_FEATURES: CommandFlag = _

Read Local Supported Features

source

pub const READ_LOCAL_EXTENDED_FEATURES: CommandFlag = _

Read Local Extended Features

source

pub const READ_BUFFER_SIZE: CommandFlag = _

Read Buffer Size

source

pub const READ_COUNTRY_CODE: CommandFlag = _

👎Deprecated

Read Country Code [Deprecated by the spec]

source

pub const READ_BD_ADDR: CommandFlag = _

Read BD ADDR

source

pub const READ_FAILED_CONTACT_COUNTER: CommandFlag = _

Read Failed Contact Counter

source

pub const RESET_FAILED_CONTACT_COUNTER: CommandFlag = _

Reset Failed Contact Counter

Read Link Quality

source

pub const READ_RSSI: CommandFlag = _

Read RSSI

source

pub const READ_AFH_CHANNEL_MAP: CommandFlag = _

Read AFH Channel Map

source

pub const READ_CLOCK: CommandFlag = _

Read Clock

source

pub const READ_LOOPBACK_MODE: CommandFlag = _

Read Loopback Mode

source

pub const WRITE_LOOPBACK_MODE: CommandFlag = _

Write Loopback Mode

source

pub const ENABLE_DEVICE_UNDER_TEST_MODE: CommandFlag = _

Enable Device Under Test Mode

source

pub const SETUP_SYNCHRONOUS_CONNECTION_REQUEST: CommandFlag = _

Setup Synchronous Connection Request

source

pub const ACCEPT_SYNCHRONOUS_CONNECTION_REQUEST: CommandFlag = _

Accept Synchronous Connection Request

source

pub const REJECT_SYNCHRONOUS_CONNECTION_REQUEST: CommandFlag = _

Reject Synchronous Connection Request

source

pub const READ_EXTENDED_INQUIRY_RESPONSE: CommandFlag = _

Read Extended Inquiry Response

source

pub const WRITE_EXTENDED_INQUIRY_RESPONSE: CommandFlag = _

Write Extended Inquiry Response

source

pub const REFRESH_ENCRYPTION_KEY: CommandFlag = _

Refresh Encryption Key

source

pub const SNIFF_SUBRATING: CommandFlag = _

Sniff Subrating

source

pub const READ_SIMPLE_PAIRING_MODE: CommandFlag = _

Read Simple Pairing Mode

source

pub const WRITE_SIMPLE_PAIRING_MODE: CommandFlag = _

Write Simple Pairing Mode

source

pub const READ_LOCAL_OOB_DATA: CommandFlag = _

Read Local OOB Data

source

pub const READ_INQUIRY_RESPONSE_TRANSMIT_POWER_LEVEL: CommandFlag = _

Read Inquiry Response Transmit Power Level

source

pub const WRITE_INQUIRY_TRANSMIT_POWER_LEVEL: CommandFlag = _

Write Inquiry Transmit Power Level

source

pub const READ_DEFAULT_ERRONEOUS_DATA_REPORTING: CommandFlag = _

Read Default Erroneous Data Reporting

source

pub const WRITE_DEFAULT_ERRONEOUS_DATA_REPORTING: CommandFlag = _

Write Default Erroneous Data Reporting

source

pub const IO_CAPABILITY_REQUEST_REPLY: CommandFlag = _

IO Capability Request Reply

source

pub const USER_CONFIRMATION_REQUEST_REPLY: CommandFlag = _

User Confirmation Request Reply

source

pub const USER_CONFIRMATION_REQUEST_NEGATIVE_REPLY: CommandFlag = _

User Confirmation Request Negative Reply

source

pub const USER_PASSKEY_REQUEST_REPLY: CommandFlag = _

User Passkey Request Reply

source

pub const USER_PASSKEY_REQUEST_NEGATIVE_REPLY: CommandFlag = _

User Passkey Request Negative Reply

source

pub const REMOTE_OOB_DATA_REQUEST_REPLY: CommandFlag = _

Remote OOB Data Request Reply

source

pub const WRITE_SIMPLE_PAIRING_DEBUG_MODE: CommandFlag = _

Write Simple Pairing Debug Mode

source

pub const ENHANCED_FLUSH: CommandFlag = _

Enhanced Flush

source

pub const REMOTE_OOB_DATA_REQUEST_NEGATIVE_REPLY: CommandFlag = _

Remote OOB Data Request Negative Reply

source

pub const SEND_KEYPRESS_NOTIFICATION: CommandFlag = _

Send Keypress Notification

source

pub const IO_CAPABILITY_REQUEST_NEGATIVE_REPLY: CommandFlag = _

IO Capability Request Negative Reply

source

pub const READ_ENCRYPTION_KEY_SIZE: CommandFlag = _

Read Encryption Key Size

Create Physical Link

Accept Physical Link

Disconnect Physical Link

Create Logical Link

Accept Logical Link

Disconnect Logical Link

Logical Link Cancel

source

pub const FLOW_SPEC_MODIFY: CommandFlag = _

Flow Spec Modify

Read Logical Link Accept Timeout

Write Logical Link Accept Timeout

source

pub const SET_EVENT_MASK_PAGE_2: CommandFlag = _

Set Event Mask Page 2

source

pub const READ_LOCATION_DATA: CommandFlag = _

Read Location Data

source

pub const WRITE_LOCATION_DATA: CommandFlag = _

Write Location Data

source

pub const READ_LOCAL_AMP_INFO: CommandFlag = _

Read Local AMP Info

source

pub const READ_LOCAL_AMP_ASSOC: CommandFlag = _

Read Local AMP_ASSOC

source

pub const WRITE_REMOTE_AMP_ASSOC: CommandFlag = _

Write Remote AMP_ASSOC

source

pub const READ_FLOW_CONTROL_MODE: CommandFlag = _

Read Flow Control Mode

source

pub const WRITE_FLOW_CONTROL_MODE: CommandFlag = _

Write Flow Control Mode

source

pub const READ_DATA_BLOCK_SIZE: CommandFlag = _

Read Data Block Size

source

pub const ENABLE_AMP_RECEIVER_REPORTS: CommandFlag = _

Enable AMP Receiver Reports

source

pub const AMP_TEST_END: CommandFlag = _

AMP Test End

source

pub const AMP_TEST: CommandFlag = _

AMP Test

source

pub const READ_ENHANCED_TRANSMIT_POWER_LEVEL: CommandFlag = _

Read Enhanced Transmit Power Level

source

pub const READ_BEST_EFFORT_FLUSH_TIMEOUT: CommandFlag = _

Read Best Effort Flush Timeout

source

pub const WRITE_BEST_EFFORT_FLUSH_TIMEOUT: CommandFlag = _

Write Best Effort Flush Timeout

source

pub const SHORT_RANGE_MODE: CommandFlag = _

Short Range Mode

source

pub const READ_LE_HOST_SUPPORT: CommandFlag = _

Read LE Host Support

source

pub const WRITE_LE_HOST_SUPPORT: CommandFlag = _

Write LE Host Support

source

pub const LE_SET_EVENT_MASK: CommandFlag = _

LE Set Event Mask

source

pub const LE_READ_BUFFER_SIZE: CommandFlag = _

LE Read Buffer Size

source

pub const LE_READ_LOCAL_SUPPORTED_FEATURES: CommandFlag = _

LE Read Local Supported Features

source

pub const LE_SET_RANDOM_ADDRESS: CommandFlag = _

LE Set Random Address

source

pub const LE_SET_ADVERTISING_PARAMETERS: CommandFlag = _

LE Set Advertising Parameters

source

pub const LE_READ_ADVERTISING_CHANNEL_TX_POWER: CommandFlag = _

LE Read Advertising Channel TX Power

source

pub const LE_SET_ADVERTISING_DATA: CommandFlag = _

LE Set Advertising Data

source

pub const LE_SET_SCAN_RESPONSE_DATA: CommandFlag = _

LE Set Scan Response Data

source

pub const LE_SET_ADVERTISE_ENABLE: CommandFlag = _

LE Set Advertise Enable

source

pub const LE_SET_SCAN_PARAMETERS: CommandFlag = _

LE Set Scan Parameters

source

pub const LE_SET_SCAN_ENABLE: CommandFlag = _

LE Set Scan Enable

source

pub const LE_CREATE_CONNECTION: CommandFlag = _

LE Create Connection

source

pub const LE_CREATE_CONNECTION_CANCEL: CommandFlag = _

LE Create Connection Cancel

source

pub const LE_READ_WHITE_LIST_SIZE: CommandFlag = _

LE Read White List Size

source

pub const LE_CLEAR_WHITE_LIST: CommandFlag = _

LE Clear White List

source

pub const LE_ADD_DEVICE_TO_WHITE_LIST: CommandFlag = _

LE Add Device To White List

source

pub const LE_REMOVE_DEVICE_FROM_WHITE_LIST: CommandFlag = _

LE Remove Device From White List

source

pub const LE_CONNECTION_UPDATE: CommandFlag = _

LE Connection Update

source

pub const LE_SET_HOST_CHANNEL_CLASSIFICATION: CommandFlag = _

LE Set Host Channel Classification

source

pub const LE_READ_CHANNEL_MAP: CommandFlag = _

LE Read Channel Map

source

pub const LE_READ_REMOTE_USED_FEATURES: CommandFlag = _

LE Read Remote Used Features

source

pub const LE_ENCRYPT: CommandFlag = _

LE Encrypt

source

pub const LE_RAND: CommandFlag = _

LE Rand

source

pub const LE_START_ENCRYPTION: CommandFlag = _

LE Start Encryption

source

pub const LE_LONG_TERM_KEY_REQUEST_REPLY: CommandFlag = _

LE Long Term Key Request Reply

source

pub const LE_LONG_TERM_KEY_REQUEST_NEGATIVE_REPLY: CommandFlag = _

LE Long Term Key Request Negative Reply

source

pub const LE_READ_SUPPORTED_STATES: CommandFlag = _

LE Read Supported States

source

pub const LE_RECEIVER_TEST: CommandFlag = _

LE Receiver Test

source

pub const LE_TRANSMITTER_TEST: CommandFlag = _

LE Transmitter Test

source

pub const LE_TEST_END: CommandFlag = _

LE Test End

source

pub const ENHANCED_SETUP_SYNCHRONOUS_CONNECTION: CommandFlag = _

Enhanced Setup Synchronous Connection

source

pub const ENHANCED_ACCEPT_SYNCHRONOUS_CONNECTION: CommandFlag = _

Enhanced Accept Synchronous Connection

source

pub const READ_LOCAL_SUPPORTED_CODECS: CommandFlag = _

Read Local Supported Codecs

source

pub const SET_MWS_CHANNEL_PARAMETERS_COMMAND: CommandFlag = _

Set MWS Channel Parameters Command

source

pub const SET_EXTERNAL_FRAME_CONFIGURATION_COMMAND: CommandFlag = _

Set External Frame Configuration Command

source

pub const SET_MWS_SIGNALING_COMMAND: CommandFlag = _

Set MWS Signaling Command

source

pub const SET_TRANSPORT_LAYER_COMMAND: CommandFlag = _

Set Transport Layer Command

source

pub const SET_MWS_SCAN_FREQUENCY_TABLE_COMMAND: CommandFlag = _

Set MWS Scan Frequency Table Command

source

pub const GET_TRANSPORT_LAYER_CONFIGURATION_COMMAND: CommandFlag = _

Get Transport Layer Configuration Command

source

pub const SET_MWS_PATTERN_CONFIGURATION_COMMAND: CommandFlag = _

Set MWS PATTERN Configuration Command

source

pub const SET_TRIGGERED_CLOCK_CAPTURE: CommandFlag = _

Set Triggered Clock Capture

source

pub const TRUNCATED_PAGE: CommandFlag = _

Truncated Page

source

pub const TRUNCATED_PAGE_CANCEL: CommandFlag = _

Truncated Page Cancel

source

pub const SET_CONNECTIONLESS_PERIPHERAL_BROADCAST: CommandFlag = _

Set Connectionless Peripheral Broadcast

source

pub const SET_CONNECTIONLESS_PERIPHERAL_BROADCAST_RECEIVE: CommandFlag = _

Set Connectionless Peripheral Broadcast Receive

source

pub const START_SYNCHRONIZATION_TRAIN: CommandFlag = _

Start Synchronization Train

source

pub const RECEIVE_SYNCHRONIZATION_TRAIN: CommandFlag = _

Receive Synchronization Train

source

pub const SET_CONNECTIONLESS_PERIPHERAL_BROADCAST_DATA: CommandFlag = _

Set Connectionless Peripheral Broadcast Data

source

pub const READ_SYNCHRONIZATION_TRAIN_PARAMETERS: CommandFlag = _

Read Synchronization Train Parameters

source

pub const WRITE_SYNCHRONIZATION_TRAIN_PARAMETERS: CommandFlag = _

Write Synchronization Train Parameters

source

pub const REMOTE_OOB_EXTENDED_DATA_REQUEST_REPLY: CommandFlag = _

Remote OOB Extended Data Request Reply

source

pub const READ_SECURE_CONNECTIONS_HOST_SUPPORT: CommandFlag = _

Read Secure Connections Host Support

source

pub const WRITE_SECURE_CONNECTIONS_HOST_SUPPORT: CommandFlag = _

Write Secure Connections Host Support

source

pub const READ_AUTHENTICATED_PAYLOAD_TIMEOUT: CommandFlag = _

Read Authenticated Payload Timeout

source

pub const WRITE_AUTHENTICATED_PAYLOAD_TIMEOUT: CommandFlag = _

Write Authenticated Payload Timeout

source

pub const READ_LOCAL_OOB_EXTENDED_DATA: CommandFlag = _

Read Local OOB Extended Data

source

pub const WRITE_SECURE_CONNECTIONS_TEST_MODE: CommandFlag = _

Write Secure Connections Test Mode

source

pub const READ_EXTENDED_PAGE_TIMEOUT: CommandFlag = _

Read Extended Page Timeout

source

pub const WRITE_EXTENDED_PAGE_TIMEOUT: CommandFlag = _

Write Extended Page Timeout

source

pub const READ_EXTENDED_INQUIRY_LENGTH: CommandFlag = _

Read Extended Inquiry Length

source

pub const WRITE_EXTENDED_INQUIRY_LENGTH: CommandFlag = _

Write Extended Inquiry Length

source

pub const LE_REMOTE_CONNECTION_PARAMETER_REQUEST_REPLY_COMMAND: CommandFlag = _

LE Remote Connection Parameter Request Reply Command

source

pub const LE_REMOTE_CONNECTION_PARAMETER_REQUEST_NEGATIVE_REPLY_COMMAND: CommandFlag = _

LE Remote Connection Parameter Request Negative Reply Command

source

pub const LE_SET_DATA_LENGTH: CommandFlag = _

LE Set Data Length

source

pub const LE_READ_SUGGESTED_DEFAULT_DATA_LENGTH: CommandFlag = _

LE Read Suggested Default Data Length

source

pub const LE_WRITE_SUGGESTED_DEFAULT_DATA_LENGTH: CommandFlag = _

LE Write Suggested Default Data Length

source

pub const LE_READ_LOCAL_P256_PUBLIC_KEY: CommandFlag = _

LE Read Local P-256 Public Key

source

pub const LE_GENERATE_DH_KEY: CommandFlag = _

LE Generate DH Key

source

pub const LE_ADD_DEVICE_TO_RESOLVING_LIST: CommandFlag = _

LE Add Device To Resolving List

source

pub const LE_REMOVE_DEVICE_FROM_RESOLVING_LIST: CommandFlag = _

LE Remove Device From Resolving List

source

pub const LE_CLEAR_RESOLVING_LIST: CommandFlag = _

LE Clear Resolving List

source

pub const LE_READ_RESOLVING_LIST_SIZE: CommandFlag = _

LE Read Resolving List Size

source

pub const LE_READ_PEER_RESOLVABLE_ADDRESS: CommandFlag = _

LE Read Peer Resolvable Address

source

pub const LE_READ_LOCAL_RESOLVABLE_ADDRESS: CommandFlag = _

LE Read Local Resolvable Address

source

pub const LE_SET_ADDRESS_RESOLUTION_ENABLE: CommandFlag = _

LE Set Address Resolution Enable

source

pub const LE_SET_RESOLVABLE_PRIVATE_ADDRESS_TIMEOUT: CommandFlag = _

LE Set Resolvable Private Address Timeout

source

pub const LE_READ_MAXIMUM_DATA_LENGTH: CommandFlag = _

LE Read Maximum Data Length

source

pub const LE_READ_PHY_COMMAND: CommandFlag = _

LE Read PHY Command

source

pub const LE_SET_DEFAULT_PHY_COMMAND: CommandFlag = _

LE Set Default PHY Command

source

pub const LE_SET_PHY_COMMAND: CommandFlag = _

LE Set PHY Command

source

pub const LE_ENHANCED_RECEIVER_TEST_COMMAND: CommandFlag = _

LE Enhanced Receiver Test Command

source

pub const LE_ENHANCED_TRANSMITTER_TEST_COMMAND: CommandFlag = _

LE Enhanced Transmitter Test Command

source

pub const LE_SET_ADVERTISING_SET_RANDOM_ADDRESS_COMMAND: CommandFlag = _

LE Set Advertising Set Random Address Command

source

pub const LE_SET_EXTENDED_ADVERTISING_PARAMETERS_COMMAND: CommandFlag = _

LE Set Extended Advertising Parameters Command

source

pub const LE_SET_EXTENDED_ADVERTISING_DATA_COMMAND: CommandFlag = _

LE Set Extended Advertising Data Command

source

pub const LE_SET_EXTENDED_SCAN_RESPONSE_DATA_COMMAND: CommandFlag = _

LE Set Extended Scan Response Data Command

source

pub const LE_SET_EXTENDED_ADVERTISING_ENABLE_COMMAND: CommandFlag = _

LE Set Extended Advertising Enable Command

source

pub const LE_READ_MAXIMUM_ADVERTISING_DATA_LENGTH_COMMAND: CommandFlag = _

LE Read Maximum Advertising Data Length Command

source

pub const LE_READ_NUMBER_OF_SUPPORTED_ADVERTISING_SETS_COMMAND: CommandFlag = _

LE Read Number of Supported Advertising Sets Command

source

pub const LE_REMOVE_ADVERTISING_SET_COMMAND: CommandFlag = _

LE Remove Advertising Set Command

source

pub const LE_CLEAR_ADVERTISING_SETS_COMMAND: CommandFlag = _

LE Clear Advertising Sets Command

source

pub const LE_SET_PERIODIC_ADVERTISING_PARAMETERS_COMMAND: CommandFlag = _

LE Set Periodic Advertising Parameters Command

source

pub const LE_SET_PERIODIC_ADVERTISING_DATA_COMMAND: CommandFlag = _

LE Set Periodic Advertising Data Command

source

pub const LE_SET_PERIODIC_ADVERTISING_ENABLE_COMMAND: CommandFlag = _

LE Set Periodic Advertising Enable Command

source

pub const LE_SET_EXTENDED_SCAN_PARAMETERS_COMMAND: CommandFlag = _

LE Set Extended Scan Parameters Command

source

pub const LE_SET_EXTENDED_SCAN_ENABLE_COMMAND: CommandFlag = _

LE Set Extended Scan Enable Command

source

pub const LE_EXTENDED_CREATE_CONNECTION_COMMAND: CommandFlag = _

LE Extended Create Connection Command

source

pub const LE_PERIODIC_ADVERTISING_CREATE_SYNC_COMMAND: CommandFlag = _

LE Periodic Advertising Create Sync Command

source

pub const LE_PERIODIC_ADVERTISING_CREATE_SYNC_CANCEL_COMMAND: CommandFlag = _

LE Periodic Advertising Create Sync Cancel Command

source

pub const LE_PERIODIC_ADVERTISING_TERMINATE_SYNC_COMMAND: CommandFlag = _

LE Periodic Advertising Terminate Sync Command

source

pub const LE_ADD_DEVICE_TO_PERIODIC_ADVERTISER_LIST_COMMAND: CommandFlag = _

LE Add Device To Periodic Advertiser List Command

source

pub const LE_REMOVE_DEVICE_FROM_PERIODIC_ADVERTISER_LIST_COMMAND: CommandFlag = _

LE Remove Device From Periodic Advertiser List Command

source

pub const LE_CLEAR_PERIODIC_ADVERTISER_LIST_COMMAND: CommandFlag = _

LE Clear Periodic Advertiser List Command

source

pub const LE_READ_PERIODIC_ADVERTISER_LIST_SIZE_COMMAND: CommandFlag = _

LE Read Periodic Advertiser List Size Command

source

pub const LE_READ_TRANSMIT_POWER_COMMAND: CommandFlag = _

LE Read Transmit Power Command

source

pub const LE_READ_RF_PATH_COMPENSATION_COMMAND: CommandFlag = _

LE Read RF Path Compensation Command

source

pub const LE_WRITE_RF_PATH_COMPENSATION_COMMAND: CommandFlag = _

LE Write RF Path Compensation Command

source

pub const LE_SET_PRIVACY_MODE: CommandFlag = _

LE Set Privacy Mode

source

pub fn from_bits(bits: &[u8]) -> Option<CommandFlags>

Attempts to create a bit field from the given byte array. If any unknown bit is set, returns None.

source

pub fn copy_into_slice(&self, bytes: &mut [u8])

Copies the bitfield array into the given slice. The slice must have exactly the right number of elements.

source

pub fn all() -> CommandFlags

Returns a bit field with all flags set.

source

pub fn empty() -> CommandFlags

Returns a bit field with no flags set.

source

pub fn bits(&self) -> &[u8]

Returns a slice to the underlying representation of the bit field.

source

pub fn is_empty(&self) -> bool

Returns true if no fields are set.

source

pub fn is_set(&self, flag: CommandFlag) -> bool

Returns true if the flag is set in the bitfield.

source

pub fn contains(&self, flags: CommandFlags) -> bool

Returns true if all flags from flags are set in the bitfield.

Trait Implementations§

source§

impl Clone for CommandFlags

source§

fn clone(&self) -> CommandFlags

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CommandFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> FmtResult

Formats the value using the given formatter. Read more
source§

impl PartialEq<CommandFlags> for CommandFlags

source§

fn eq(&self, rhs: &CommandFlags) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a> TryFrom<&'a [u8]> for CommandFlags

§

type Error = Error<NeverError>

The type returned in the event of a conversion error.
source§

fn try_from(value: &[u8]) -> Result<CommandFlags, Self::Error>

Performs the conversion.
source§

impl Copy for CommandFlags

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.