PebbleOS
Loading...
Searching...
No Matches
Functions
advert.h File Reference
#include <stdint.h>
#include <stdbool.h>
#include <pbl/bluetooth/types.h>

Functions

bool pbl_bt_advert_advertising_enable (uint32_t min_interval_ms, uint32_t max_interval_ms)
 Start advertising.
 
void pbl_bt_advert_advertising_disable (void)
 Stop advertising, if active.
 
bool pbl_bt_advert_client_get_tx_power (int8_t *tx_power)
 Get the advertising transmit power.
 
bool pbl_bt_advert_set_advertising_data (const struct pbl_bt_ad_data *ad_data)
 Set the advertising data and scan response data.