updating URLs for fork

This commit is contained in:
kayos 2021-05-12 16:41:12 -07:00 committed by kayos@tcp.direct
parent 20013d2325
commit a72dbd67d6
Signed by: kayos
GPG Key ID: 4B841471B4BEE979
16 changed files with 20 additions and 20 deletions

@ -2,7 +2,7 @@
[![Go Bluetooth](./images/gobluetooth.png)](https://tinygo.org/bluetooth) [![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) [![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. 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 package main
import ( import (
"tinygo.org/x/bluetooth" "git.tcp.direct/kayos/prototooth"
) )
var adapter = bluetooth.DefaultAdapter var adapter = bluetooth.DefaultAdapter
@ -59,7 +59,7 @@ package main
import ( import (
"time" "time"
"tinygo.org/x/bluetooth" "git.tcp.direct/kayos/prototooth"
) )
var adapter = bluetooth.DefaultAdapter var adapter = bluetooth.DefaultAdapter

@ -2,7 +2,7 @@ package bluetooth
import ( import (
"github.com/go-ole/go-ole" "github.com/go-ole/go-ole"
"tinygo.org/x/bluetooth/winbt" "git.tcp.direct/kayos/prototooth/winbt"
) )
type Adapter struct { type Adapter struct {

@ -6,4 +6,4 @@
// //
// This package can be use to create Bluetooth Low Energy centrals as well as peripherals. // 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 ( import (
"time" "time"
"tinygo.org/x/bluetooth" "git.tcp.direct/kayos/prototooth"
) )
var adapter = bluetooth.DefaultAdapter var adapter = bluetooth.DefaultAdapter

@ -9,7 +9,7 @@ import (
"machine" "machine"
"time" "time"
"tinygo.org/x/bluetooth" "git.tcp.direct/kayos/prototooth"
"tinygo.org/x/drivers/ws2812" "tinygo.org/x/drivers/ws2812"
) )

@ -19,7 +19,7 @@ package main
import ( import (
"strconv" "strconv"
"tinygo.org/x/bluetooth" "git.tcp.direct/kayos/prototooth"
) )
var adapter = bluetooth.DefaultAdapter var adapter = bluetooth.DefaultAdapter

@ -20,7 +20,7 @@
package main package main
import ( import (
"tinygo.org/x/bluetooth" "git.tcp.direct/kayos/prototooth"
) )
var ( var (

@ -4,7 +4,7 @@ import (
"math/rand" "math/rand"
"time" "time"
"tinygo.org/x/bluetooth" "git.tcp.direct/kayos/prototooth"
) )
var adapter = bluetooth.DefaultAdapter var adapter = bluetooth.DefaultAdapter

@ -4,7 +4,7 @@ import (
"machine" "machine"
"time" "time"
"tinygo.org/x/bluetooth" "git.tcp.direct/kayos/prototooth"
) )
var adapter = bluetooth.DefaultAdapter var adapter = bluetooth.DefaultAdapter

@ -4,8 +4,8 @@ package main
// details. // details.
import ( import (
"tinygo.org/x/bluetooth" "git.tcp.direct/kayos/prototooth"
"tinygo.org/x/bluetooth/rawterm" "git.tcp.direct/kayos/prototooth/rawterm"
) )
var ( var (

@ -8,8 +8,8 @@ package main
// Code to interact with a raw terminal is in separate files with build tags. // Code to interact with a raw terminal is in separate files with build tags.
import ( import (
"tinygo.org/x/bluetooth" "git.tcp.direct/kayos/prototooth"
"tinygo.org/x/bluetooth/rawterm" "git.tcp.direct/kayos/prototooth/rawterm"
) )
var ( var (

@ -1,7 +1,7 @@
package main package main
import ( import (
"tinygo.org/x/bluetooth" "git.tcp.direct/kayos/prototooth"
) )
var adapter = bluetooth.DefaultAdapter var adapter = bluetooth.DefaultAdapter

@ -1,7 +1,7 @@
package bluetooth package bluetooth
import ( import (
"tinygo.org/x/bluetooth/winbt" "git.tcp.direct/kayos/prototooth/winbt"
) )
// Address contains a Bluetooth MAC address. // Address contains a Bluetooth MAC address.

@ -12,7 +12,7 @@ import (
"text/template" "text/template"
"time" "time"
"tinygo.org/x/bluetooth" "git.tcp.direct/kayos/prototooth"
) )
type Characteristic struct { type Characteristic struct {

@ -12,7 +12,7 @@ import (
"text/template" "text/template"
"time" "time"
"tinygo.org/x/bluetooth" "git.tcp.direct/kayos/prototooth"
) )
type Service struct { type Service struct {

@ -14,7 +14,7 @@
// https://yizhang82.dev/what-is-winrt // https://yizhang82.dev/what-is-winrt
// https://www.slideshare.net/goldshtn/deep-dive-into-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 ( import (
"github.com/go-ole/go-ole" "github.com/go-ole/go-ole"