xref: /nrf52832-nimble/packages/NimBLE-latest/apps/blecsc/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.vals:
20    # Disable central and observer roles.
21    BLE_ROLE_BROADCASTER: 1
22    BLE_ROLE_CENTRAL: 0
23    BLE_ROLE_OBSERVER: 0
24    BLE_ROLE_PERIPHERAL: 1
25
26    # Disable unused eddystone feature.
27    BLE_EDDYSTONE: 0
28
29    # Log reboot messages to a flash circular buffer.
30    REBOOT_LOG_FCB: 1
31    LOG_FCB: 1
32    CONFIG_FCB: 1
33
34    # Set public device address.
35    BLE_PUBLIC_DEV_ADDR: ((uint8_t[6]){0xcc, 0xbb, 0xaa, 0x33, 0x22, 0x11})
36
37    # Set device appearance to Cycling Speed and Cadence Sensor
38    BLE_SVC_GAP_APPEARANCE: BLE_SVC_GAP_APPEARANCE_CYC_SPEED_AND_CADENCE_SENSOR
39