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/06 21:44:26 UTC
[26/41] incubator-mynewt-newt git commit: MYNEWT-653 Change Golang
imports to runtimeco
MYNEWT-653 Change Golang imports to runtimeco
Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/commit/351d90a7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/tree/351d90a7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/diff/351d90a7
Branch: refs/heads/mynewt_1_0_0
Commit: 351d90a7dd7cb2df7ba5418a9c51e25ec058af47
Parents: 249ee54
Author: Christopher Collins <cc...@apache.org>
Authored: Thu Mar 2 19:12:22 2017 -0800
Committer: Marko Kiiskila <ma...@runtime.io>
Committed: Mon Mar 6 13:37:57 2017 -0800
----------------------------------------------------------------------
newtmgr/transport/connble.go | 10 +++++-----
newtmgr/transport/connble_darwin.go | 2 +-
newtmgr/transport/connble_linux.go | 2 +-
3 files changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/351d90a7/newtmgr/transport/connble.go
----------------------------------------------------------------------
diff --git a/newtmgr/transport/connble.go b/newtmgr/transport/connble.go
index e8bcb66..f19b0b8 100644
--- a/newtmgr/transport/connble.go
+++ b/newtmgr/transport/connble.go
@@ -22,7 +22,7 @@ import (
log "github.com/Sirupsen/logrus"
"time"
- "github.com/runtimeinc/gatt"
+ "github.com/runtimeco/gatt"
"mynewt.apache.org/newt/newtmgr/config"
"mynewt.apache.org/newt/util"
@@ -119,7 +119,7 @@ func onPeriphConnected(p gatt.Peripheral, err error) {
for _, service := range services {
if service.UUID().Equal(newtmgrServiceId) ||
- service.UUID().Equal(newtmgrCoapServiceId) {
+ service.UUID().Equal(newtmgrCoapServiceId) {
log.Debugf("Newtmgr Service Found %s", service.Name())
if service.UUID().Equal(newtmgrCoapServiceId) {
@@ -130,9 +130,9 @@ func onPeriphConnected(p gatt.Peripheral, err error) {
for _, c := range cs {
if (isCoap == false &&
- c.UUID().Equal(newtmgrServiceCharId)) ||
- (isCoap == true &&
- c.UUID().Equal(newtmgrCoapServiceCharId)) {
+ c.UUID().Equal(newtmgrServiceCharId)) ||
+ (isCoap == true &&
+ c.UUID().Equal(newtmgrCoapServiceCharId)) {
log.Debugf("Newtmgr Characteristic Found")
p.SetNotifyValue(c, newtmgrNotifyCB)
deviceChar = c
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/351d90a7/newtmgr/transport/connble_darwin.go
----------------------------------------------------------------------
diff --git a/newtmgr/transport/connble_darwin.go b/newtmgr/transport/connble_darwin.go
index 8708cb7..ebbdadd 100644
--- a/newtmgr/transport/connble_darwin.go
+++ b/newtmgr/transport/connble_darwin.go
@@ -18,6 +18,6 @@
*/
package transport
-import "github.com/runtimeinc/gatt"
+import "github.com/runtimeco/gatt"
var BleOptions = []gatt.Option{}
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/351d90a7/newtmgr/transport/connble_linux.go
----------------------------------------------------------------------
diff --git a/newtmgr/transport/connble_linux.go b/newtmgr/transport/connble_linux.go
index 4074a5b..2c241f0 100644
--- a/newtmgr/transport/connble_linux.go
+++ b/newtmgr/transport/connble_linux.go
@@ -18,7 +18,7 @@
*/
package transport
-import "github.com/runtimeinc/gatt"
+import "github.com/runtimeco/gatt"
var BleOptions = []gatt.Option{
gatt.LnxMaxConnections(1),