menu "Wi-Fi Provisioning Manager"

    config WIFI_PROV_SCAN_MAX_ENTRIES
        int "Max Wi-Fi Scan Result Entries"
        default 16
        range 1 255
        help
            This sets the maximum number of entries of Wi-Fi scan results that will be kept by the provisioning manager

    config WIFI_PROV_AUTOSTOP_TIMEOUT
        int "Provisioning auto-stop timeout"
        default 30
        range 5 600
        help
            Time (in seconds) after which the Wi-Fi provisioning manager will auto-stop after connecting to
            a Wi-Fi network successfully.

    config WIFI_PROV_BLE_BONDING
        bool
        prompt "Enable BLE bonding"
        depends on BT_ENABLED
        help
            This option is applicable only when provisioning transport is BLE.

    config WIFI_PROV_BLE_SEC_CONN
        bool
        prompt "Enable BLE Secure connection flag"
        depends on  BT_NIMBLE_ENABLED
        default y
        help
            Used to enable Secure connection support when provisioning transport is BLE.

    config WIFI_PROV_BLE_FORCE_ENCRYPTION
        bool
        prompt "Force Link Encryption during characteristic Read / Write"
        help
            Used to enforce link encryption when attempting to read / write characteristic

    config WIFI_PROV_KEEP_BLE_ON_AFTER_PROV
        bool "Keep BT on after provisioning is done"
        depends on BT_ENABLED

    config WIFI_PROV_DISCONNECT_AFTER_PROV
        bool "Terminate connection after provisioning is done"
        depends on WIFI_PROV_KEEP_BLE_ON_AFTER_PROV
        default y

    choice WIFI_PROV_STA_SCAN_METHOD
        bool "Wifi Provisioning Scan Method"
        default WIFI_PROV_STA_ALL_CHANNEL_SCAN
        config WIFI_PROV_STA_ALL_CHANNEL_SCAN
            bool "All Channel Scan"
            help
                    Scan will end after scanning the entire channel. This option is useful in Mesh WiFi Systems.
        config WIFI_PROV_STA_FAST_SCAN
            bool "Fast Scan"
            help
                    Scan will end after an AP matching with the SSID has been detected.
    endchoice
endmenu
