Repository: incubator-mynewt-core Updated Branches: refs/heads/develop 75d9c304e -> 79e45a56b
No jira ticket: get native ble building. 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/8b595e29 Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/8b595e29 Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/8b595e29 Branch: refs/heads/develop Commit: 8b595e29cf734b14320a39eb691dbfc9a0139725 Parents: 75d9c30 Author: William San Filippo <[email protected]> Authored: Tue Apr 4 15:11:28 2017 -0700 Committer: William San Filippo <[email protected]> Committed: Tue Apr 4 15:11:28 2017 -0700 ---------------------------------------------------------------------- hw/drivers/nimble/native/src/ble_hw.c | 14 ++++++++++++++ hw/drivers/nimble/native/src/ble_phy.c | 5 +++++ net/nimble/controller/src/ble_ll_xcvr.c | 1 + 3 files changed, 20 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/8b595e29/hw/drivers/nimble/native/src/ble_hw.c ---------------------------------------------------------------------- diff --git a/hw/drivers/nimble/native/src/ble_hw.c b/hw/drivers/nimble/native/src/ble_hw.c index 12a6ea1..aa50466 100644 --- a/hw/drivers/nimble/native/src/ble_hw.c +++ b/hw/drivers/nimble/native/src/ble_hw.c @@ -32,6 +32,20 @@ /* We use this to keep track of which entries are set to valid addresses */ static uint8_t g_ble_hw_whitelist_mask; +/* Returns public device address or -1 if not present */ +int +ble_hw_get_public_addr(ble_addr_t *addr) +{ + return -1; +} + +/* Returns random static address or -1 if not present */ +int +ble_hw_get_static_addr(ble_addr_t *addr) +{ + return -1; +} + /** * Clear the whitelist * http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/8b595e29/hw/drivers/nimble/native/src/ble_phy.c ---------------------------------------------------------------------- diff --git a/hw/drivers/nimble/native/src/ble_phy.c b/hw/drivers/nimble/native/src/ble_phy.c index 0ad0f71..3fb5cf7 100644 --- a/hw/drivers/nimble/native/src/ble_phy.c +++ b/hw/drivers/nimble/native/src/ble_phy.c @@ -332,6 +332,11 @@ ble_phy_rx(void) return 0; } +void +ble_phy_restart_rx(void) +{ +} + #if (MYNEWT_VAL(BLE_LL_CFG_FEAT_LE_ENCRYPTION) == 1) /** * Called to enable encryption at the PHY. Note that this state will persist http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/8b595e29/net/nimble/controller/src/ble_ll_xcvr.c ---------------------------------------------------------------------- diff --git a/net/nimble/controller/src/ble_ll_xcvr.c b/net/nimble/controller/src/ble_ll_xcvr.c index 50ab32e..5718730 100644 --- a/net/nimble/controller/src/ble_ll_xcvr.c +++ b/net/nimble/controller/src/ble_ll_xcvr.c @@ -18,6 +18,7 @@ */ #include <stdint.h> +#include <stddef.h> #include <assert.h> #include "syscfg/syscfg.h" #include "os/os_cputime.h"
