Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
forks
ble
Commits
7e103051
Commit
7e103051
authored
Oct 17, 2017
by
Kevin Seidel
Browse files
Fix imports and add Travis CI
parent
01c3daa3
Changes
38
Hide whitespace changes
Inline
Side-by-side
darwin/adv.go
View file @
7e103051
package
darwin
import
(
"github.com/
currantlabs
/ble"
"github.com/
go-ble
/ble"
"github.com/raff/goble/xpc"
)
...
...
darwin/client.go
View file @
7e103051
...
...
@@ -3,7 +3,7 @@ package darwin
import
(
"fmt"
"github.com/
currantlabs
/ble"
"github.com/
go-ble
/ble"
"github.com/raff/goble/xpc"
)
...
...
darwin/conn.go
View file @
7e103051
...
...
@@ -4,7 +4,7 @@ import (
"context"
"sync"
"github.com/
currantlabs
/ble"
"github.com/
go-ble
/ble"
"github.com/raff/goble/xpc"
)
...
...
darwin/device.go
View file @
7e103051
...
...
@@ -8,12 +8,11 @@ import (
"log"
"time"
"github.com/go-ble/ble"
"github.com/pkg/errors"
"github.com/raff/goble/xpc"
"sync"
"github.com/currantlabs/ble"
)
const
(
...
...
darwin/msg.go
View file @
7e103051
package
darwin
import
(
"github.com/
currantlabs
/ble"
"github.com/
go-ble
/ble"
"github.com/raff/goble/xpc"
)
...
...
darwin/util.go
View file @
7e103051
package
darwin
import
"github.com/
currantlabs
/ble"
import
"github.com/
go-ble
/ble"
func
uuidSlice
(
uu
[]
ble
.
UUID
)
[][]
byte
{
us
:=
[][]
byte
{}
...
...
examples/basic/advertiser/main.go
View file @
7e103051
...
...
@@ -7,10 +7,9 @@ import (
"log"
"time"
"github.com/go-ble/ble"
"github.com/go-ble/ble/examples/lib/dev"
"github.com/pkg/errors"
"github.com/currantlabs/ble"
"github.com/currantlabs/ble/examples/lib/dev"
)
var
(
...
...
examples/basic/explorer/main.go
View file @
7e103051
...
...
@@ -8,10 +8,9 @@ import (
"strings"
"time"
"github.com/go-ble/ble"
"github.com/go-ble/ble/examples/lib/dev"
"github.com/pkg/errors"
"github.com/currantlabs/ble"
"github.com/currantlabs/ble/examples/lib/dev"
)
var
(
...
...
examples/basic/scanner/main.go
View file @
7e103051
...
...
@@ -7,10 +7,9 @@ import (
"log"
"time"
"github.com/go-ble/ble"
"github.com/go-ble/ble/examples/lib/dev"
"github.com/pkg/errors"
"github.com/currantlabs/ble"
"github.com/currantlabs/ble/examples/lib/dev"
)
var
(
...
...
examples/basic/server/main.go
View file @
7e103051
...
...
@@ -7,11 +7,10 @@ import (
"log"
"time"
"github.com/go-ble/ble"
"github.com/go-ble/ble/examples/lib"
"github.com/go-ble/ble/examples/lib/dev"
"github.com/pkg/errors"
"github.com/currantlabs/ble"
"github.com/currantlabs/ble/examples/lib"
"github.com/currantlabs/ble/examples/lib/dev"
)
var
(
...
...
examples/blesh/adv.go
View file @
7e103051
...
...
@@ -3,7 +3,7 @@ package main
import
(
"fmt"
"github.com/
currantlabs
/ble"
"github.com/
go-ble
/ble"
)
func
advHandler
(
a
ble
.
Advertisement
)
{
...
...
examples/blesh/exp.go
View file @
7e103051
...
...
@@ -3,7 +3,7 @@ package main
import
(
"fmt"
"github.com/
currantlabs
/ble"
"github.com/
go-ble
/ble"
)
func
explore
(
cln
ble
.
Client
,
p
*
ble
.
Profile
)
error
{
...
...
examples/blesh/filter.go
View file @
7e103051
...
...
@@ -3,7 +3,7 @@ package main
import
(
"strings"
"github.com/
currantlabs
/ble"
"github.com/
go-ble
/ble"
"github.com/urfave/cli"
)
...
...
examples/blesh/lnx.go
View file @
7e103051
package
main
import
(
"github.com/
currantlabs
/ble/linux"
"github.com/
currantlabs
/ble/linux/hci"
"github.com/
currantlabs
/ble/linux/hci/cmd"
"github.com/
go-ble
/ble/linux"
"github.com/
go-ble
/ble/linux/hci"
"github.com/
go-ble
/ble/linux/hci/cmd"
"github.com/pkg/errors"
)
...
...
examples/blesh/main.go
View file @
7e103051
...
...
@@ -9,13 +9,12 @@ import (
"strings"
"syscall"
"github.com/go-ble/ble"
"github.com/go-ble/ble/examples/lib"
"github.com/go-ble/ble/examples/lib/dev"
"github.com/go-ble/ble/linux"
"github.com/pkg/errors"
"github.com/urfave/cli"
"github.com/currantlabs/ble"
"github.com/currantlabs/ble/examples/lib"
"github.com/currantlabs/ble/examples/lib/dev"
"github.com/currantlabs/ble/linux"
)
var
curr
struct
{
...
...
examples/blesh/util.go
View file @
7e103051
...
...
@@ -4,7 +4,7 @@ import (
"context"
"fmt"
"github.com/
currantlabs
/ble"
"github.com/
go-ble
/ble"
"github.com/pkg/errors"
"github.com/urfave/cli"
)
...
...
examples/lib/battery.go
View file @
7e103051
package
lib
import
"github.com/
currantlabs
/ble"
import
"github.com/
go-ble
/ble"
// NewBatteryService ...
func
NewBatteryService
()
*
ble
.
Service
{
...
...
examples/lib/count.go
View file @
7e103051
...
...
@@ -5,7 +5,7 @@ import (
"log"
"time"
"github.com/
currantlabs
/ble"
"github.com/
go-ble
/ble"
)
// NewCountChar ...
...
...
examples/lib/dev/default_darwin.go
View file @
7e103051
package
dev
import
(
"github.com/
currantlabs
/ble"
"github.com/
currantlabs
/ble/darwin"
"github.com/
go-ble
/ble"
"github.com/
go-ble
/ble/darwin"
)
// DefaultDevice ...
...
...
examples/lib/dev/default_linux.go
View file @
7e103051
package
dev
import
(
"github.com/
currantlabs
/ble"
"github.com/
currantlabs
/ble/linux"
"github.com/
go-ble
/ble"
"github.com/
go-ble
/ble/linux"
)
// DefaultDevice ...
...
...
Prev
1
2
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment