You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ja...@apache.org on 2021/02/24 14:14:39 UTC

[mynewt-nimble] 02/02: nimble: Add restriction when enabling periodic advertising

This is an automated email from the ASF dual-hosted git repository.

janc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git

commit 06397ae99a5b48d58892f91164f85af547a118af
Author: Szymon Janc <sz...@codecoup.pl>
AuthorDate: Thu Feb 18 16:06:54 2021 +0100

    nimble: Add restriction when enabling periodic advertising
---
 nimble/syscfg.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/nimble/syscfg.yml b/nimble/syscfg.yml
index 35a6ef8..dcbdfd1 100644
--- a/nimble/syscfg.yml
+++ b/nimble/syscfg.yml
@@ -59,10 +59,14 @@ syscfg.defs:
         description: >
             This enables periodic advertising feature.
         value: 0
+        restrictions:
+            - 'BLE_EXT_ADV if 1'
     BLE_PERIODIC_ADV_SYNC_TRANSFER:
         description: >
             This enables Periodic Advertising Sync Transfer Feature.
         value: 0
+        restrictions:
+            - 'BLE_PERIODIC_ADV if 1'
 
     BLE_EXT_ADV_MAX_SIZE:
         description: >