add BLE bonding
Some checks failed
ESP-IDF Build / build (esp32, latest) (push) Failing after 46s
ESP-IDF Build / build (esp32, release-v5.4) (push) Failing after 46s
ESP-IDF Build / build (esp32, release-v5.5) (push) Failing after 45s
ESP-IDF Build / build (esp32c3, latest) (push) Failing after 45s
ESP-IDF Build / build (esp32c3, release-v5.4) (push) Failing after 45s
ESP-IDF Build / build (esp32c3, release-v5.5) (push) Failing after 45s
ESP-IDF Build / build (esp32c5, latest) (push) Failing after 45s
ESP-IDF Build / build (esp32c5, release-v5.4) (push) Failing after 45s
ESP-IDF Build / build (esp32c5, release-v5.5) (push) Failing after 45s
ESP-IDF Build / build (esp32c6, latest) (push) Failing after 45s
ESP-IDF Build / build (esp32c6, release-v5.4) (push) Failing after 45s
ESP-IDF Build / build (esp32c6, release-v5.5) (push) Failing after 45s
ESP-IDF Build / build (esp32h2, latest) (push) Failing after 46s
ESP-IDF Build / build (esp32h2, release-v5.4) (push) Failing after 45s
ESP-IDF Build / build (esp32h2, release-v5.5) (push) Failing after 45s
ESP-IDF Build / build (esp32p4, latest) (push) Failing after 45s
ESP-IDF Build / build (esp32p4, release-v5.4) (push) Failing after 45s
ESP-IDF Build / build (esp32p4, release-v5.5) (push) Failing after 52s
ESP-IDF Build / build (esp32s3, latest) (push) Failing after 56s
ESP-IDF Build / build (esp32s3, release-v5.4) (push) Failing after 46s
ESP-IDF Build / build (esp32s3, release-v5.5) (push) Failing after 45s

Signed-off-by: Peter Siegmund <mars3142@users.noreply.github.com>
This commit is contained in:
2025-09-20 20:26:23 +02:00
parent 07f955d949
commit 8a2c0a60d5
13 changed files with 524 additions and 73 deletions

View File

@@ -15,4 +15,29 @@ menu "Warnemuende Lighthouse"
int
default 1 if WLED_USE_DMA
default 0 if !WLED_USE_DMA
config WLED_WITH_WHITE
bool "WLED with White Channel"
default y
help
Use a WLED strip with a white channel (e.g. WS2812B RGBW).
config LED_PIN_LEFT
int "LED Left Pin"
default 11
help
The pin of the LED for the left side.
config LED_PIN_RIGHT
int "LED Right Pin"
default 12
help
The pin of the LED for the right side.
config BONDING_PASSPHRASE
int "Bonding Passphrase"
default 123456
help
The passphrase for the BLE bonding.
endmenu

View File

@@ -25,14 +25,6 @@ void app_main(void)
printf("Failed to initialize beacon");
return;
}
/// start beacon service
uint8_t beacon_enabled = 1;
persistence_load(VALUE_TYPE_INT32, "BEACON_ENABLED", &beacon_enabled);
if (beacon_enabled && beacon_start() != ESP_OK)
{
printf("Failed to start beacon");
return;
}
/// start outdoor light service
if (outdoor_start() != ESP_OK)