PebbleOS v4.47.0-1161-g94e3d98da
Loading...
Searching...
No Matches
adv.h File Reference
#include <stddef.h>
#include <stdint.h>
#include <host/ble_gap.h>

Data Structures

struct  pbl_bt_adv
 An advertisement. More...
 
struct  pbl_bt_adv_config
 How to advertise. More...
 

Functions

void pbl_bt_adv_start (const struct pbl_bt_adv_config *config)
 Start advertising what is enabled, once the host is synchronized.
 
void pbl_bt_adv_stop (void)
 Stop advertising, and disable every advertisement.
 
void pbl_bt_adv_enable (struct pbl_bt_adv *adv, uint16_t short_secs)
 Enable an advertisement, or air it anew if it is enabled: its payloads are set again.
 
void pbl_bt_adv_disable (struct pbl_bt_adv *adv)
 Disable an advertisement.