Shorter scan interval and window makes less sendFails
This commit is contained in:
parent
703982daf6
commit
be859102dc
|
@ -1,4 +1,3 @@
|
|||
Settings_local.h
|
||||
.pioenvs
|
||||
.piolibdeps
|
||||
.clang_complete
|
||||
|
@ -9,3 +8,5 @@ include/
|
|||
Settings_*.h
|
||||
.pio/*
|
||||
.vscode/*
|
||||
espota.py
|
||||
upload_all.sh
|
||||
|
|
|
@ -70,10 +70,10 @@
|
|||
#define TELEMETRY_TOPIC (Sprintf("presence_nodes/%s/tele", room.c_str()))
|
||||
|
||||
// Define bluetooth scan parameters
|
||||
#define BLE_ACTIVE_SCAN true // Active scan uses more power, but get results faster
|
||||
#define BLE_ACTIVE_SCAN false // Active scan uses more power, but get results faster
|
||||
|
||||
#define BLE_SCAN_INTERVAL 340 // Used to determine antenna sharing between Bluetooth and WiFi. Do not modify unless you are confident you know what you're doing
|
||||
#define BLE_SCAN_WINDOW 320 // Used to determine antenna sharing between Bluetooth and WiFi. Do not modify unless you are confident you know what you're doing
|
||||
#define BLE_SCAN_INTERVAL 150 // Used to determine antenna sharing between Bluetooth and WiFi. Do not modify unless you are confident you know what you're doing
|
||||
#define BLE_SCAN_WINDOW 150 // Used to determine antenna sharing between Bluetooth and WiFi. Do not modify unless you are confident you know what you're doing
|
||||
|
||||
// Maximum distance (in meters) to report. Devices that are calculated to be further than this distance in meters will not be reported
|
||||
#define MAX_DISTANCE 16
|
||||
|
|
Loading…
Reference in New Issue