mirror of
https://github.com/bettercap/bettercap
synced 2025-07-12 08:07:00 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
b4cd5f2a6d
commit
ee59fefbcd
6 changed files with 7 additions and 7 deletions
|
@ -1,6 +1,6 @@
|
||||||
package modules
|
package modules
|
||||||
|
|
||||||
import "github.com/currantlabs/gatt"
|
import "github.com/bettercap/gatt"
|
||||||
|
|
||||||
var defaultBLEClientOptions = []gatt.Option{
|
var defaultBLEClientOptions = []gatt.Option{
|
||||||
gatt.MacDeviceRole(gatt.CentralManager),
|
gatt.MacDeviceRole(gatt.CentralManager),
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
package modules
|
package modules
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/currantlabs/gatt"
|
"github.com/bettercap/gatt"
|
||||||
"github.com/currantlabs/gatt/linux/cmd"
|
"github.com/bettercap/gatt/linux/cmd"
|
||||||
)
|
)
|
||||||
|
|
||||||
var defaultBLEClientOptions = []gatt.Option{
|
var defaultBLEClientOptions = []gatt.Option{
|
||||||
|
|
|
@ -13,7 +13,7 @@ import (
|
||||||
"github.com/bettercap/bettercap/network"
|
"github.com/bettercap/bettercap/network"
|
||||||
"github.com/bettercap/bettercap/session"
|
"github.com/bettercap/bettercap/session"
|
||||||
|
|
||||||
"github.com/currantlabs/gatt"
|
"github.com/bettercap/gatt"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
|
@ -14,7 +14,7 @@ import (
|
||||||
"github.com/bettercap/bettercap/log"
|
"github.com/bettercap/bettercap/log"
|
||||||
"github.com/bettercap/bettercap/network"
|
"github.com/bettercap/bettercap/network"
|
||||||
|
|
||||||
"github.com/currantlabs/gatt"
|
"github.com/bettercap/gatt"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
@ -7,7 +7,7 @@ import (
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/currantlabs/gatt"
|
"github.com/bettercap/gatt"
|
||||||
)
|
)
|
||||||
|
|
||||||
type BLEDevNewCallback func(dev *BLEDevice)
|
type BLEDevNewCallback func(dev *BLEDevice)
|
||||||
|
|
|
@ -5,7 +5,7 @@ package network
|
||||||
import (
|
import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/currantlabs/gatt"
|
"github.com/bettercap/gatt"
|
||||||
)
|
)
|
||||||
|
|
||||||
type BLEDevice struct {
|
type BLEDevice struct {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue