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