menuconfig BLE_MGMT
    bool "Bluetooth Management"
    default n
    select BT
    select BT_PERIPHERAL
    select BT_DEVICE_NAME_DYNAMIC
    help
      Minimal BLE transport for the buzzer firmware.

if BLE_MGMT
    config BLE_MGMT_DEFAULT_DEVICE_NAME
        string "Default Bluetooth device name"
        default "Edis Buzzer"
        help
          Device name used when ble_mgmt_init() is called with a NULL name.

    config BT_MAX_CONN
        default 2

    # BLE control/data handling runs in BT RX workqueue. Enforce a larger
    # stack while BLE_MGMT is enabled to avoid overflows on connect/file ops.
    config BT_RX_STACK_SIZE
        range 3072 8192
        default 3072

    # Use larger BLE data path buffers for file transfer use-cases.
    config BT_L2CAP_TX_MTU
        default 498

    config BT_BUF_ACL_RX_SIZE
        default 502

    config BT_BUF_ACL_TX_SIZE
        default 502

    config BT_CTLR_DATA_LENGTH_MAX
        default 251
        
    module = BLE_MGMT
    module-str = ble_mgmt
    source "subsys/logging/Kconfig.template.log_config"
endif # BLE_MGMT