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 2017/05/11 17:19:58 UTC

[1/5] incubator-mynewt-core git commit: nimble/controller: Use scansm from function parameter

Repository: incubator-mynewt-core
Updated Branches:
  refs/heads/master fe9bf2cd5 -> d96b60157


nimble/controller: Use scansm from function parameter


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/ef1b67ff
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/ef1b67ff
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/ef1b67ff

Branch: refs/heads/master
Commit: ef1b67ff8700db9e191ec5a67c74c6e29311ff26
Parents: 5ea502c
Author: Łukasz Rymanowski <lu...@codecoup.pl>
Authored: Fri May 5 14:12:47 2017 +0200
Committer: Łukasz Rymanowski <lu...@codecoup.pl>
Committed: Thu May 11 14:16:39 2017 +0200

----------------------------------------------------------------------
 net/nimble/controller/src/ble_ll_scan.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/ef1b67ff/net/nimble/controller/src/ble_ll_scan.c
----------------------------------------------------------------------
diff --git a/net/nimble/controller/src/ble_ll_scan.c b/net/nimble/controller/src/ble_ll_scan.c
index 7f0c40b..1b540bc 100644
--- a/net/nimble/controller/src/ble_ll_scan.c
+++ b/net/nimble/controller/src/ble_ll_scan.c
@@ -486,7 +486,7 @@ ble_ll_hci_send_adv_report(uint8_t pdu_type, uint8_t txadd, uint8_t *rxbuf,
             rc = ble_ll_hci_event_send(orig_evbuf);
             if (!rc) {
                 /* If filtering, add it to list of duplicate addresses */
-                if (g_ble_ll_scan_sm.scan_filt_dups) {
+                if (scansm->scan_filt_dups) {
                     ble_ll_scan_add_dup_adv(adv_addr, txadd, subev);
                 }
             }


[3/5] incubator-mynewt-core git commit: nimble/gap: Fix lock issue

Posted by ry...@apache.org.
nimble/gap: Fix lock issue

Make sure proper cleaning is done when return error on connect and
discovery


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/f0518518
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/f0518518
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/f0518518

Branch: refs/heads/master
Commit: f05185188a15af2b5ead490b9d47e40ce6e5731a
Parents: 5c343f5
Author: Łukasz Rymanowski <lu...@codecoup.pl>
Authored: Sat Apr 29 00:50:50 2017 +0200
Committer: Łukasz Rymanowski <lu...@codecoup.pl>
Committed: Thu May 11 14:16:39 2017 +0200

----------------------------------------------------------------------
 net/nimble/host/src/ble_gap.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/f0518518/net/nimble/host/src/ble_gap.c
----------------------------------------------------------------------
diff --git a/net/nimble/host/src/ble_gap.c b/net/nimble/host/src/ble_gap.c
index 80bfa7a..122ef75 100644
--- a/net/nimble/host/src/ble_gap.c
+++ b/net/nimble/host/src/ble_gap.c
@@ -2217,7 +2217,7 @@ ble_gap_disc(uint8_t own_addr_type, int32_t duration_ms,
     if (!params.passive) {
         rc = ble_hs_id_use_addr(own_addr_type);
         if (rc != 0) {
-            return rc;
+            goto done;
         }
     }
 
@@ -2426,7 +2426,7 @@ ble_gap_connect(uint8_t own_addr_type, const ble_addr_t *peer_addr,
 
     rc = ble_hs_id_use_addr(own_addr_type);
     if (rc != 0) {
-        return rc;
+        goto done;
     }
 
     BLE_HS_LOG(INFO, "GAP procedure initiated: connect; ");


[5/5] incubator-mynewt-core git commit: This closes #276

Posted by ry...@apache.org.
This closes #276


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/d96b6015
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/d96b6015
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/d96b6015

Branch: refs/heads/master
Commit: d96b601572271c90a6031529b47a667c7c5fc8d0
Parents: fe9bf2c ef1b67f
Author: Łukasz Rymanowski <lu...@codecoup.pl>
Authored: Thu May 11 19:19:27 2017 +0200
Committer: Łukasz Rymanowski <lu...@codecoup.pl>
Committed: Thu May 11 19:19:27 2017 +0200

----------------------------------------------------------------------
 apps/bletiny/src/main.c                 | 4 ----
 apps/bletiny/src/misc.c                 | 2 +-
 net/nimble/controller/src/ble_ll_scan.c | 2 +-
 net/nimble/host/src/ble_gap.c           | 4 ++--
 4 files changed, 4 insertions(+), 8 deletions(-)
----------------------------------------------------------------------



[4/5] incubator-mynewt-core git commit: bletiny: Fix printing uuid

Posted by ry...@apache.org.
bletiny: Fix printing uuid


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/652b4590
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/652b4590
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/652b4590

Branch: refs/heads/master
Commit: 652b4590e589b595484958bed023704a8b6bdf62
Parents: f051851
Author: Łukasz Rymanowski <lu...@codecoup.pl>
Authored: Tue May 9 10:44:48 2017 +0200
Committer: Łukasz Rymanowski <lu...@codecoup.pl>
Committed: Thu May 11 14:16:39 2017 +0200

----------------------------------------------------------------------
 apps/bletiny/src/misc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/652b4590/apps/bletiny/src/misc.c
----------------------------------------------------------------------
diff --git a/apps/bletiny/src/misc.c b/apps/bletiny/src/misc.c
index d39016b..9914bfe 100644
--- a/apps/bletiny/src/misc.c
+++ b/apps/bletiny/src/misc.c
@@ -70,7 +70,7 @@ print_uuid(const ble_uuid_t *uuid)
 
     ble_uuid_to_str(uuid, buf);
 
-    console_printf(buf);
+    console_printf("%s", buf);
 }
 
 int


[2/5] incubator-mynewt-core git commit: bletiny: Remove not needed includes

Posted by ry...@apache.org.
bletiny: Remove not needed includes


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/5ea502ca
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/5ea502ca
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/5ea502ca

Branch: refs/heads/master
Commit: 5ea502caf1a61de720dea676e6e3af3f065a0cb1
Parents: 652b459
Author: Łukasz Rymanowski <lu...@codecoup.pl>
Authored: Sat Apr 29 00:57:48 2017 +0200
Committer: Łukasz Rymanowski <lu...@codecoup.pl>
Committed: Thu May 11 14:16:39 2017 +0200

----------------------------------------------------------------------
 apps/bletiny/src/main.c | 4 ----
 1 file changed, 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/5ea502ca/apps/bletiny/src/main.c
----------------------------------------------------------------------
diff --git a/apps/bletiny/src/main.c b/apps/bletiny/src/main.c
index 25ba5b0..676ad69 100755
--- a/apps/bletiny/src/main.c
+++ b/apps/bletiny/src/main.c
@@ -37,7 +37,6 @@
 #include "nimble/ble.h"
 #include "nimble/nimble_opt.h"
 #include "nimble/ble_hci_trans.h"
-#include "controller/ble_ll.h"
 #include "host/ble_hs.h"
 #include "host/ble_hs_adv.h"
 #include "host/ble_uuid.h"
@@ -47,9 +46,6 @@
 #include "host/ble_store.h"
 #include "host/ble_sm.h"
 
-/* RAM HCI transport. */
-#include "transport/ram/ble_hci_ram.h"
-
 /* Mandatory services. */
 #include "services/gap/ble_svc_gap.h"
 #include "services/gatt/ble_svc_gatt.h"