Public Attributes | List of all members
ble_gap_adv_time_param_t Struct Reference
BLE » Generic Access Profile (GAP) » Generic Access Profile (GAP) Management » Structures

Advertising timing parameter. More...

`#include <ble_gapm.h>`

## Public Attributes
uint16_t | duration
| Advertising duration (in unit of 10ms). More...
uint8_t | max_adv_evt
| Maximum number of extended advertising events. More...

## Detailed Description

Advertising timing parameter.

Definition at line 639 of file ble_gapm.h.

## Member Data Documentation

## ◆ duration

uint16_t ble_gap_adv_time_param_t::duration

Advertising duration (in unit of 10ms).

0 means that advertising continues until the host disables it. If Advertising discovery mode is GAP_DISC_MODE_LIM_DISCOVERABLE (see enum ble_gap_disc_mode_t), the setting duration range is [1, 18000]. If adv mode is high duty, duration time range is [1, 128].

Definition at line 641 of file ble_gapm.h.

## ◆ max_adv_evt

uint8_t ble_gap_adv_time_param_t::max_adv_evt

Maximum number of extended advertising events.

The controller shall attempt to send prior to terminating the extending advertising. The range is [0, 255]. 0 means no maximum number of advertising events. Valid only if the created advertising is an extended advertising.

Definition at line 645 of file ble_gapm.h.

The documentation for this struct was generated from the following file:

- ble_gapm.h