# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements.  See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership.  The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License.  You may obtain a copy of the License at
#
#  http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied.  See the License for the
# specific language governing permissions and limitations
# under the License.
#

# Package: apps/btshell

syscfg.defs:
    BTSHELL_ANS:
        description: Include support for the alert notification service.
        value: 1

syscfg.vals:
    # Enable the shell task.
    SHELL_TASK: 1

    # Set log level to info (disable debug logging).
    LOG_LEVEL: 1

    # Disable security manager (pairing and bonding).
    BLE_SM_LEGACY: 0
    BLE_SM_SC: 0

    # Default task settings
    OS_MAIN_STACK_SIZE: 512

    # Newtmgr is not supported in this app, so disable newtmgr-over-shell.
    SHELL_NEWTMGR: 0

# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements.  See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership.  The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License.  You may obtain a copy of the License at
#
#  http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied.  See the License for the
# specific language governing permissions and limitations
# under the License.
#

# Package: apps/btshell

syscfg.defs:
    BTSHELL_ANS:
        description: Include support for the alert notification service.
        value: 1

syscfg.vals:
    # Enable the shell task.
    SHELL_TASK: 1

    # Set log level to info (disable debug logging).
    LOG_LEVEL: 1

    # Disable security manager (pairing and bonding).
    BLE_SM_LEGACY: 0
    BLE_SM_SC: 0

    # Default task settings
    OS_MAIN_STACK_SIZE: 512

    # Newtmgr is not supported in this app, so disable newtmgr-over-shell.
    SHELL_NEWTMGR: 0

syscfg.vals.BLE_MESH:
    MSYS_1_BLOCK_COUNT: 16

Increase block count if mesh enabled
app/btshell: Increase block count if mesh enabled

Memory error may occure while operating with enabled mesh and additional
instances of advertising. This update was tested agains initialized mesh
and one separate instance of advertising.
