10 #include <esp_gap_ble_api.h> 11 #include <esp_gatts_api.h> BLEAdvertising(uint32_t advertising_cycle_time)
void set_min_preferred_interval(uint16_t interval)
struct { uint8_t *data raw_adv_data_t
void set_service_data(const std::vector< uint8_t > &data)
std::vector< std::function< void(bool)> > raw_advertisements_callbacks_
esp_ble_adv_params_t advertising_params_
void set_manufacturer_data(const std::vector< uint8_t > &data)
esp_power_level_t power_level
void register_raw_advertisement_callback(std::function< void(bool)> &&callback)
uint32_t last_advertisement_time_
esp_ble_adv_data_t advertising_data_
void remove_service_uuid(ESPBTUUID uuid)
int8_t current_adv_index_
const uint32_t advertising_cycle_time_
esp_ble_adv_data_t scan_response_data_
Implementation of SPI Controller mode.
void add_service_uuid(ESPBTUUID uuid)
std::vector< ESPBTUUID > advertising_uuids_
esp_err_t services_advertisement_()
void set_scan_response(bool scan_response)