feat(provisioning): add mini-program BLE Wi-Fi setup
This commit is contained in:
@@ -45,6 +45,30 @@ menu "Example Configuration"
|
||||
|
||||
endmenu
|
||||
|
||||
menu "Mini Program Wi-Fi Provisioning"
|
||||
|
||||
config TQ_MINI_PROGRAM_PROVISIONING_ENABLE
|
||||
bool "Enable mini-program BLE-assisted Wi-Fi provisioning"
|
||||
depends on BT_NIMBLE_ENABLED
|
||||
default y
|
||||
help
|
||||
Advertise the fixed TalkingQ GATT service when no usable Wi-Fi
|
||||
credentials exist. No SoftAP fallback is started.
|
||||
|
||||
config TQ_MINI_PROGRAM_PROVISIONING_CONNECT_TIMEOUT_MS
|
||||
int "Provisioning Wi-Fi connection timeout (ms)"
|
||||
depends on TQ_MINI_PROGRAM_PROVISIONING_ENABLE
|
||||
default 30000
|
||||
range 5000 120000
|
||||
|
||||
config TQ_MINI_PROGRAM_PROVISIONING_RECONNECT_FAILURES
|
||||
int "Runtime reconnect failures before BLE reprovisioning"
|
||||
depends on TQ_MINI_PROGRAM_PROVISIONING_ENABLE
|
||||
default 2
|
||||
range 1 10
|
||||
|
||||
endmenu
|
||||
|
||||
menu "Runtime Diagnostics"
|
||||
|
||||
config TQ_BOOT_SEQUENCE_DRY_RUN
|
||||
|
||||
Reference in New Issue
Block a user