Module bluenrg::gap[][src]

GAP commands and types needed for those commands.

Structs

AuthenticationRequirements

Parameters for the GAP Set Authentication Requirement command.

AutoConnectionEstablishmentParameters

Parameters for the GAP Start Auto Connection Establishment command.

BdAddr

Newtype for BDADDR.

BroadcastModeParameters

Parameters for the GAP Set Broadcast Mode command.

ConnectionInterval

Define a connection interval range with its latency and supervision timeout. This value is passed to the controller, which determines the actual connection interval.

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.

ExpectedConnectionLength

Define an expected connection length range

GeneralConnectionEstablishmentParameters

Parameters for the GAP Start General Connection Establishment command.

NameDiscoveryProcedureParameters

Parameters for the GAP Name Discovery procedure.

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.

ScanWindow

Define a scanning window.

SecurityRequestParameters

Parameters for the GAP Peripheral Security Request parameters.

SelectiveConnectionEstablishmentParameters

Parameters for the GAP Start Selective Connection Establishment command.

Enums

AddressType

Indicates the type of address being used in the advertising packets, for the set_nonconnectable.

AdvertisingDataType

Available types of advertising data.

AdvertisingFilterPolicy

Possible filter policies used for undirected advertising.

AdvertisingType

The advertising type is used in the AdvertisingParameters to determine the packet type that is used for advertising when advertising is enabled.

Authorization

Options for the GAP Authorization Response.

BdAddrType

Potential values for BDADDR

Error

Potential errors from parameter validation.

IoCapability

I/O capabilities available for the GAP Set I/O Capability command.

LocalName

Allowed types for the local name.

OutOfBandAuthentication

Options for out_of_band_auth.

OwnAddressType

Indicates the type of address being used in the advertising packets.

Pin

Options for fixed_pin.

Traits

Commands

GAP-specific commands for the ActiveBlueNRG.

Type Definitions

ConnectionParameters

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