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