feat: Add v0.5 BLE scanning — NimBLE passive scan, BLE_DATA UDP stream

- NimBLE stack init with passive BLE scanning
- BLE ON/OFF command with NVS persistence
- BLE_DATA,<mac>,<rssi>,<pub|rnd>,<name> UDP packets
- 30s periodic scan restart to refresh duplicate filter
- ble= field in STATUS reply
- sdkconfig: enable BT+NimBLE, BLE-only mode, disable Bluedroid
This commit is contained in:
user
2026-02-04 17:40:20 +01:00
parent 8a60547fca
commit 81c4337646
2 changed files with 174 additions and 4 deletions

View File

@@ -62,3 +62,14 @@ CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv"
#
CONFIG_BOOTLOADER_APP_ROLLBACK_ENABLE=y
CONFIG_ESP_HTTPS_OTA_ALLOW_HTTP=y
#
# BLE (NimBLE, scan-only, WiFi coexistence)
#
CONFIG_BT_ENABLED=y
CONFIG_BTDM_CTRL_MODE_BLE_ONLY=y
CONFIG_BTDM_CTRL_MODE_BR_EDR_ONLY=n
CONFIG_BTDM_CTRL_MODE_BTDM=n
CONFIG_BT_BLUEDROID_ENABLED=n
CONFIG_BT_NIMBLE_ENABLED=y
CONFIG_ESP_WIFI_IRAM_OPT=n