xref: /nrf52832-nimble/packages/NimBLE-latest/nimble/host/mesh/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    BLE_MESH_PROV:
21*042d53a7SEvalZero        description: >
22*042d53a7SEvalZero            Enable provisioning. It is automatically enabled whenever
23*042d53a7SEvalZero            BLE_MESH_PB_ADV or BLE_MESH_PB_GATT is set.
24*042d53a7SEvalZero        value: 1
25*042d53a7SEvalZero
26*042d53a7SEvalZero    BLE_MESH_PB_ADV:
27*042d53a7SEvalZero        description: >
28*042d53a7SEvalZero           Enable this option to allow the device to be provisioned over
29*042d53a7SEvalZero           the advertising bearer.
30*042d53a7SEvalZero        value: 1
31*042d53a7SEvalZero
32*042d53a7SEvalZero    BLE_MESH_PROXY:
33*042d53a7SEvalZero        description: >
34*042d53a7SEvalZero           Enable proxy. This is automatically set whenever BLE_MESH_PB_GATT or
35*042d53a7SEvalZero           BLE_MESH_GATT_PROXY is set.
36*042d53a7SEvalZero        value: 0
37*042d53a7SEvalZero
38*042d53a7SEvalZero    BLE_MESH_PB_GATT:
39*042d53a7SEvalZero        description: >
40*042d53a7SEvalZero           Enable this option to allow the device to be provisioned over
41*042d53a7SEvalZero           the GATT bearer.
42*042d53a7SEvalZero        value: 1
43*042d53a7SEvalZero
44*042d53a7SEvalZero    BLE_MESH_GATT_PROXY:
45*042d53a7SEvalZero        description: >
46*042d53a7SEvalZero            This option enables support for the Mesh GATT Proxy Service,
47*042d53a7SEvalZero            i.e. the ability to act as a proxy between a Mesh GATT Client
48*042d53a7SEvalZero            and a Mesh network.
49*042d53a7SEvalZero        value: 1
50*042d53a7SEvalZero
51*042d53a7SEvalZero    BLE_MESH_NODE_ID_TIMEOUT:
52*042d53a7SEvalZero        description: >
53*042d53a7SEvalZero            This option determines for how long the local node advertises
54*042d53a7SEvalZero            using Node Identity. The given value is in seconds. The
55*042d53a7SEvalZero            specification limits this to 60 seconds, and implies that to
56*042d53a7SEvalZero            be the appropriate value as well, so just leaving this as the
57*042d53a7SEvalZero            default is the safest option.
58*042d53a7SEvalZero        value: 60
59*042d53a7SEvalZero
60*042d53a7SEvalZero    BLE_MESH_PROXY_FILTER_SIZE:
61*042d53a7SEvalZero        descryption: >
62*042d53a7SEvalZero            This option specifies how many Proxy Filter entries the local
63*042d53a7SEvalZero            node supports.
64*042d53a7SEvalZero        value: 1
65*042d53a7SEvalZero
66*042d53a7SEvalZero    BLE_MESH_SUBNET_COUNT:
67*042d53a7SEvalZero        description: >
68*042d53a7SEvalZero            This option specifies how many subnets a Mesh network can
69*042d53a7SEvalZero            participate in at the same time.
70*042d53a7SEvalZero        value: 1
71*042d53a7SEvalZero
72*042d53a7SEvalZero    BLE_MESH_APP_KEY_COUNT:
73*042d53a7SEvalZero        description: >
74*042d53a7SEvalZero            This option specifies how many application keys the device can
75*042d53a7SEvalZero            store per network.
76*042d53a7SEvalZero        value: 1
77*042d53a7SEvalZero
78*042d53a7SEvalZero    BLE_MESH_MODEL_KEY_COUNT:
79*042d53a7SEvalZero        description: >
80*042d53a7SEvalZero             This option specifies how many application keys each model can
81*042d53a7SEvalZero             at most be bound to.
82*042d53a7SEvalZero        value: 1
83*042d53a7SEvalZero
84*042d53a7SEvalZero    BLE_MESH_MODEL_GROUP_COUNT:
85*042d53a7SEvalZero        description: >
86*042d53a7SEvalZero            This option specifies how many group addresses each model can
87*042d53a7SEvalZero            at most be subscribed to.
88*042d53a7SEvalZero        value: 1
89*042d53a7SEvalZero
90*042d53a7SEvalZero    BLE_MESH_LABEL_COUNT:
91*042d53a7SEvalZero        description: >
92*042d53a7SEvalZero            This option specifies how many Label UUIDs can be stored.
93*042d53a7SEvalZero        value: 1
94*042d53a7SEvalZero
95*042d53a7SEvalZero    BLE_MESH_CRPL:
96*042d53a7SEvalZero        description: >
97*042d53a7SEvalZero            This options specifies the maximum capacity of the replay
98*042d53a7SEvalZero            protection list. This option is similar to the network message
99*042d53a7SEvalZero            cache size, but has a different purpose.
100*042d53a7SEvalZero        value: 10
101*042d53a7SEvalZero
102*042d53a7SEvalZero    BLE_MESH_ADV_TASK_PRIO:
103*042d53a7SEvalZero        description: >
104*042d53a7SEvalZero            Advertising task prio (FIXME)
105*042d53a7SEvalZero        type: task_priority
106*042d53a7SEvalZero        value: 9
107*042d53a7SEvalZero
108*042d53a7SEvalZero    BLE_MESH_MSG_CACHE_SIZE:
109*042d53a7SEvalZero        description: >
110*042d53a7SEvalZero            Number of messages that are cached for the network. This description
111*042d53a7SEvalZero            prevent unnecessary decryption operations and unnecessary
112*042d53a7SEvalZero            relays. This option is similar to the replay protection list,
113*042d53a7SEvalZero            but has a different purpose.
114*042d53a7SEvalZero        value: 10
115*042d53a7SEvalZero
116*042d53a7SEvalZero    BLE_MESH_ADV_BUF_COUNT:
117*042d53a7SEvalZero        description: >
118*042d53a7SEvalZero            Number of advertising buffers available. This should be chosen
119*042d53a7SEvalZero            based on what kind of features the local node shoule have. E.g.
120*042d53a7SEvalZero            a relay will perform better the more buffers it has. Another
121*042d53a7SEvalZero            thing to consider is outgoing segmented messages. There must
122*042d53a7SEvalZero            be at least three more advertising buffers than the maximum
123*042d53a7SEvalZero            supported outgoing segment count (BT_MESH_TX_SEG_MAX).
124*042d53a7SEvalZero        value: 6
125*042d53a7SEvalZero
126*042d53a7SEvalZero    BLE_MESH_IVU_DIVIDER:
127*042d53a7SEvalZero        description: >
128*042d53a7SEvalZero            When the IV Update state enters Normal operation or IV Update
129*042d53a7SEvalZero            in Progress, we need to keep track of how many hours has passed
130*042d53a7SEvalZero            in the state, since the specification requires us to remain in
131*042d53a7SEvalZero            the state at least for 96 hours (Update in Progress has an
132*042d53a7SEvalZero            additional upper limit of 144 hours).
133*042d53a7SEvalZero
134*042d53a7SEvalZero            In order to fulfil the above requirement, even if the node might
135*042d53a7SEvalZero            be powered off once in a while, we need to store persistently
136*042d53a7SEvalZero            how many hours the node has been in the state. This doesn't
137*042d53a7SEvalZero            necessarily need to happen every hour (thanks to the flexible
138*042d53a7SEvalZero            duration range). The exact cadence will depend a lot on the
139*042d53a7SEvalZero            ways that the node will be used and what kind of power source it
140*042d53a7SEvalZero            has.
141*042d53a7SEvalZero
142*042d53a7SEvalZero            Since there is no single optimal answer, this configuration
143*042d53a7SEvalZero            option allows specifying a divider, i.e. how many intervals
144*042d53a7SEvalZero            the 96 hour minimum gets split into. After each interval the
145*042d53a7SEvalZero            duration that the node has been in the current state gets
146*042d53a7SEvalZero            stored to flash. E.g. the default value of 4 means that the
147*042d53a7SEvalZero            state is saved every 24 hours (96 / 4).
148*042d53a7SEvalZero        value: 4
149*042d53a7SEvalZero
150*042d53a7SEvalZero    BLE_MESH_TX_SEG_MSG_COUNT:
151*042d53a7SEvalZero        description: >
152*042d53a7SEvalZero            Maximum number of simultaneous outgoing multi-segment and/or
153*042d53a7SEvalZero            reliable messages.
154*042d53a7SEvalZero        value: 4
155*042d53a7SEvalZero
156*042d53a7SEvalZero    BLE_MESH_RX_SEG_MSG_COUNT:
157*042d53a7SEvalZero        description: >
158*042d53a7SEvalZero            Maximum number of simultaneous incoming multi-segment and/or
159*042d53a7SEvalZero            reliable messages.
160*042d53a7SEvalZero        value: 2
161*042d53a7SEvalZero
162*042d53a7SEvalZero    BLE_MESH_RX_SDU_MAX:
163*042d53a7SEvalZero        description: >
164*042d53a7SEvalZero            Maximum incoming Upper Transport Access PDU length. This
165*042d53a7SEvalZero            determines also how many segments incoming segmented messages
166*042d53a7SEvalZero            can have. Each segment can contain 12 bytes, so this value should
167*042d53a7SEvalZero            be set to a multiple of 12 to avoid wasted memory. The minimum
168*042d53a7SEvalZero            requirement is 2 segments (24 bytes) whereas the maximum supported
169*042d53a7SEvalZero            by the Mesh specification is 32 segments (384 bytes).
170*042d53a7SEvalZero        value: 72
171*042d53a7SEvalZero
172*042d53a7SEvalZero    BLE_MESH_TX_SEG_MAX:
173*042d53a7SEvalZero        description: >
174*042d53a7SEvalZero            Maximum number of segments supported for outgoing messages.
175*042d53a7SEvalZero            This value should typically be fine-tuned based on what
176*042d53a7SEvalZero            models the local node supports, i.e. what's the largest
177*042d53a7SEvalZero            message payload that the node needs to be able to send.
178*042d53a7SEvalZero            This value affects memory and call stack consumption, which
179*042d53a7SEvalZero            is why the default is lower than the maximum that the
180*042d53a7SEvalZero            specification would allow (32 segments).
181*042d53a7SEvalZero
182*042d53a7SEvalZero            The maximum outgoing SDU size is 12 times this number (out of
183*042d53a7SEvalZero            which 4 or 8 bytes is used for the Transport Layer MIC). For
184*042d53a7SEvalZero            example, 5 segments means the maximum SDU size is 60 bytes,
185*042d53a7SEvalZero            which leaves 56 bytes for application layer data using a
186*042d53a7SEvalZero            4-byte MIC and 52 bytes using an 8-byte MIC.
187*042d53a7SEvalZero
188*042d53a7SEvalZero            Be sure to specify a sufficient number of advertising buffers
189*042d53a7SEvalZero            when setting this option to a higher value. There must be at
190*042d53a7SEvalZero            least three more advertising buffers (BT_MESH_ADV_BUF_COUNT)
191*042d53a7SEvalZero            as there are outgoing segments.
192*042d53a7SEvalZero        value: 3
193*042d53a7SEvalZero
194*042d53a7SEvalZero    BLE_MESH_RELAY:
195*042d53a7SEvalZero        description: >
196*042d53a7SEvalZero            Support for acting as a Mesh Relay Node.
197*042d53a7SEvalZero        value: 0
198*042d53a7SEvalZero
199*042d53a7SEvalZero    BLE_MESH_LOW_POWER:
200*042d53a7SEvalZero        description: >
201*042d53a7SEvalZero           Enable this option to be able to act as a Low Power Node.
202*042d53a7SEvalZero        value: 0
203*042d53a7SEvalZero
204*042d53a7SEvalZero    BLE_MESH_LPN_ESTABLISHMENT:
205*042d53a7SEvalZero        description: >
206*042d53a7SEvalZero           Perform the Friendship establishment using low power, with
207*042d53a7SEvalZero           the help of a reduced scan duty cycle. The downside of this
208*042d53a7SEvalZero           is that the node may miss out on messages intended for it
209*042d53a7SEvalZero           until it has successfully set up Friendship with a Friend
210*042d53a7SEvalZero           node.
211*042d53a7SEvalZero        value: 1
212*042d53a7SEvalZero
213*042d53a7SEvalZero    BLE_MESH_LPN_AUTO:
214*042d53a7SEvalZero        description: >
215*042d53a7SEvalZero           Automatically enable LPN functionality once provisioned and start
216*042d53a7SEvalZero           looking for Friend nodes. If this option is disabled LPN mode
217*042d53a7SEvalZero           needs to be manually enabled by calling bt_mesh_lpn_set(true).
218*042d53a7SEvalZero           node.
219*042d53a7SEvalZero        value: 1
220*042d53a7SEvalZero
221*042d53a7SEvalZero    BLE_MESH_LPN_AUTO_TIMEOUT:
222*042d53a7SEvalZero        description: >
223*042d53a7SEvalZero           Time in seconds from the last received message, that the node
224*042d53a7SEvalZero           will wait before starting to look for Friend nodes.
225*042d53a7SEvalZero        value: 15
226*042d53a7SEvalZero
227*042d53a7SEvalZero    BLE_MESH_LPN_RETRY_TIMEOUT:
228*042d53a7SEvalZero        description: >
229*042d53a7SEvalZero           Time in seconds between Friend Requests, if a previous Friend
230*042d53a7SEvalZero           Request did not receive any acceptable Friend Offers.
231*042d53a7SEvalZero        value: 8
232*042d53a7SEvalZero
233*042d53a7SEvalZero    BLE_MESH_LPN_RSSI_FACTOR:
234*042d53a7SEvalZero        description: >
235*042d53a7SEvalZero            The contribution of the RSSI measured by the Friend node used
236*042d53a7SEvalZero            in Friend Offer Delay calculations. 0 = 1, 1 = 1.5, 2 = 2, 3 = 2.5.
237*042d53a7SEvalZero        value: 0
238*042d53a7SEvalZero
239*042d53a7SEvalZero    BLE_MESH_LPN_RECV_WIN_FACTOR:
240*042d53a7SEvalZero        description: >
241*042d53a7SEvalZero           The contribution of the supported Receive Window used in
242*042d53a7SEvalZero           Friend Offer Delay calculations. 0 = 1, 1 = 1.5, 2 = 2, 3 = 2.5.
243*042d53a7SEvalZero        value: 0
244*042d53a7SEvalZero
245*042d53a7SEvalZero    BLE_MESH_LPN_MIN_QUEUE_SIZE:
246*042d53a7SEvalZero        description: >
247*042d53a7SEvalZero           The MinQueueSizeLog field is defined as log_2(N), where N is
248*042d53a7SEvalZero           the minimum number of maximum size Lower Transport PDUs that
249*042d53a7SEvalZero           the Friend node can store in its Friend Queue. As an example,
250*042d53a7SEvalZero           MinQueueSizeLog value 1 gives N = 2, and value 7 gives N = 128.
251*042d53a7SEvalZero        value: 1
252*042d53a7SEvalZero
253*042d53a7SEvalZero    BLE_MESH_LPN_RECV_DELAY:
254*042d53a7SEvalZero        description: >
255*042d53a7SEvalZero            The ReceiveDelay is the time between the Low Power node
256*042d53a7SEvalZero            sending a request and listening for a response. This delay
257*042d53a7SEvalZero            allows the Friend node time to prepare the response. The value
258*042d53a7SEvalZero            is in units of milliseconds.
259*042d53a7SEvalZero        value: 100
260*042d53a7SEvalZero
261*042d53a7SEvalZero    BLE_MESH_LPN_POLL_TIMEOUT:
262*042d53a7SEvalZero        description: >
263*042d53a7SEvalZero            PollTimeout timer is used to measure time between two
264*042d53a7SEvalZero            consecutive requests sent by the Low Power node. If no
265*042d53a7SEvalZero            requests are received by the Friend node before the
266*042d53a7SEvalZero            PollTimeout timer expires, then the friendship is considered
267*042d53a7SEvalZero            terminated. The value is in units of 100 milliseconds, so e.g.
268*042d53a7SEvalZero            a value of 300 means 30 seconds.
269*042d53a7SEvalZero        value: 300
270*042d53a7SEvalZero
271*042d53a7SEvalZero    BLE_MESH_LPN_INIT_POLL_TIMEOUT:
272*042d53a7SEvalZero        description: >
273*042d53a7SEvalZero            The initial value of the PollTimeout timer when Friendship
274*042d53a7SEvalZero            gets established for the first time. After this the timeout
275*042d53a7SEvalZero            will gradually grow toward the actual PollTimeout, doubling
276*042d53a7SEvalZero            in value for each iteration. The value is in units of 100
277*042d53a7SEvalZero            milliseconds, so e.g. a value of 300 means 3 seconds.
278*042d53a7SEvalZero        value: MYNEWT_VAL_BLE_MESH_LPN_POLL_TIMEOUT
279*042d53a7SEvalZero
280*042d53a7SEvalZero    BLE_MESH_LPN_SCAN_LATENCY:
281*042d53a7SEvalZero        description: >
282*042d53a7SEvalZero            Latency in milliseconds that it takes to enable scanning. This
283*042d53a7SEvalZero            is in practice how much time in advance before the Receive Window
284*042d53a7SEvalZero            that scanning is requested to be enabled.
285*042d53a7SEvalZero        value: 10
286*042d53a7SEvalZero
287*042d53a7SEvalZero    BLE_MESH_LPN_GROUPS:
288*042d53a7SEvalZero        description: >
289*042d53a7SEvalZero            Maximum number of groups that the LPN can subscribe to.
290*042d53a7SEvalZero        value: 10
291*042d53a7SEvalZero
292*042d53a7SEvalZero    BLE_MESH_FRIEND:
293*042d53a7SEvalZero        description: >
294*042d53a7SEvalZero            Enable this option to be able to act as a Friend Node.
295*042d53a7SEvalZero        value: 0
296*042d53a7SEvalZero
297*042d53a7SEvalZero    BLE_MESH_FRIEND_RECV_WIN:
298*042d53a7SEvalZero        description: >
299*042d53a7SEvalZero            Receive Window in milliseconds supported by the Friend node.
300*042d53a7SEvalZero        value: 255
301*042d53a7SEvalZero
302*042d53a7SEvalZero    BLE_MESH_FRIEND_QUEUE_SIZE:
303*042d53a7SEvalZero        description: >
304*042d53a7SEvalZero            Minimum number of buffers available to be stored for each
305*042d53a7SEvalZero            local Friend Queue.
306*042d53a7SEvalZero        value: 16
307*042d53a7SEvalZero
308*042d53a7SEvalZero    BLE_MESH_FRIEND_SUB_LIST_SIZE:
309*042d53a7SEvalZero        description: >
310*042d53a7SEvalZero            Size of the Subscription List that can be supported by a
311*042d53a7SEvalZero            Friend node for a Low Power node.
312*042d53a7SEvalZero        value: 3
313*042d53a7SEvalZero
314*042d53a7SEvalZero    BLE_MESH_FRIEND_LPN_COUNT:
315*042d53a7SEvalZero        description: >
316*042d53a7SEvalZero            Number of Low Power Nodes the Friend can have a Friendship
317*042d53a7SEvalZero            with simultaneously.
318*042d53a7SEvalZero        value: 2
319*042d53a7SEvalZero
320*042d53a7SEvalZero    BLE_MESH_FRIEND_SEG_RX:
321*042d53a7SEvalZero        description: >
322*042d53a7SEvalZero            Number of incomplete segment lists that we track for each LPN
323*042d53a7SEvalZero            that we are Friends for. In other words, this determines how
324*042d53a7SEvalZero            many elements we can simultaneously be receiving segmented
325*042d53a7SEvalZero            messages from when the messages are going into the Friend queue.
326*042d53a7SEvalZero        value: 1
327*042d53a7SEvalZero
328*042d53a7SEvalZero    BLE_MESH_CFG_CLI:
329*042d53a7SEvalZero        description: >
330*042d53a7SEvalZero            Enable support for the configuration client model.
331*042d53a7SEvalZero        value: 0
332*042d53a7SEvalZero
333*042d53a7SEvalZero    BLE_MESH_HEALTH_CLI:
334*042d53a7SEvalZero        description: >
335*042d53a7SEvalZero            Enable support for the health client model.
336*042d53a7SEvalZero        value: 0
337*042d53a7SEvalZero
338*042d53a7SEvalZero    BLE_MESH_SHELL:
339*042d53a7SEvalZero        description: >
340*042d53a7SEvalZero            Activate shell module that provides Bluetooth Mesh commands to
341*042d53a7SEvalZero            the console.
342*042d53a7SEvalZero        value: 0
343*042d53a7SEvalZero
344*042d53a7SEvalZero    BLE_MESH_DEBUG:
345*042d53a7SEvalZero        description: >
346*042d53a7SEvalZero            Use this option to enable debug logs for the Bluetooth
347*042d53a7SEvalZero            Mesh functionality.
348*042d53a7SEvalZero        value: 0
349*042d53a7SEvalZero
350*042d53a7SEvalZero    BLE_MESH_DEBUG_NET:
351*042d53a7SEvalZero        description: >
352*042d53a7SEvalZero            Use this option to enable Network layer debug logs for the
353*042d53a7SEvalZero            Bluetooth Mesh functionality.
354*042d53a7SEvalZero        value: 0
355*042d53a7SEvalZero
356*042d53a7SEvalZero    BLE_MESH_DEBUG_TRANS:
357*042d53a7SEvalZero        description: >
358*042d53a7SEvalZero            Use this option to enable Transport layer debug logs for the
359*042d53a7SEvalZero            Bluetooth Mesh functionality.
360*042d53a7SEvalZero        value: 0
361*042d53a7SEvalZero
362*042d53a7SEvalZero    BLE_MESH_DEBUG_BEACON:
363*042d53a7SEvalZero        description: >
364*042d53a7SEvalZero            Use this option to enable Beacon-related debug logs for the
365*042d53a7SEvalZero            Bluetooth Mesh functionality.
366*042d53a7SEvalZero        value: 0
367*042d53a7SEvalZero
368*042d53a7SEvalZero    BLE_MESH_DEBUG_CRYPTO:
369*042d53a7SEvalZero        description: >
370*042d53a7SEvalZero            Use this option to enable cryptographic debug logs for the
371*042d53a7SEvalZero            Bluetooth Mesh functionality.
372*042d53a7SEvalZero        value: 0
373*042d53a7SEvalZero
374*042d53a7SEvalZero    BLE_MESH_DEBUG_PROV:
375*042d53a7SEvalZero        description: >
376*042d53a7SEvalZero            Use this option to enable Provisioning debug logs for the
377*042d53a7SEvalZero            Bluetooth Mesh functionality.
378*042d53a7SEvalZero        value: 0
379*042d53a7SEvalZero
380*042d53a7SEvalZero    BLE_MESH_DEBUG_ACCESS:
381*042d53a7SEvalZero        description: >
382*042d53a7SEvalZero            Use this option to enable Access layer and device composition
383*042d53a7SEvalZero            related debug logs for Bluetooth Mesh.
384*042d53a7SEvalZero        value: 0
385*042d53a7SEvalZero
386*042d53a7SEvalZero    BLE_MESH_DEBUG_MODEL:
387*042d53a7SEvalZero        description: >
388*042d53a7SEvalZero            Use this option to enable debug logs for the Foundation
389*042d53a7SEvalZero            Models.
390*042d53a7SEvalZero        value: 0
391*042d53a7SEvalZero
392*042d53a7SEvalZero    BLE_MESH_DEBUG_ADV:
393*042d53a7SEvalZero        description: >
394*042d53a7SEvalZero            Use this option to enable advertising debug logs for
395*042d53a7SEvalZero            the Bluetooth Mesh functionality.
396*042d53a7SEvalZero        value: 0
397*042d53a7SEvalZero
398*042d53a7SEvalZero    BLE_MESH_DEBUG_LOW_POWER:
399*042d53a7SEvalZero        description: >
400*042d53a7SEvalZero            Use this option to enable Low Power debug logs for the
401*042d53a7SEvalZero            Bluetooth Mesh functionality.
402*042d53a7SEvalZero        value: 0
403*042d53a7SEvalZero
404*042d53a7SEvalZero    BLE_MESH_DEBUG_FRIEND:
405*042d53a7SEvalZero        description: >
406*042d53a7SEvalZero            Use this option to enable Friend debug logs for the
407*042d53a7SEvalZero            Bluetooth Mesh functionality.
408*042d53a7SEvalZero        value: 0
409*042d53a7SEvalZero
410*042d53a7SEvalZero    BLE_MESH_DEBUG_PROXY:
411*042d53a7SEvalZero        description: >
412*042d53a7SEvalZero            Use this option to enable Proxy protocol debug logs.
413*042d53a7SEvalZero        value: 0
414*042d53a7SEvalZero
415*042d53a7SEvalZero    BLE_MESH_DEBUG_SETTINGS:
416*042d53a7SEvalZero        description: >
417*042d53a7SEvalZero            Use this option to enable persistent settings debug logs.
418*042d53a7SEvalZero        value: 1
419*042d53a7SEvalZero
420*042d53a7SEvalZero    BLE_MESH_IV_UPDATE_TEST:
421*042d53a7SEvalZero        description: >
422*042d53a7SEvalZero            This option removes the 96 hour limit of the IV Update
423*042d53a7SEvalZero            Procedure and lets the state be changed at any time.
424*042d53a7SEvalZero        value: 0
425*042d53a7SEvalZero
426*042d53a7SEvalZero    BLE_MESH_TESTING:
427*042d53a7SEvalZero        description: >
428*042d53a7SEvalZero            This option enables testing API.
429*042d53a7SEvalZero        value: 0
430*042d53a7SEvalZero
431*042d53a7SEvalZero    BLE_MESH_DEV_UUID:
432*042d53a7SEvalZero        description: >
433*042d53a7SEvalZero            Device UUID
434*042d53a7SEvalZero        value: ((uint8_t[16]){0x11, 0x22, 0})
435*042d53a7SEvalZero
436*042d53a7SEvalZero    BLE_MESH_SHELL_MODELS:
437*042d53a7SEvalZero        description: >
438*042d53a7SEvalZero            Include implementation of some demo models.
439*042d53a7SEvalZero        value: 0
440*042d53a7SEvalZero
441*042d53a7SEvalZero    BLE_MESH_OOB_OUTPUT_ACTIONS:
442*042d53a7SEvalZero        description: >
443*042d53a7SEvalZero            Supported Output OOB Actions
444*042d53a7SEvalZero            BT_MESH_NO_OUTPUT       = 0,
445*042d53a7SEvalZero            BT_MESH_BLINK           = BIT(0)
446*042d53a7SEvalZero            BT_MESH_BEEP            = BIT(1)
447*042d53a7SEvalZero            BT_MESH_VIBRATE         = BIT(2)
448*042d53a7SEvalZero            BT_MESH_DISPLAY_NUMBER  = BIT(3)
449*042d53a7SEvalZero            BT_MESH_DISPLAY_STRING  = BIT(4)
450*042d53a7SEvalZero        value: ((BT_MESH_DISPLAY_NUMBER))
451*042d53a7SEvalZero
452*042d53a7SEvalZero    BLE_MESH_OOB_OUTPUT_SIZE:
453*042d53a7SEvalZero        description: >
454*042d53a7SEvalZero            Output OOB size
455*042d53a7SEvalZero        value: 4
456*042d53a7SEvalZero
457*042d53a7SEvalZero    BLE_MESH_OOB_INPUT_ACTIONS:
458*042d53a7SEvalZero        description: >
459*042d53a7SEvalZero            Supported Input OOB Actions
460*042d53a7SEvalZero            BT_MESH_NO_INPUT      = 0,
461*042d53a7SEvalZero            BT_MESH_PUSH          = BIT(0)
462*042d53a7SEvalZero            BT_MESH_TWIST         = BIT(1)
463*042d53a7SEvalZero            BT_MESH_ENTER_NUMBER  = BIT(2)
464*042d53a7SEvalZero            BT_MESH_ENTER_STRING  = BIT(3)
465*042d53a7SEvalZero        value: ((BT_MESH_NO_INPUT))
466*042d53a7SEvalZero
467*042d53a7SEvalZero    BLE_MESH_OOB_INPUT_SIZE:
468*042d53a7SEvalZero        description: >
469*042d53a7SEvalZero            Input OOB size
470*042d53a7SEvalZero        value: 4
471*042d53a7SEvalZero
472*042d53a7SEvalZero    BLE_MESH_SETTINGS:
473*042d53a7SEvalZero        description: >
474*042d53a7SEvalZero            This option enables Mesh settings storage.
475*042d53a7SEvalZero        value: 1
476*042d53a7SEvalZero
477*042d53a7SEvalZero    BLE_MESH_STORE_TIMEOUT:
478*042d53a7SEvalZero        description: >
479*042d53a7SEvalZero            This value defines in seconds how soon any pending changes
480*042d53a7SEvalZero            are actually written into persistent storage (flash) after
481*042d53a7SEvalZero            a change occurs.
482*042d53a7SEvalZero        value: 2
483*042d53a7SEvalZero
484*042d53a7SEvalZero    BLE_MESH_SEQ_STORE_RATE:
485*042d53a7SEvalZero        description: >
486*042d53a7SEvalZero            This value defines how often the local sequence number gets
487*042d53a7SEvalZero            updated in persistent storage (i.e. flash). E.g. a value of 100
488*042d53a7SEvalZero            means that the sequence number will be stored to flash on every
489*042d53a7SEvalZero            100th increment. If the node sends messages very frequently a
490*042d53a7SEvalZero            higher value makes more sense, whereas if the node sends
491*042d53a7SEvalZero            infrequently a value as low as 0 (update storage for every
492*042d53a7SEvalZero            increment) can make sense. When the stack gets initialized it
493*042d53a7SEvalZero            will add this number to the last stored one, so that it starts
494*042d53a7SEvalZero            off with a value that's guaranteed to be larger than the last
495*042d53a7SEvalZero            one used before power off.
496*042d53a7SEvalZero        value: 128
497*042d53a7SEvalZero
498*042d53a7SEvalZero    BLE_MESH_RPL_STORE_TIMEOUT:
499*042d53a7SEvalZero        description: >
500*042d53a7SEvalZero            This value defines in seconds how soon the RPL gets written to
501*042d53a7SEvalZero            persistent storage after a change occurs. If the node receives
502*042d53a7SEvalZero            messages frequently it may make sense to have this set to a
503*042d53a7SEvalZero            large value, whereas if the RPL gets updated infrequently a
504*042d53a7SEvalZero            value as low as 0 (write immediately) may make sense. Note that
505*042d53a7SEvalZero            if the node operates a security sensitive use case, and there's
506*042d53a7SEvalZero            a risk of sudden power loss, it may be a security vulnerability
507*042d53a7SEvalZero            to set this value to anything else than 0 (a power loss before
508*042d53a7SEvalZero            writing to storage exposes the node to potential message
509*042d53a7SEvalZero            replay attacks).
510*042d53a7SEvalZero        value: 5
511*042d53a7SEvalZero
512*042d53a7SEvalZero    BLE_MESH_DEVICE_NAME:
513*042d53a7SEvalZero        description: >
514*042d53a7SEvalZero            This value defines BLE Mesh device/node name.
515*042d53a7SEvalZero        value: '"nimble-mesh-node"'
516*042d53a7SEvalZero
517*042d53a7SEvalZero    BLE_MESH_SYSINIT_STAGE:
518*042d53a7SEvalZero        description: >
519*042d53a7SEvalZero            Primary sysinit stage for BLE mesh functionality.
520*042d53a7SEvalZero        value: 500
521*042d53a7SEvalZero
522*042d53a7SEvalZero    BLE_MESH_SYSINIT_STAGE_SHELL:
523*042d53a7SEvalZero        description: >
524*042d53a7SEvalZero            Secondary sysinit stage for BLE mesh functionality.
525*042d53a7SEvalZero        value: 1000
526*042d53a7SEvalZero
527*042d53a7SEvalZerosyscfg.vals.BLE_MESH_SHELL:
528*042d53a7SEvalZero    BLE_MESH_CFG_CLI: 1
529*042d53a7SEvalZero    BLE_MESH_HEALTH_CLI: 1
530*042d53a7SEvalZero    BLE_MESH_IV_UPDATE_TEST: 1
531*042d53a7SEvalZero
532*042d53a7SEvalZerosyscfg.vals.BLE_MESH_GATT_PROXY:
533*042d53a7SEvalZero    BLE_MESH_PROXY: 1
534*042d53a7SEvalZero
535*042d53a7SEvalZerosyscfg.vals.BLE_MESH_PB_GATT:
536*042d53a7SEvalZero    BLE_MESH_PROXY: 1
537*042d53a7SEvalZero    BLE_MESH_PROV: 1
538*042d53a7SEvalZero
539*042d53a7SEvalZerosyscfg.vals.BLE_MESH_PB_ADV:
540*042d53a7SEvalZero    BLE_MESH_PROV: 1
541