xref: /nrf52832-nimble/packages/NimBLE-latest/nimble/syscfg.yml (revision 042d53a763ad75cb1465103098bb88c245d95138)
1*042d53a7SEvalZero# Licensed to the Apache Software Foundation (ASF) under one
2*042d53a7SEvalZero# or more contributor license agreements.  See the NOTICE file
3*042d53a7SEvalZero# distributed with this work for additional information
4*042d53a7SEvalZero# regarding copyright ownership.  The ASF licenses this file
5*042d53a7SEvalZero# to you under the Apache License, Version 2.0 (the
6*042d53a7SEvalZero# "License"); you may not use this file except in compliance
7*042d53a7SEvalZero# with the License.  You may obtain a copy of the License at
8*042d53a7SEvalZero#
9*042d53a7SEvalZero#  http://www.apache.org/licenses/LICENSE-2.0
10*042d53a7SEvalZero#
11*042d53a7SEvalZero# Unless required by applicable law or agreed to in writing,
12*042d53a7SEvalZero# software distributed under the License is distributed on an
13*042d53a7SEvalZero# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14*042d53a7SEvalZero# KIND, either express or implied.  See the License for the
15*042d53a7SEvalZero# specific language governing permissions and limitations
16*042d53a7SEvalZero# under the License.
17*042d53a7SEvalZero#
18*042d53a7SEvalZero
19*042d53a7SEvalZerosyscfg.defs:
20*042d53a7SEvalZero    # Supported GAP roles.  By default, all four roles are enabled.
21*042d53a7SEvalZero    BLE_ROLE_CENTRAL:
22*042d53a7SEvalZero        description: 'Enables the Central bluetooth role. (0/1)'
23*042d53a7SEvalZero        value: 1
24*042d53a7SEvalZero    BLE_ROLE_PERIPHERAL:
25*042d53a7SEvalZero        description: 'Enables the Peripheral bluetooth role. (0/1)'
26*042d53a7SEvalZero        value: 1
27*042d53a7SEvalZero    BLE_ROLE_BROADCASTER:
28*042d53a7SEvalZero        description: 'Enables the Broadcaster bluetooth role. (0/1)'
29*042d53a7SEvalZero        value: 1
30*042d53a7SEvalZero    BLE_ROLE_OBSERVER:
31*042d53a7SEvalZero        description: 'Enables the Observer bluetooth role. (0/1)'
32*042d53a7SEvalZero        value: 1
33*042d53a7SEvalZero
34*042d53a7SEvalZero    BLE_MAX_CONNECTIONS:
35*042d53a7SEvalZero        description: 'The maximum number of concurrent connections.'
36*042d53a7SEvalZero        value: 1
37*042d53a7SEvalZero    BLE_WHITELIST:
38*042d53a7SEvalZero        description: >
39*042d53a7SEvalZero            Enables the BLE whitelist for controlling who to connect to or
40*042d53a7SEvalZero            accept a connection from. (0/1)
41*042d53a7SEvalZero        value: 1
42*042d53a7SEvalZero    BLE_MULTI_ADV_INSTANCES:
43*042d53a7SEvalZero        description: >
44*042d53a7SEvalZero            This is the number of multi-advertising instances. This is NOT the
45*042d53a7SEvalZero            total number of advertising instances. The total number of
46*042d53a7SEvalZero            advertising instances is this number plus 1 (assuming the device
47*042d53a7SEvalZero            supports advertising).
48*042d53a7SEvalZero        value: 0
49*042d53a7SEvalZero    BLE_EXT_ADV:
50*042d53a7SEvalZero        description: >
51*042d53a7SEvalZero            This enables extended advertising feature.
52*042d53a7SEvalZero        value: 0
53*042d53a7SEvalZero    BLE_EXT_ADV_MAX_SIZE:
54*042d53a7SEvalZero        description: >
55*042d53a7SEvalZero            This allows to configure maximum size of advertising data and
56*042d53a7SEvalZero            scan response data used in LE Advertising Extensions.
57*042d53a7SEvalZero            Valid range 31-1650.
58*042d53a7SEvalZero        value: 31
59