Definition in file nimble_autoadv.h.
#include "host/ble_gap.h"
Go to the source code of this file.
Macros | |
#define | NIMBLE_AUTOADV_DEVICE_NAME NULL |
Name of the device for the advertising procedure. More... | |
#define | NIMBLE_AUTOADV_START_MANUALLY 0 |
If an application is calling functions from nimble, e.g. More... | |
Functions | |
void | nimble_autoadv_init (void) |
Initialize autoadv module. | |
void | nimble_autoadv_set_ble_gap_adv_params (struct ble_gap_adv_params *params) |
Set struct for additional arguments specifying the particulars of the advertising procedure. More... | |
int | nimble_autoadv_add_field (uint8_t type, const void *data, size_t data_len) |
Add a new field to the given advertising data. More... | |
void | nimble_auto_adv_set_adv_duration (int32_t duration_ms) |
Set the duration for the advertising procedure. More... | |
void | nimble_auto_adv_set_gap_cb (ble_gap_event_fn *cb, void *cb_arg) |
Set the callback for gap events. More... | |
void | nimble_autoadv_start (void) |
Start the automated advertising procedure. More... | |
void | nimble_autoadv_stop (void) |
Stop the automated advertising procedure. More... | |
void | nimble_autoadv_reset (void) |
Reset all data regarding the advertising process. More... | |