mbed HRM11017を使ってkonashi.jsでナイトライダー

Dependencies:   BLE_API_Native_IRC mbed

Fork of BLE_RCBController by Junichi Katsu

Embed: (wiki syntax)

« Back to documentation index

ble_gap_adv_params_t Struct Reference

ble_gap_adv_params_t Struct Reference
[Generic Access Profile (GAP)]

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 343 of file ble_gap.h.


Field Documentation

uint8_t fp

Filter Policy, see GAP Advertising filter policies.

Definition at line 347 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 349 of file ble_gap.h.

For BLE_GAP_CONN_MODE_DIRECTED mode only, known peer address.

Definition at line 346 of file ble_gap.h.

Pointer to whitelist, NULL if none is given.

Definition at line 348 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 350 of file ble_gap.h.

uint8_t type

See GAP Advertising types.

Definition at line 345 of file ble_gap.h.