mirror of
https://github.com/bettercap/bettercap
synced 2025-07-11 15:46:59 -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
|
||||
|
||||
import "github.com/currantlabs/gatt"
|
||||
import "github.com/bettercap/gatt"
|
||||
|
||||
var defaultBLEClientOptions = []gatt.Option{
|
||||
gatt.MacDeviceRole(gatt.CentralManager),
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
package modules
|
||||
|
||||
import (
|
||||
"github.com/currantlabs/gatt"
|
||||
"github.com/currantlabs/gatt/linux/cmd"
|
||||
"github.com/bettercap/gatt"
|
||||
"github.com/bettercap/gatt/linux/cmd"
|
||||
)
|
||||
|
||||
var defaultBLEClientOptions = []gatt.Option{
|
||||
|
|
|
@ -13,7 +13,7 @@ import (
|
|||
"github.com/bettercap/bettercap/network"
|
||||
"github.com/bettercap/bettercap/session"
|
||||
|
||||
"github.com/currantlabs/gatt"
|
||||
"github.com/bettercap/gatt"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -14,7 +14,7 @@ import (
|
|||
"github.com/bettercap/bettercap/log"
|
||||
"github.com/bettercap/bettercap/network"
|
||||
|
||||
"github.com/currantlabs/gatt"
|
||||
"github.com/bettercap/gatt"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/currantlabs/gatt"
|
||||
"github.com/bettercap/gatt"
|
||||
)
|
||||
|
||||
type BLEDevNewCallback func(dev *BLEDevice)
|
||||
|
|
|
@ -5,7 +5,7 @@ package network
|
|||
import (
|
||||
"time"
|
||||
|
||||
"github.com/currantlabs/gatt"
|
||||
"github.com/bettercap/gatt"
|
||||
)
|
||||
|
||||
type BLEDevice struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue