You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ma...@apache.org on 2017/03/02 20:33:34 UTC

[1/2] incubator-mynewt-core git commit: blecent: Fix not setting initial BLE address

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 <sz...@codecoup.pl>
Authored: Tue Feb 28 12:39:17 2017 +0100
Committer: Szymon Janc <sz...@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();
 


[2/2] incubator-mynewt-core git commit: This closes #187.

Posted by ma...@apache.org.
This closes #187.

Merge branch 'mynewt-634' of https://github.com/sjanc/incubator-mynewt-core into develop


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/58378ccf
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/58378ccf
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/58378ccf

Branch: refs/heads/develop
Commit: 58378ccfad173af6bebda22c5cf1d5f2b7d80d46
Parents: 3828470 259d2a8
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Thu Mar 2 12:32:20 2017 -0800
Committer: Marko Kiiskila <ma...@runtime.io>
Committed: Thu Mar 2 12:32:20 2017 -0800

----------------------------------------------------------------------
 apps/blecent/src/main.c | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/58378ccf/apps/blecent/src/main.c
----------------------------------------------------------------------