Revert "Add presence DB schema; fix BLE passive scan mode (bleak #1440)"

This reverts commit 2499db6147be65c76e7e202190b81855ba7b9100.
This commit is contained in:
Cobra
2026-04-10 14:26:27 -04:00
parent 3ddb854685
commit 722a632cee
2 changed files with 2 additions and 40 deletions
+2 -2
View File
@@ -274,8 +274,8 @@ async def scan_loop():
await on_arrival(name, mac, rssi)
# Passive scanner — required to avoid corrupting BLE 0x004C manufacturer_data (bleak #1440)
async with BleakScanner(detection_callback=detection_callback, scanning_mode="passive") as scanner:
# Active scanner — explicitly required; bleak 0.20 BlueZ backend defaults to passive
async with BleakScanner(detection_callback=detection_callback, scanning_mode="active") as scanner:
try:
while not shutdown_event.is_set():
await asyncio.sleep(1)