InfiniTime.git

ref: 0195ece317d15bcba7dfbd74b58bb8dbcd3bca0a

src/libs/mynewt-nimble/nimble/host/mesh/syscfg.yml


  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements.  See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership.  The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License.  You may obtain a copy of the License at
#
#  http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied.  See the License for the
# specific language governing permissions and limitations
# under the License.
#

syscfg.defs:
    BLE_MESH_PROV:
        description: >
            Enable provisioning. It is automatically enabled whenever
            BLE_MESH_PB_ADV or BLE_MESH_PB_GATT is set.            
        value: 1

    BLE_MESH_PB_ADV:
        description: >
           Enable this option to allow the device to be provisioned over
           the advertising bearer.           
        value: 1

    BLE_MESH_PROVISIONER:
        description: >
                        Enable this option to have support for provisioning remote devices.
        value: 0
        restrictions:
            - (BLE_MESH_PROV)

    BLE_MESH_NODE_COUNT:
        description: >
            This option specifies how many nodes each network can at most
            save in the provisioning database. Range 1-4096            
        value: 1

    BLE_MESH_PROXY:
        description: >
           Enable proxy. This is automatically set whenever BLE_MESH_PB_GATT or
           BLE_MESH_GATT_PROXY is set.           
        value: 0

    BLE_MESH_PB_GATT:
        description: >
           Enable this option to allow the device to be provisioned over
           the GATT bearer.           
        value: 1

    BLE_MESH_GATT_PROXY:
        description: >
            This option enables support for the Mesh GATT Proxy Service,
            i.e. the ability to act as a proxy between a Mesh GATT Client
            and a Mesh network.            
        value: 1

    BLE_MESH_NODE_ID_TIMEOUT:
        description: >
            This option determines for how long the local node advertises
            using Node Identity. The given value is in seconds. The
            specification limits this to 60 seconds, and implies that to
            be the appropriate value as well, so just leaving this as the
            default is the safest option.            
        value: 60

    BLE_MESH_PROXY_FILTER_SIZE:
        descryption: >
            This option specifies how many Proxy Filter entries the local
            node supports.            
        value: 1

    BLE_MESH_SUBNET_COUNT:
        description: >
            This option specifies how many subnets a Mesh network can
            participate in at the same time.            
        value: 1

    BLE_MESH_APP_KEY_COUNT:
        description: >
            This option specifies how many application keys the device can
            store per network.            
        value: 1

    BLE_MESH_MODEL_KEY_COUNT:
        description: >
             This option specifies how many application keys each model can
             at most be bound to.             
        value: 1

    BLE_MESH_MODEL_GROUP_COUNT:
        description: >
            This option specifies how many group addresses each model can
            at most be subscribed to.            
        value: 1

    BLE_MESH_LABEL_COUNT:
        description: >
                        This option specifies how many Label UUIDs can be stored.
        value: 1

    BLE_MESH_CRPL:
        description: >
            This options specifies the maximum capacity of the replay
            protection list. This option is similar to the network message
            cache size, but has a different purpose.            
        value: 10

    BLE_MESH_ADV_TASK_PRIO:
        description: >
                        Advertising task prio (FIXME)
        type: task_priority
        value: 9

    BLE_MESH_MSG_CACHE_SIZE:
        description: >
            Number of messages that are cached for the network. This description
            prevent unnecessary decryption operations and unnecessary
            relays. This option is similar to the replay protection list,
            but has a different purpose.            
        value: 10

    BLE_MESH_ADV_BUF_COUNT:
        description: >
            Number of advertising buffers available. This should be chosen
            based on what kind of features the local node shoule have. E.g.
            a relay will perform better the more buffers it has. Another
            thing to consider is outgoing segmented messages. There must
            be at least three more advertising buffers than the maximum
            supported outgoing segment count (BT_MESH_TX_SEG_MAX).            
        value: 6

    BLE_MESH_IVU_DIVIDER:
        description: >
            When the IV Update state enters Normal operation or IV Update
            in Progress, we need to keep track of how many hours has passed
            in the state, since the specification requires us to remain in
            the state at least for 96 hours (Update in Progress has an
            additional upper limit of 144 hours).

            In order to fulfil the above requirement, even if the node might
            be powered off once in a while, we need to store persistently
            how many hours the node has been in the state. This doesn't
            necessarily need to happen every hour (thanks to the flexible
            duration range). The exact cadence will depend a lot on the
            ways that the node will be used and what kind of power source it
            has.

            Since there is no single optimal answer, this configuration
            option allows specifying a divider, i.e. how many intervals
            the 96 hour minimum gets split into. After each interval the
            duration that the node has been in the current state gets
            stored to flash. E.g. the default value of 4 means that the
            state is saved every 24 hours (96 / 4).            
        value: 4

    BLE_MESH_TX_SEG_MSG_COUNT:
        description: >
            Maximum number of simultaneous outgoing multi-segment and/or
            reliable messages.            
        value: 4

    BLE_MESH_RX_SEG_MSG_COUNT:
        description: >
            Maximum number of simultaneous incoming multi-segment and/or
            reliable messages.            
        value: 2

    BLE_MESH_RX_SDU_MAX:
        description: >
            Maximum incoming Upper Transport Access PDU length. This
            determines also how many segments incoming segmented messages
            can have. Each segment can contain 12 bytes, so this value should
            be set to a multiple of 12 to avoid wasted memory. The minimum
            requirement is 2 segments (24 bytes) whereas the maximum supported
            by the Mesh specification is 32 segments (384 bytes).            
        value: 72

    BLE_MESH_TX_SEG_MAX:
        description: >
            Maximum number of segments supported for outgoing messages.
            This value should typically be fine-tuned based on what
            models the local node supports, i.e. what's the largest
            message payload that the node needs to be able to send.
            This value affects memory and call stack consumption, which
            is why the default is lower than the maximum that the
            specification would allow (32 segments).

            The maximum outgoing SDU size is 12 times this number (out of
            which 4 or 8 bytes is used for the Transport Layer MIC). For
            example, 5 segments means the maximum SDU size is 60 bytes,
            which leaves 56 bytes for application layer data using a
            4-byte MIC and 52 bytes using an 8-byte MIC.

            Be sure to specify a sufficient number of advertising buffers
            when setting this option to a higher value. There must be at
            least three more advertising buffers (BT_MESH_ADV_BUF_COUNT)
            as there are outgoing segments.            
        value: 3

    BLE_MESH_SEG_RETRANSMIT_ATTEMPTS:
        description: >
                        Number of retransmit attempts (after the initial transmit) per segment
        value: 4
        retrictions: 'BLE_MESH_SEG_RETRANSMIT_ATTEMPTS > 1'

    BLE_MESH_RELAY:
        description: >
                        Support for acting as a Mesh Relay Node.
        value: 0

    BLE_MESH_LOW_POWER:
        description: >
                      Enable this option to be able to act as a Low Power Node.
        value: 0

    BLE_MESH_LPN_ESTABLISHMENT:
        description: >
           Perform the Friendship establishment using low power, with
           the help of a reduced scan duty cycle. The downside of this
           is that the node may miss out on messages intended for it
           until it has successfully set up Friendship with a Friend
           node.           
        value: 1

    BLE_MESH_LPN_AUTO:
        description: >
           Automatically enable LPN functionality once provisioned and start
           looking for Friend nodes. If this option is disabled LPN mode
           needs to be manually enabled by calling bt_mesh_lpn_set(true).
           node.           
        value: 1

    BLE_MESH_LPN_AUTO_TIMEOUT:
        description: >
           Time in seconds from the last received message, that the node
           will wait before starting to look for Friend nodes.           
        value: 15

    BLE_MESH_LPN_RETRY_TIMEOUT:
        description: >
           Time in seconds between Friend Requests, if a previous Friend
           Request did not receive any acceptable Friend Offers.           
        value: 8

    BLE_MESH_LPN_RSSI_FACTOR:
        description: >
            The contribution of the RSSI measured by the Friend node used
            in Friend Offer Delay calculations. 0 = 1, 1 = 1.5, 2 = 2, 3 = 2.5.            
        value: 0

    BLE_MESH_LPN_RECV_WIN_FACTOR:
        description: >
           The contribution of the supported Receive Window used in
           Friend Offer Delay calculations. 0 = 1, 1 = 1.5, 2 = 2, 3 = 2.5.           
        value: 0

    BLE_MESH_LPN_MIN_QUEUE_SIZE:
        description: >
           The MinQueueSizeLog field is defined as log_2(N), where N is
           the minimum number of maximum size Lower Transport PDUs that
           the Friend node can store in its Friend Queue. As an example,
           MinQueueSizeLog value 1 gives N = 2, and value 7 gives N = 128.           
        value: 1

    BLE_MESH_LPN_RECV_DELAY:
        description: >
            The ReceiveDelay is the time between the Low Power node
            sending a request and listening for a response. This delay
            allows the Friend node time to prepare the response. The value
            is in units of milliseconds.            
        value: 100

    BLE_MESH_LPN_POLL_TIMEOUT:
        description: >
            PollTimeout timer is used to measure time between two
            consecutive requests sent by the Low Power node. If no
            requests are received by the Friend node before the
            PollTimeout timer expires, then the friendship is considered
            terminated. The value is in units of 100 milliseconds, so e.g.
            a value of 300 means 30 seconds.            
        value: 300

    BLE_MESH_LPN_INIT_POLL_TIMEOUT:
        description: >
            The initial value of the PollTimeout timer when Friendship
            gets established for the first time. After this the timeout
            will gradually grow toward the actual PollTimeout, doubling
            in value for each iteration. The value is in units of 100
            milliseconds, so e.g. a value of 300 means 3 seconds.            
        value: MYNEWT_VAL_BLE_MESH_LPN_POLL_TIMEOUT

    BLE_MESH_LPN_SCAN_LATENCY:
        description: >
            Latency in milliseconds that it takes to enable scanning. This
            is in practice how much time in advance before the Receive Window
            that scanning is requested to be enabled.            
        value: 10

    BLE_MESH_LPN_GROUPS:
        description: >
                        Maximum number of groups that the LPN can subscribe to.
        value: 10

    BLE_MESH_FRIEND:
        description: >
                        Enable this option to be able to act as a Friend Node.
        value: 0

    BLE_MESH_FRIEND_RECV_WIN:
        description: >
                        Receive Window in milliseconds supported by the Friend node.
        value: 255

    BLE_MESH_FRIEND_QUEUE_SIZE:
        description: >
            Minimum number of buffers available to be stored for each
            local Friend Queue.            
        value: 16

    BLE_MESH_FRIEND_SUB_LIST_SIZE:
        description: >
            Size of the Subscription List that can be supported by a
            Friend node for a Low Power node.            
        value: 3

    BLE_MESH_FRIEND_LPN_COUNT:
        description: >
            Number of Low Power Nodes the Friend can have a Friendship
            with simultaneously.            
        value: 2

    BLE_MESH_FRIEND_SEG_RX:
        description: >
            Number of incomplete segment lists that we track for each LPN
            that we are Friends for. In other words, this determines how
            many elements we can simultaneously be receiving segmented
            messages from when the messages are going into the Friend queue.            
        value: 1

    BLE_MESH_CFG_CLI:
        description: >
                        Enable support for the configuration client model.
        value: 0

    BLE_MESH_HEALTH_CLI:
        description: >
                        Enable support for the health client model.
        value: 0

    BLE_MESH_SHELL:
        description: >
            Activate shell module that provides Bluetooth Mesh commands to
            the console.            
        value: 0

    BLE_MESH_MODEL_EXTENSIONS:
        description: >
            Enable support for the model extension concept, allowing the Access
            layer to know about Mesh model relationships.            
        value: 0

    BLE_MESH_IV_UPDATE_TEST:
        description: >
            This option removes the 96 hour limit of the IV Update
            Procedure and lets the state be changed at any time.            
        value: 0

    BLE_MESH_TESTING:
        description: >
                        This option enables testing API.
        value: 0

    BLE_MESH_DEV_UUID:
        description: >
                        Device UUID
        value: ((uint8_t[16]){0x11, 0x22, 0})

    BLE_MESH_SHELL_MODELS:
        description: >
                        Include implementation of some demo models.
        value: 0

    BLE_MESH_OOB_OUTPUT_ACTIONS:
        description: >
            Supported Output OOB Actions
            BT_MESH_NO_OUTPUT       = 0,
            BT_MESH_BLINK           = BIT(0)
            BT_MESH_BEEP            = BIT(1)
            BT_MESH_VIBRATE         = BIT(2)
            BT_MESH_DISPLAY_NUMBER  = BIT(3)
            BT_MESH_DISPLAY_STRING  = BIT(4)            
        value: ((BT_MESH_DISPLAY_NUMBER))

    BLE_MESH_OOB_OUTPUT_SIZE:
        description: >
                        Output OOB size
        value: 4

    BLE_MESH_OOB_INPUT_ACTIONS:
        description: >
            Supported Input OOB Actions
            BT_MESH_NO_INPUT      = 0,
            BT_MESH_PUSH          = BIT(0)
            BT_MESH_TWIST         = BIT(1)
            BT_MESH_ENTER_NUMBER  = BIT(2)
            BT_MESH_ENTER_STRING  = BIT(3)            
        value: ((BT_MESH_NO_INPUT))

    BLE_MESH_OOB_INPUT_SIZE:
        description: >
                        Input OOB size
        value: 4

    BLE_MESH_SETTINGS:
        description: >
                        This option enables Mesh settings storage.
        value: 1

    BLE_MESH_STORE_TIMEOUT:
        description: >
            This value defines in seconds how soon any pending changes
            are actually written into persistent storage (flash) after
            a change occurs.            
        value: 2

    BLE_MESH_SEQ_STORE_RATE:
        description: >
            This value defines how often the local sequence number gets
            updated in persistent storage (i.e. flash). E.g. a value of 100
            means that the sequence number will be stored to flash on every
            100th increment. If the node sends messages very frequently a
            higher value makes more sense, whereas if the node sends
            infrequently a value as low as 0 (update storage for every
            increment) can make sense. When the stack gets initialized it
            will add this number to the last stored one, so that it starts
            off with a value that's guaranteed to be larger than the last
            one used before power off.            
        value: 128

    BLE_MESH_RPL_STORE_TIMEOUT:
        description: >
            This value defines in seconds how soon the RPL gets written to
            persistent storage after a change occurs. If the node receives
            messages frequently it may make sense to have this set to a
            large value, whereas if the RPL gets updated infrequently a
            value as low as 0 (write immediately) may make sense. Note that
            if the node operates a security sensitive use case, and there's
            a risk of sudden power loss, it may be a security vulnerability
            to set this value to anything else than 0 (a power loss before
            writing to storage exposes the node to potential message
            replay attacks).            
        value: 5

    BLE_MESH_DEVICE_NAME:
        description: >
                        This value defines BLE Mesh device/node name.
        value: '"nimble-mesh-node"'

    BLE_MESH_SYSINIT_STAGE:
        description: >
                        Primary sysinit stage for BLE mesh functionality.
        value: 500

    BLE_MESH_SYSINIT_STAGE_SHELL:
        description: >
                        Secondary sysinit stage for BLE mesh functionality.
        value: 1000

    ### Log settings.

    BLE_MESH_LOG_MOD:
        description: >
                        Numeric module ID to use for BLE Mesh log messages.
        value: 9
    BLE_MESH_LOG_LVL:
        description: >
                        Minimum level for the BLE Mesh log.
        value: 1

    BLE_MESH_ACCESS_LOG_MOD:
        description: >
                        Numeric module ID to use for BLE Mesh Access-related log messages.
        value: 10
    BLE_MESH_ACCESS_LOG_LVL:
        description: >
                        Minimum level for the BLE Mesh Access-related log.
        value: 1

    BLE_MESH_ADV_LOG_MOD:
        description: >
                        Numeric module ID to use for BLE Mesh advertising log messages.
        value: 11
    BLE_MESH_ADV_LOG_LVL:
        description: >
                        Minimum level for the BLE Mesh log.
        value: 1

    BLE_MESH_BEACON_LOG_MOD:
        description: >
                        Numeric module ID to use for BLE Mesh Beacon-related log messages.
        value: 12
    BLE_MESH_BEACON_LOG_LVL:
        description: >
                        Minimum level for the BLE Mesh Beacon-related log.
        value: 1

    BLE_MESH_CRYPTO_LOG_MOD:
        description: >
                        Numeric module ID to use for BLE Mesh cryptographic log messages.
        value: 13
    BLE_MESH_CRYPTO_LOG_LVL:
        description: >
                        Minimum level for the BLE Mesh cryptographic log.
        value: 1

    BLE_MESH_FRIEND_LOG_MOD:
        description: >
                        Numeric module ID to use for BLE Mesh Friend log messages.
        value: 14
    BLE_MESH_FRIEND_LOG_LVL:
        description: >
                        Minimum level for the BLE Mesh Friend log.
        value: 1

    BLE_MESH_LOW_POWER_LOG_MOD:
        description: >
                        Numeric module ID to use for BLE Mesh Low Power log messages.
        value: 15
    BLE_MESH_LOW_POWER_LOG_LVL:
        description: >
                        Minimum level for the BLE Mesh Low Power log.
        value: 1

    BLE_MESH_MODEL_LOG_MOD:
        description: >
                        Numeric module ID to use for BLE Mesh Foundation Models log messages.
        value: 16
    BLE_MESH_MODEL_LOG_LVL:
        description: >
                        Minimum level for the BLE Mesh Foundation Models log.
        value: 1

    BLE_MESH_NET_LOG_MOD:
        description: >
                        Numeric module ID to use for BLE Mesh Network layer log messages.
        value: 17
    BLE_MESH_NET_LOG_LVL:
        description: >
                        Minimum level for the BLE Mesh Network layer log.
        value: 1

    BLE_MESH_PROV_LOG_MOD:
        description: >
                        Numeric module ID to use for BLE Mesh Provisioning log messages.
        value: 18
    BLE_MESH_PROV_LOG_LVL:
        description: >
                        Minimum level for the BLE Mesh Provisioning log.
        value: 1

    BLE_MESH_PROXY_LOG_MOD:
        description: >
                        Numeric module ID to use for BLE Mesh Proxy protocol log messages.
        value: 19
    BLE_MESH_PROXY_LOG_LVL:
        description: >
                        Minimum level for the BLE Mesh Proxy protocol log.
        value: 1

    BLE_MESH_SETTINGS_LOG_MOD:
        description: >
                        Numeric module ID to use for BLE Mesh persistent settings log messages.
        value: 20
    BLE_MESH_SETTINGS_LOG_LVL:
        description: >
                        Minimum level for the BLE Mesh persistent settings log.
        value: 1

    BLE_MESH_TRANS_LOG_MOD:
        description: >
                        Numeric module ID to use for BLE Mesh Transport Layer log messages.
        value: 21
    BLE_MESH_TRANS_LOG_LVL:
        description: >
                        Minimum level for the BLE Mesh Transport Layer log.
        value: 1

syscfg.logs:
    BLE_MESH_LOG:
        module: MYNEWT_VAL(BLE_MESH_LOG_MOD)
        level: MYNEWT_VAL(BLE_MESH_LOG_LVL)

    BLE_MESH_ACCESS_LOG:
        module: MYNEWT_VAL(BLE_MESH_ACCESS_LOG_MOD)
        level: MYNEWT_VAL(BLE_MESH_ACCESS_LOG_LVL)

    BLE_MESH_ADV_LOG:
        module: MYNEWT_VAL(BLE_MESH_ADV_LOG_MOD)
        level: MYNEWT_VAL(BLE_MESH_ADV_LOG_LVL)

    BLE_MESH_BEACON_LOG:
        module: MYNEWT_VAL(BLE_MESH_BEACON_LOG_MOD)
        level: MYNEWT_VAL(BLE_MESH_BEACON_LOG_LVL)

    BLE_MESH_CRYPTO_LOG:
        module: MYNEWT_VAL(BLE_MESH_CRYPTO_LOG_MOD)
        level: MYNEWT_VAL(BLE_MESH_CRYPTO_LOG_LVL)

    BLE_MESH_FRIEND_LOG:
        module: MYNEWT_VAL(BLE_MESH_FRIEND_LOG_MOD)
        level: MYNEWT_VAL(BLE_MESH_FRIEND_LOG_LVL)

    BLE_MESH_LOW_POWER_LOG:
        module: MYNEWT_VAL(BLE_MESH_LOW_POWER_LOG_MOD)
        level: MYNEWT_VAL(BLE_MESH_LOW_POWER_LOG_LVL)

    BLE_MESH_MODEL_LOG:
        module: MYNEWT_VAL(BLE_MESH_MODEL_LOG_MOD)
        level: MYNEWT_VAL(BLE_MESH_MODEL_LOG_LVL)

    BLE_MESH_NET_LOG:
        module: MYNEWT_VAL(BLE_MESH_NET_LOG_MOD)
        level: MYNEWT_VAL(BLE_MESH_NET_LOG_LVL)

    BLE_MESH_PROV_LOG:
        module: MYNEWT_VAL(BLE_MESH_PROV_LOG_MOD)
        level: MYNEWT_VAL(BLE_MESH_PROV_LOG_LVL)

    BLE_MESH_PROXY_LOG:
        module: MYNEWT_VAL(BLE_MESH_PROXY_LOG_MOD)
        level: MYNEWT_VAL(BLE_MESH_PROXY_LOG_LVL)

    BLE_MESH_SETTINGS_LOG:
        module: MYNEWT_VAL(BLE_MESH_SETTINGS_LOG_MOD)
        level: MYNEWT_VAL(BLE_MESH_SETTINGS_LOG_LVL)

    BLE_MESH_TRANS_LOG:
        module: MYNEWT_VAL(BLE_MESH_TRANS_LOG_MOD)
        level: MYNEWT_VAL(BLE_MESH_TRANS_LOG_LVL)

syscfg.vals.BLE_MESH_SHELL:
    BLE_MESH_CFG_CLI: 1
    BLE_MESH_HEALTH_CLI: 1
    BLE_MESH_IV_UPDATE_TEST: 1

syscfg.vals.BLE_MESH_GATT_PROXY:
    BLE_MESH_PROXY: 1

syscfg.vals.BLE_MESH_PB_GATT:
    BLE_MESH_PROXY: 1
    BLE_MESH_PROV: 1

syscfg.vals.BLE_MESH_PB_ADV:
    BLE_MESH_PROV: 1