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
430b7bf0
Commit
430b7bf0
authored
Oct 17, 2017
by
Kevin Seidel
Browse files
Update /x/context to context
parent
f9817fae
Changes
8
Hide whitespace changes
Inline
Side-by-side
conn.go
View file @
430b7bf0
package
ble
import
(
"context"
"io"
"golang.org/x/net/context"
)
// Conn implements a L2CAP connection.
...
...
darwin/conn.go
View file @
430b7bf0
package
darwin
import
(
"context"
"sync"
"golang.org/x/net/context"
"github.com/currantlabs/ble"
"github.com/raff/goble/xpc"
)
...
...
dev.go
→
dev
ice
.go
View file @
430b7bf0
package
ble
import
"
golang.org/x/net/
context"
import
"context"
// Device ...
type
Device
interface
{
...
...
gatt.go
View file @
430b7bf0
package
ble
import
(
"context"
"os"
"os/signal"
"syscall"
"github.com/pkg/errors"
"golang.org/x/net/context"
)
// ErrDefaultDevice ...
...
...
handler.go
View file @
430b7bf0
...
...
@@ -2,9 +2,8 @@ package ble
import
(
"bytes"
"context"
"io"
"golang.org/x/net/context"
)
// A ReadHandler handles GATT requests.
...
...
linux/device.go
View file @
430b7bf0
package
linux
import
(
"context"
"log"
"github.com/pkg/errors"
"golang.org/x/net/context"
"github.com/currantlabs/ble"
"github.com/currantlabs/ble/linux/att"
...
...
linux/hci/conn.go
View file @
430b7bf0
...
...
@@ -2,13 +2,12 @@ package hci
import
(
"bytes"
"context"
"encoding/binary"
"fmt"
"io"
"net"
"golang.org/x/net/context"
"github.com/currantlabs/ble"
"github.com/currantlabs/ble/linux/hci/cmd"
"github.com/currantlabs/ble/linux/hci/evt"
...
...
linux/hci/gap.go
View file @
430b7bf0
package
hci
import
(
"context"
"fmt"
"net"
"time"
"golang.org/x/net/context"
"github.com/currantlabs/ble"
"github.com/currantlabs/ble/linux/adv"
"github.com/currantlabs/ble/linux/gatt"
...
...
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