perf: tune BLE scanning performance, switch over to NimBLE
This commit is contained in:
@@ -23,8 +23,8 @@ typedef struct {
|
||||
typedef void (*ble_scanner_cb_t)(const ble_beacon_t *beacon);
|
||||
|
||||
/**
|
||||
* Initialise the Bluedroid BLE stack and register the scan callback.
|
||||
* Must be called once after esp_bt_controller_init / esp_bluedroid_init.
|
||||
* Initialise the NimBLE stack and register the scan callback. Must be called
|
||||
* once before ble_scanner_start(). Starts the NimBLE host task internally.
|
||||
*/
|
||||
void ble_scanner_init(ble_scanner_cb_t cb);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user