Skip to content

Commit

Permalink
ble: use go-ble/ble fork for BLE interactions
Browse files Browse the repository at this point in the history
Signed-off-by: deadprogram <[email protected]>
  • Loading branch information
deadprogram committed Oct 29, 2017
1 parent e10f428 commit 2d28e0a
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ deps:
go get -d -v \
github.com/bmizerany/pat \
github.com/codegangsta/cli \
github.com/hybridgroup/ble \
github.com/go-ble/ble \
github.com/donovanhide/eventsource \
github.com/eclipse/paho.mqtt.golang \
github.com/hashicorp/go-multierror \
Expand Down
4 changes: 2 additions & 2 deletions platforms/ble/ble_client_adaptor.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

"gobot.io/x/gobot"

blelib "github.com/hybridgroup/ble"
blelib "github.com/go-ble/ble"
"github.com/pkg/errors"
)

Expand Down Expand Up @@ -67,7 +67,7 @@ func (b *ClientAdaptor) SetName(n string) { b.name = n }
// Address returns the Bluetooth LE address for the adaptor
func (b *ClientAdaptor) Address() string { return b.address }

// Address sets if the adaptor should expect responses after
// WithoutReponses sets if the adaptor should expect responses after
// writing characteristics for this device
func (b *ClientAdaptor) WithoutReponses(use bool) { b.withoutReponses = use }

Expand Down
4 changes: 2 additions & 2 deletions platforms/ble/ble_client_adaptor_darwin.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package ble

import (
blelib "github.com/hybridgroup/ble"
"github.com/hybridgroup/ble/darwin"
blelib "github.com/go-ble/ble"
"github.com/go-ble/ble/darwin"
)

func defaultDevice(impl string) (d blelib.Device, err error) {
Expand Down
4 changes: 2 additions & 2 deletions platforms/ble/ble_client_adaptor_linux.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package ble

import (
blelib "github.com/hybridgroup/ble"
"github.com/hybridgroup/ble/linux"
blelib "github.com/go-ble/ble"
"github.com/go-ble/ble/linux"
)

func defaultDevice(impl string) (d blelib.Device, err error) {
Expand Down
2 changes: 1 addition & 1 deletion platforms/ble/ble_client_adaptor_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package ble
import (
"errors"

blelib "github.com/hybridgroup/ble"
blelib "github.com/go-ble/ble"
)

func defaultDevice(impl string) (d blelib.Device, err error) {
Expand Down

0 comments on commit 2d28e0a

Please sign in to comment.