Module gap

Source
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§

AdditonalBeaconStartParameters
Parameters for GAP Additional Beacon Start
AdvSetAdvertisingData
Params for the adv_set_advertising_data command
AdvSetConfig
Params for the adv_set_config command
AdvSetEnable
Params for the adv_set_enable command
AuthenticationRequirements
Parameters for the GAP Set Authentication Requirement command.
AutoConnectionEstablishmentParameters
Parameters for the GAP Start Auto Connection Establishment command.
BroadcastModeParameters
Parameters for the GAP Set Broadcast Mode command.
ConnectionUpdateParameters
Parameters for the start_connection_update command.
DirectConnectableParameters
Parameters for the set_direct_connectable command.
DiscoverableParameters
Parameters for the set_limited_discoverable and set_discoverable commands.
DiscoveryProcedureParameters
Parameters for the GAP Limited Discovery and GAP General Discovery procedures.
EventFlags
Event types for GAP Set Event Mask.
GeneralConnectionEstablishmentParameters
Parameters for the GAP Start General Connection Establishment command.
NameDiscoveryProcedureParameters
Parameters for the GAP Name Discovery procedure.
NumericComparisonValueConfirmYesNoParameters
Parameters for GAP Numeric Comparison Confirm Yes or No
ObservationProcedureParameters
Parameters for the GAP Start Observation Procedure command.
PairingRequest
Parameters for the send_pairing_request command.
Procedure
Roles for a GAP service.
Role
Roles for a GAP service.
SelectiveConnectionEstablishmentParameters
Parameters for the GAP Start Selective Connection Establishment command.
SetOobDataParameters
Parameters for GAP Set OOB Data
UndirectedConnectableParameters
Parameters for the set_undirected_connectable command.

Enums§

AddDeviceToListMode
Parameter for GAP Add Devices to List
AddressType
Indicates the type of address being used in the advertising packets, for the set_nonconnectable.
AdvertisingDataType
Available types of advertising data.
Authorization
Options for the GAP Authorization Response.
Error
Potential errors from parameter validation.
InputType
Parameter for GAP Passkey Input
IoCapability
I/O capabilities available for the GAP Set I/O Capability command.
LocalName
Allowed types for the local name.
OobDataType
OobDeviceType
OutOfBandAuthentication
Options for out_of_band_auth.
Pin
Options for fixed_pin.
SecureConnectionSupport
Options for secure_connection_support

Traits§

GapCommands
GAP-specific commands.

Type Aliases§

ConnectionParameters
The parameters for the GAP Name Discovery and GAP Create Connection commands are identical.