SG RFID nRF51822 fork

Fork of nRF51822 by Nordic Semiconductor

Embed: (wiki syntax)

« Back to documentation index

ble_gap_adv_params_t Struct Reference

ble_gap_adv_params_t Struct Reference
[Structures]

GAP advertising parameters. More...

#include <ble_gap.h>

Data Fields

uint8_t type
 See GAP Advertising types.
ble_gap_addr_tp_peer_addr
 For BLE_GAP_CONN_MODE_DIRECTED mode only, known peer address.
uint8_t fp
 Filter Policy, see GAP Advertising filter policies.
ble_gap_whitelist_tp_whitelist
 Pointer to whitelist, NULL if none is given.
uint16_t interval
 Advertising interval between 0x0020 and 0x4000 in 0.625 ms units (20ms to 10.24s), see GAP Advertising interval max and min.
uint16_t timeout
 Advertising timeout between 0x0001 and 0x3FFF in seconds, 0x0000 disables timeout.

Detailed Description

GAP advertising parameters.

Definition at line 363 of file ble_gap.h.


Field Documentation

uint8_t fp

Filter Policy, see GAP Advertising filter policies.

Definition at line 367 of file ble_gap.h.

uint16_t interval

Advertising interval between 0x0020 and 0x4000 in 0.625 ms units (20ms to 10.24s), see GAP Advertising interval max and min.

This parameter must be set to 0 if type equals BLE_GAP_ADV_TYPE_ADV_DIRECT_IND.

Definition at line 369 of file ble_gap.h.

For BLE_GAP_CONN_MODE_DIRECTED mode only, known peer address.

Definition at line 366 of file ble_gap.h.

Pointer to whitelist, NULL if none is given.

Definition at line 368 of file ble_gap.h.

uint16_t timeout

Advertising timeout between 0x0001 and 0x3FFF in seconds, 0x0000 disables timeout.

See also GAP Advertising timeout values. This parameter must be set to 0 if type equals BLE_GAP_ADV_TYPE_ADV_DIRECT_IND.

Definition at line 370 of file ble_gap.h.

uint8_t type

See GAP Advertising types.

Definition at line 365 of file ble_gap.h.