Repository: incubator-mynewt-core Updated Branches: refs/heads/develop 382847055 -> 58378ccfa
blecent: Fix not setting initial BLE address Application needs to set correct public address if it want to use it. MYNEWT-634 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/259d2a8d Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/259d2a8d Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/259d2a8d Branch: refs/heads/develop Commit: 259d2a8d3af8af0958bc7137be8a2bd90c1244a4 Parents: de35d23 Author: Szymon Janc <szymon.j...@codecoup.pl> Authored: Tue Feb 28 12:39:17 2017 +0100 Committer: Szymon Janc <szymon.j...@codecoup.pl> Committed: Tue Feb 28 13:42:21 2017 +0100 ---------------------------------------------------------------------- apps/blecent/src/main.c | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/259d2a8d/apps/blecent/src/main.c ---------------------------------------------------------------------- diff --git a/apps/blecent/src/main.c b/apps/blecent/src/main.c index 18f7045..f00d7ca 100755 --- a/apps/blecent/src/main.c +++ b/apps/blecent/src/main.c @@ -465,6 +465,9 @@ main(void) { int rc; + /* Set initial BLE device address. */ + memcpy(g_dev_addr, (uint8_t[6]){0x0a, 0x0a, 0x0a, 0x0a, 0x0a, 0x0a}, 6); + /* Initialize OS */ sysinit();