You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ry...@apache.org on 2020/07/08 09:44:08 UTC

[mynewt-nimble] branch master updated (cd7d7aa -> 4d25a93)

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

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


    from cd7d7aa  host/gap: add convenience macros for timings
     new 7357ea1  Allow BLE_ROLE_OBSERVER without BLE_ROLE_CENTRAL or BLE_EXT_ADV
     new 4d25a93  Change check to NIMBLE_BLE_SCAN

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 nimble/host/src/ble_gap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


[mynewt-nimble] 02/02: Change check to NIMBLE_BLE_SCAN

Posted by ry...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 4d25a93af765c8d67c3806962571e1a39aed261e
Author: Hasty Granbery <ha...@granbery.org>
AuthorDate: Mon Jul 6 14:29:11 2020 -0700

    Change check to NIMBLE_BLE_SCAN
    
    This is synonymous with (MYNEWT_VAL(BLE_ROLE_CENTRAL) || MYNEWT_VAL(BLE_ROLE_OBSERVER))
---
 nimble/host/src/ble_gap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nimble/host/src/ble_gap.c b/nimble/host/src/ble_gap.c
index 0b4de96..c5bde77 100644
--- a/nimble/host/src/ble_gap.c
+++ b/nimble/host/src/ble_gap.c
@@ -998,7 +998,7 @@ ble_gap_update_next_exp(int32_t *out_ticks_from_now)
 
 }
 
-#if MYNEWT_VAL(BLE_ROLE_CENTRAL) || MYNEWT_VAL(BLE_ROLE_OBSERVER)
+#if NIMBLE_BLE_SCAN
 static void
 ble_gap_master_set_timer(uint32_t ticks_from_now)
 {


[mynewt-nimble] 01/02: Allow BLE_ROLE_OBSERVER without BLE_ROLE_CENTRAL or BLE_EXT_ADV

Posted by ry...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 7357ea169bbb762b231b2bceb7d14626758a1965
Author: Hasty Granbery <ha...@granbery.org>
AuthorDate: Tue Jun 30 12:57:42 2020 -0700

    Allow BLE_ROLE_OBSERVER without BLE_ROLE_CENTRAL or BLE_EXT_ADV
    
    If BLE_ROLE_OBSERVER is set, but neither BLE_ROLE_CENTRAL or BLE_EXT_ADV is set, the build fails with a missing ble_gap_master_set_timer. This adds BLE_ROLE_OBSERVER to the list for ble_gap_master_set_timer
---
 nimble/host/src/ble_gap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nimble/host/src/ble_gap.c b/nimble/host/src/ble_gap.c
index 4df3b7b..0b4de96 100644
--- a/nimble/host/src/ble_gap.c
+++ b/nimble/host/src/ble_gap.c
@@ -998,7 +998,7 @@ ble_gap_update_next_exp(int32_t *out_ticks_from_now)
 
 }
 
-#if MYNEWT_VAL(BLE_ROLE_CENTRAL)
+#if MYNEWT_VAL(BLE_ROLE_CENTRAL) || MYNEWT_VAL(BLE_ROLE_OBSERVER)
 static void
 ble_gap_master_set_timer(uint32_t ticks_from_now)
 {