Expand description
GAP commands and types needed for those commands.
Re-exports§
pub use crate::host::AdvertisingFilterPolicy;
pub use crate::host::AdvertisingType;
pub use crate::host::OwnAddressType;
pub use crate::types::ConnectionInterval;
pub use crate::types::ExpectedConnectionLength;
pub use crate::types::ScanWindow;
pub use crate::BdAddr;
pub use crate::BdAddrType;
Structs§
- Additonal
Beacon Start Parameters - Parameters for GAP Additional Beacon Start
- AdvSet
Advertising Data - Params for the adv_set_advertising_data command
- AdvSet
Config - Params for the adv_set_config command
- AdvSet
Enable - Params for the adv_set_enable command
- Authentication
Requirements - Parameters for the GAP Set Authentication Requirement command.
- Auto
Connection Establishment Parameters - Parameters for the GAP Start Auto Connection Establishment command.
- Broadcast
Mode Parameters - Parameters for the GAP Set Broadcast Mode command.
- Connection
Update Parameters - Parameters for the
start_connection_update
command. - Direct
Connectable Parameters - Parameters for the
set_direct_connectable
command. - Discoverable
Parameters - Parameters for the
set_limited_discoverable
andset_discoverable
commands. - Discovery
Procedure Parameters - Parameters for the GAP Limited Discovery and GAP General Discovery procedures.
- Event
Flags - Event types for GAP Set Event Mask.
- General
Connection Establishment Parameters - Parameters for the GAP Start General Connection Establishment command.
- Name
Discovery Procedure Parameters - Parameters for the GAP Name Discovery procedure.
- Numeric
Comparison Value Confirm YesNo Parameters - Parameters for GAP Numeric Comparison Confirm Yes or No
- Observation
Procedure Parameters - Parameters for the GAP Start Observation Procedure command.
- Pairing
Request - Parameters for the
send_pairing_request
command. - Procedure
- Roles for a GAP service.
- Role
- Roles for a GAP service.
- Selective
Connection Establishment Parameters - Parameters for the GAP Start Selective Connection Establishment command.
- SetOob
Data Parameters - Parameters for GAP Set OOB Data
- Undirected
Connectable Parameters - Parameters for the
set_undirected_connectable
command.
Enums§
- AddDevice
ToList Mode - Parameter for GAP Add Devices to List
- Address
Type - Indicates the type of address being used in the advertising packets, for the
set_nonconnectable
. - Advertising
Data Type - Available types of advertising data.
- Authorization
- Options for the GAP Authorization Response.
- Error
- Potential errors from parameter validation.
- Input
Type - Parameter for GAP Passkey Input
- IoCapability
- I/O capabilities available for the GAP Set I/O Capability command.
- Local
Name - Allowed types for the local name.
- OobData
Type - OobDevice
Type - OutOf
Band Authentication - Options for
out_of_band_auth
. - Pin
- Options for
fixed_pin
. - Secure
Connection Support - Options for
secure_connection_support
Traits§
- GapCommands
- GAP-specific commands.
Type Aliases§
- Connection
Parameters - The parameters for the GAP Name Discovery and GAP Create Connection commands are identical.