PebbleOS v4.47.0-1161-g94e3d98da
Loading...
Searching...
No Matches
pbl_bt_adv Struct Reference

An advertisement. More...

#include <adv.h>

Data Fields

int(* set_data )(void)
 Set the advertising and scan response payloads, e.g.
 
uint16_t resume_short_secs
 How long it airs at the short interval each time a connection ends, in seconds.
 

Detailed Description

An advertisement.

Zero-initialize what is not documented.

Field Documentation

◆ resume_short_secs

uint16_t pbl_bt_adv::resume_short_secs

How long it airs at the short interval each time a connection ends, in seconds.

With 0, the end of a connection leaves it as it was.

◆ set_data

int(* pbl_bt_adv::set_data) (void)

Set the advertising and scan response payloads, e.g.

with ble_gap_adv_set_fields().

Returns
0 on success, a code of the stack otherwise.

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