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 2017/11/23 09:30:20 UTC

[mynewt-core] branch master updated (8d65a27 -> 50a0295)

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

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


    from 8d65a27  Merge pull request #673 from andrzej-kaczmarek/nimble-fixing
     add 7b692c9  nimble/host: Add API for extended advertising
     add 2a3f715  apps/btshell: Add initial commands for extended advertising
     add 78209bb  nimble/host: Add support for starting advertising instance
     add 51a3c67  nimble/host: Add support for stopping advertising instance
     add 2d1b66b  nimble/host: Add support for removing advertising instance
     add 0be457e  nimble/host: Add support for configuring advertising instances
     add 7aa1b0d  nimble/host: Remove ext adv path from legacy API
     add c2bf5cb  nimble/host: Pass advertising instance to connection complete
     add 10e9816  nimble/host: Add support for setting advertising instance address
     add cbca170  nimble/host: Extend advertising stop event with instance
     add ccf66e5  nimble/host: Make preempt code multi advertising aware
     add 05899ac  nimble/host: Don't use slave timer with extended advertising
     add b332901  nimble/gap: Remove old experimental API for setting advertising PHY
     add 6e7c6cc  nimble/host: Add support for setting extended adv_data and scan_rsp
     add 18d4ed3  apps/btshell: Add support to settings scan response
     new 50a0295  Merge pull request #671 from sjanc/ext_adv_host

The 1 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:
 apps/bletiny/src/cmd.c                          |   56 --
 apps/btshell/src/btshell.h                      |    6 +-
 apps/btshell/src/cmd.c                          |  622 +++++++++++--
 apps/btshell/src/main.c                         |   26 +-
 net/nimble/host/include/host/ble_gap.h          |   44 +-
 net/nimble/host/include/host/ble_hs_adv.h       |    3 +
 net/nimble/host/src/ble_gap.c                   | 1063 ++++++++++++++++-------
 net/nimble/host/src/ble_gap_priv.h              |    3 +-
 net/nimble/host/src/ble_hs_adv.c                |  232 +++--
 net/nimble/host/src/ble_hs_hci_cmd.c            |   33 +-
 net/nimble/host/src/ble_hs_hci_evt.c            |   46 +-
 net/nimble/host/src/ble_hs_hci_priv.h           |   16 +-
 net/nimble/host/src/ble_hs_hci_util.c           |   24 -
 net/nimble/host/test/src/ble_gap_test.c         |   12 +-
 net/nimble/host/test/src/ble_hs_conn_test.c     |    6 +-
 net/nimble/host/test/src/ble_hs_test_util.c     |    2 +-
 net/nimble/host/test/src/ble_hs_test_util_hci.c |    2 +-
 net/nimble/host/test/src/ble_os_test.c          |    6 +-
 net/nimble/include/nimble/hci_common.h          |   16 +
 19 files changed, 1649 insertions(+), 569 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
['"commits@mynewt.apache.org" <co...@mynewt.apache.org>'].

[mynewt-core] 01/01: Merge pull request #671 from sjanc/ext_adv_host

Posted by ja...@apache.org.
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-core.git

commit 50a0295e04f7e9a88ad4e5f5f4ae6c1e3d73dfbb
Merge: 8d65a27 18d4ed3
Author: Szymon Janc <sz...@codecoup.pl>
AuthorDate: Thu Nov 23 10:30:18 2017 +0100

    Merge pull request #671 from sjanc/ext_adv_host
    
    Extended Advertising API

 apps/bletiny/src/cmd.c                          |   56 --
 apps/btshell/src/btshell.h                      |    6 +-
 apps/btshell/src/cmd.c                          |  622 +++++++++++--
 apps/btshell/src/main.c                         |   26 +-
 net/nimble/host/include/host/ble_gap.h          |   44 +-
 net/nimble/host/include/host/ble_hs_adv.h       |    3 +
 net/nimble/host/src/ble_gap.c                   | 1063 ++++++++++++++++-------
 net/nimble/host/src/ble_gap_priv.h              |    3 +-
 net/nimble/host/src/ble_hs_adv.c                |  232 +++--
 net/nimble/host/src/ble_hs_hci_cmd.c            |   33 +-
 net/nimble/host/src/ble_hs_hci_evt.c            |   46 +-
 net/nimble/host/src/ble_hs_hci_priv.h           |   16 +-
 net/nimble/host/src/ble_hs_hci_util.c           |   24 -
 net/nimble/host/test/src/ble_gap_test.c         |   12 +-
 net/nimble/host/test/src/ble_hs_conn_test.c     |    6 +-
 net/nimble/host/test/src/ble_hs_test_util.c     |    2 +-
 net/nimble/host/test/src/ble_hs_test_util_hci.c |    2 +-
 net/nimble/host/test/src/ble_os_test.c          |    6 +-
 net/nimble/include/nimble/hci_common.h          |   16 +
 19 files changed, 1649 insertions(+), 569 deletions(-)

diff --cc net/nimble/host/src/ble_gap.c
index ba58f79,20db133..be8f113
--- a/net/nimble/host/src/ble_gap.c
+++ b/net/nimble/host/src/ble_gap.c
@@@ -4417,13 -4897,17 +4898,15 @@@ ble_gap_init(void
      memset(&ble_gap_master, 0, sizeof ble_gap_master);
      memset(ble_gap_slave, 0, sizeof ble_gap_slave);
  
+     os_mutex_init(&preempt_done_mutex);
+ 
      SLIST_INIT(&ble_gap_update_entries);
  
 -    rc = mem_malloc_mempool(&ble_gap_update_entry_pool,
 -                            BLE_GAP_MAX_UPDATE_ENTRIES,
 -                            sizeof (struct ble_gap_update_entry),
 -                            "ble_gap_update",
 -                            &ble_gap_update_entry_mem);
 +    rc = os_mempool_init(&ble_gap_update_entry_pool,
 +                         BLE_GAP_MAX_UPDATE_ENTRIES,
 +                         sizeof (struct ble_gap_update_entry),
 +                         ble_gap_update_entry_mem,
 +                         "ble_gap_update");
      switch (rc) {
      case 0:
          break;

-- 
To stop receiving notification emails like this one, please contact
"commits@mynewt.apache.org" <co...@mynewt.apache.org>.