updating URLs for fork
This commit is contained in:
parent
20013d2325
commit
a72dbd67d6
|
@ -2,7 +2,7 @@
|
|||
|
||||
[![Go Bluetooth](./images/gobluetooth.png)](https://tinygo.org/bluetooth)
|
||||
|
||||
[![PkgGoDev](https://pkg.go.dev/badge/pkg.go.dev/tinygo.org/x/bluetooth)](https://pkg.go.dev/tinygo.org/x/bluetooth)
|
||||
[![PkgGoDev](https://pkg.go.dev/badge/pkg.go.dev/git.tcp.direct/kayos/prototooth)](https://pkg.go.dev/git.tcp.direct/kayos/prototooth)
|
||||
[![CircleCI](https://circleci.com/gh/tinygo-org/bluetooth/tree/dev.svg?style=svg)](https://circleci.com/gh/tinygo-org/bluetooth/tree/dev)
|
||||
|
||||
Go Bluetooth is a cross-platform package for using [Bluetooth Low Energy](https://en.wikipedia.org/wiki/Bluetooth_Low_Energy) hardware from the Go programming language.
|
||||
|
@ -23,7 +23,7 @@ This example shows a central that scans for peripheral devices and then displays
|
|||
package main
|
||||
|
||||
import (
|
||||
"tinygo.org/x/bluetooth"
|
||||
"git.tcp.direct/kayos/prototooth"
|
||||
)
|
||||
|
||||
var adapter = bluetooth.DefaultAdapter
|
||||
|
@ -59,7 +59,7 @@ package main
|
|||
import (
|
||||
"time"
|
||||
|
||||
"tinygo.org/x/bluetooth"
|
||||
"git.tcp.direct/kayos/prototooth"
|
||||
)
|
||||
|
||||
var adapter = bluetooth.DefaultAdapter
|
||||
|
|
|
@ -2,7 +2,7 @@ package bluetooth
|
|||
|
||||
import (
|
||||
"github.com/go-ole/go-ole"
|
||||
"tinygo.org/x/bluetooth/winbt"
|
||||
"git.tcp.direct/kayos/prototooth/winbt"
|
||||
)
|
||||
|
||||
type Adapter struct {
|
||||
|
|
|
@ -6,4 +6,4 @@
|
|||
//
|
||||
// This package can be use to create Bluetooth Low Energy centrals as well as peripherals.
|
||||
//
|
||||
package bluetooth // import "tinygo.org/x/bluetooth"
|
||||
package bluetooth // import "git.tcp.direct/kayos/prototooth"
|
||||
|
|
|
@ -3,7 +3,7 @@ package main
|
|||
import (
|
||||
"time"
|
||||
|
||||
"tinygo.org/x/bluetooth"
|
||||
"git.tcp.direct/kayos/prototooth"
|
||||
)
|
||||
|
||||
var adapter = bluetooth.DefaultAdapter
|
||||
|
|
|
@ -9,7 +9,7 @@ import (
|
|||
"machine"
|
||||
"time"
|
||||
|
||||
"tinygo.org/x/bluetooth"
|
||||
"git.tcp.direct/kayos/prototooth"
|
||||
"tinygo.org/x/drivers/ws2812"
|
||||
)
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ package main
|
|||
import (
|
||||
"strconv"
|
||||
|
||||
"tinygo.org/x/bluetooth"
|
||||
"git.tcp.direct/kayos/prototooth"
|
||||
)
|
||||
|
||||
var adapter = bluetooth.DefaultAdapter
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"tinygo.org/x/bluetooth"
|
||||
"git.tcp.direct/kayos/prototooth"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -4,7 +4,7 @@ import (
|
|||
"math/rand"
|
||||
"time"
|
||||
|
||||
"tinygo.org/x/bluetooth"
|
||||
"git.tcp.direct/kayos/prototooth"
|
||||
)
|
||||
|
||||
var adapter = bluetooth.DefaultAdapter
|
||||
|
|
|
@ -4,7 +4,7 @@ import (
|
|||
"machine"
|
||||
"time"
|
||||
|
||||
"tinygo.org/x/bluetooth"
|
||||
"git.tcp.direct/kayos/prototooth"
|
||||
)
|
||||
|
||||
var adapter = bluetooth.DefaultAdapter
|
||||
|
|
|
@ -4,8 +4,8 @@ package main
|
|||
// details.
|
||||
|
||||
import (
|
||||
"tinygo.org/x/bluetooth"
|
||||
"tinygo.org/x/bluetooth/rawterm"
|
||||
"git.tcp.direct/kayos/prototooth"
|
||||
"git.tcp.direct/kayos/prototooth/rawterm"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -8,8 +8,8 @@ package main
|
|||
// Code to interact with a raw terminal is in separate files with build tags.
|
||||
|
||||
import (
|
||||
"tinygo.org/x/bluetooth"
|
||||
"tinygo.org/x/bluetooth/rawterm"
|
||||
"git.tcp.direct/kayos/prototooth"
|
||||
"git.tcp.direct/kayos/prototooth/rawterm"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"tinygo.org/x/bluetooth"
|
||||
"git.tcp.direct/kayos/prototooth"
|
||||
)
|
||||
|
||||
var adapter = bluetooth.DefaultAdapter
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package bluetooth
|
||||
|
||||
import (
|
||||
"tinygo.org/x/bluetooth/winbt"
|
||||
"git.tcp.direct/kayos/prototooth/winbt"
|
||||
)
|
||||
|
||||
// Address contains a Bluetooth MAC address.
|
||||
|
|
|
@ -12,7 +12,7 @@ import (
|
|||
"text/template"
|
||||
"time"
|
||||
|
||||
"tinygo.org/x/bluetooth"
|
||||
"git.tcp.direct/kayos/prototooth"
|
||||
)
|
||||
|
||||
type Characteristic struct {
|
||||
|
|
|
@ -12,7 +12,7 @@ import (
|
|||
"text/template"
|
||||
"time"
|
||||
|
||||
"tinygo.org/x/bluetooth"
|
||||
"git.tcp.direct/kayos/prototooth"
|
||||
)
|
||||
|
||||
type Service struct {
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
// https://yizhang82.dev/what-is-winrt
|
||||
// https://www.slideshare.net/goldshtn/deep-dive-into-winrt
|
||||
//
|
||||
package winbt // import "tinygo.org/x/bluetooth/winbt"
|
||||
package winbt // import "git.tcp.direct/kayos/prototooth/winbt"
|
||||
|
||||
import (
|
||||
"github.com/go-ole/go-ole"
|
||||
|
|
Loading…
Reference in New Issue