mirror of
https://github.com/esphome/esphome.git
synced 2025-09-13 16:52:18 +01:00
Improve batching of BLE advertisements for better airtime efficiency (#8778)
This commit is contained in:
@@ -290,7 +290,7 @@ class ESP32BLETracker : public Component,
|
||||
#ifdef USE_PSRAM
|
||||
const static u_int8_t SCAN_RESULT_BUFFER_SIZE = 32;
|
||||
#else
|
||||
const static u_int8_t SCAN_RESULT_BUFFER_SIZE = 16;
|
||||
const static u_int8_t SCAN_RESULT_BUFFER_SIZE = 20;
|
||||
#endif // USE_PSRAM
|
||||
esp_ble_gap_cb_param_t::ble_scan_result_evt_param *scan_result_buffer_;
|
||||
esp_bt_status_t scan_start_failed_{ESP_BT_STATUS_SUCCESS};
|
||||
|
Reference in New Issue
Block a user