xref: /nrf52832-nimble/packages/NimBLE-latest/nimble/host/services/dis/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    BLE_SVC_DIS_DEFAULT_READ_PERM:
21        description: >
22            Defines default permissions for reading characteristics. Can be
23            zero to allow read without extra permissions or combination of:
24                BLE_GATT_CHR_F_READ_ENC
25                BLE_GATT_CHR_F_READ_AUTHEN
26                BLE_GATT_CHR_F_READ_AUTHOR
27            Set to '-1' to remove this characteristic.
28        value: -1
29    BLE_SVC_DIS_MODEL_NUMBER_READ_PERM:
30        description: >
31            Defines permissions for reading "Model Number" characteristics.
32            Can be set to MYNEWT_VAL_BLE_SVC_DIS_DEFAULT_READ_PERM or use
33            the possible values defined in BLE_SVC_DIS_DEFAULT_READ_PERM.
34        value: 0
35    BLE_SVC_DIS_MODEL_NUMBER_DEFAULT:
36        description: >
37            Defines a default value for "Model number" if not set with
38            'ble_svc_dis_model_number_set'.
39        value: '"Apache Mynewt NimBLE"'
40    BLE_SVC_DIS_SERIAL_NUMBER_READ_PERM:
41        description: >
42            Defines permissions for reading "Serial Number" characteristics.
43            Can be set to MYNEWT_VAL_BLE_SVC_DIS_DEFAULT_READ_PERM or use
44            the possible values defined in BLE_SVC_DIS_DEFAULT_READ_PERM.
45        value: MYNEWT_VAL_BLE_SVC_DIS_DEFAULT_READ_PERM
46    BLE_SVC_DIS_SERIAL_NUMBER_DEFAULT:
47        description: >
48            Defines a default value for "Serial number" if not set with
49            'ble_svc_dis_serial_number_set'.
50        value: NULL
51    BLE_SVC_DIS_HARDWARE_REVISION_READ_PERM:
52        description: >
53            Defines permissions for reading "Hardware Revision" characteristics.
54            Can be set to MYNEWT_VAL_BLE_SVC_DIS_DEFAULT_READ_PERM or use
55            the possible values defined in BLE_SVC_DIS_DEFAULT_READ_PERM.
56        value: MYNEWT_VAL_BLE_SVC_DIS_DEFAULT_READ_PERM
57    BLE_SVC_DIS_HARDWARE_REVISION_DEFAULT:
58        description: >
59            Defines a default value for "Hardware revision" if not set with
60            'ble_svc_dis_hardware_revision_set'.
61        value: NULL
62    BLE_SVC_DIS_FIRMWARE_REVISION_READ_PERM:
63        description: >
64            Defines permissions for reading "Firmware Revision" characteristics.
65            Can be set to MYNEWT_VAL_BLE_SVC_DIS_DEFAULT_READ_PERM or use
66            the possible values defined in BLE_SVC_DIS_DEFAULT_READ_PERM.
67        value: MYNEWT_VAL_BLE_SVC_DIS_DEFAULT_READ_PERM
68    BLE_SVC_DIS_FIRMWARE_REVISION_DEFAULT:
69        description: >
70            Defines a default value for "Software revision" if not set with
71            'ble_svc_dis_firmware_revision_set'.
72        value: NULL
73    BLE_SVC_DIS_SOFTWARE_REVISION_READ_PERM:
74        description: >
75            Defines permissions for reading "Software Revision" characteristics.
76            Can be set to MYNEWT_VAL_BLE_SVC_DIS_DEFAULT_READ_PERM or use
77            the possible values defined in BLE_SVC_DIS_DEFAULT_READ_PERM.
78        value: MYNEWT_VAL_BLE_SVC_DIS_DEFAULT_READ_PERM
79    BLE_SVC_DIS_SOFTWARE_REVISION_DEFAULT:
80        description: >
81            Defines a default value for "Software revision" if not set with
82            'ble_svc_dis_software_revision_set'.
83        value: NULL
84    BLE_SVC_DIS_MANUFACTURER_NAME_READ_PERM:
85        description: >
86            Defines permissions for reading "Manufacturer name" characteristics.
87            Can be set to MYNEWT_VAL_BLE_SVC_DIS_DEFAULT_READ_PERM or use
88            the possible values defined in BLE_SVC_DIS_DEFAULT_READ_PERM.
89        value: MYNEWT_VAL_BLE_SVC_DIS_DEFAULT_READ_PERM
90    BLE_SVC_DIS_MANUFACTURER_NAME_DEFAULT:
91        description: >
92            Defines a default value for "Manufacturer name" if not set with
93            'ble_svc_dis_manufacturer_name_set'.
94        value: NULL
95    BLE_SVC_DIS_SYSINIT_STAGE:
96        description: >
97            Sysinit stage for the device information BLE service.
98        value: 303
99