Data Fields
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>`

## Data Fields
uint16_t | duration
uint8_t | max_adv_evt

## Detailed Description

Advertising timing parameter.

## Field Documentation

## ◆ duration

uint16_t 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 gap_disc_mode_t), the setting duration range is [1, 18000]. If adv mode is high duty, duration time range is [1, 128].

## ◆ max_adv_evt

uint8_t 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.

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

- ble_gapm.h