You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by cc...@apache.org on 2017/09/29 00:14:59 UTC

[mynewt-core] branch master updated: BLE Host - Make ble_hs_id_infer_auto() public.

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 27e6ebe  BLE Host - Make ble_hs_id_infer_auto() public.
27e6ebe is described below

commit 27e6ebe323d74cc849b876a90a6d2fd784b60ade
Author: Christopher Collins <cc...@apache.org>
AuthorDate: Thu Sep 28 17:14:08 2017 -0700

    BLE Host - Make ble_hs_id_infer_auto() public.
    
    This function was intended to be public from the start, but was
    accidentally declared in the wrong header.
---
 net/nimble/host/include/host/ble_hs_id.h | 1 +
 net/nimble/host/src/ble_hs_id_priv.h     | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/nimble/host/include/host/ble_hs_id.h b/net/nimble/host/include/host/ble_hs_id.h
index 8674840..cb2593a 100644
--- a/net/nimble/host/include/host/ble_hs_id.h
+++ b/net/nimble/host/include/host/ble_hs_id.h
@@ -31,6 +31,7 @@ int ble_hs_id_gen_rnd(int nrpa, ble_addr_t *out_addr);
 int ble_hs_id_set_rnd(const uint8_t *rnd_addr);
 int ble_hs_id_copy_addr(uint8_t id_addr_type, uint8_t *out_id_addr,
                         int *out_is_nrpa);
+int ble_hs_id_infer_auto(int privacy, uint8_t *out_addr_type);
 
 #ifdef __cplusplus
 }
diff --git a/net/nimble/host/src/ble_hs_id_priv.h b/net/nimble/host/src/ble_hs_id_priv.h
index 14fffa0..1db5483 100644
--- a/net/nimble/host/src/ble_hs_id_priv.h
+++ b/net/nimble/host/src/ble_hs_id_priv.h
@@ -30,7 +30,6 @@ void ble_hs_id_set_pub(const uint8_t *pub_addr);
 int ble_hs_id_addr(uint8_t id_addr_type, const uint8_t **out_id_addr,
                    int *out_is_nrpa);
 int ble_hs_id_use_addr(uint8_t addr_type);
-int ble_hs_id_infer_auto(int privacy, uint8_t *out_addr_type);
 
 #ifdef __cplusplus
 }

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