mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 02:36:57 -07:00
new: ble module is now available for macOS
This commit is contained in:
parent
29c571cf16
commit
2e2a5248b4
7 changed files with 18 additions and 17 deletions
|
@ -1,4 +1,4 @@
|
|||
// +build windows darwin
|
||||
// +build windows
|
||||
|
||||
package ble
|
||||
|
||||
|
@ -10,17 +10,6 @@ type BLERecon struct {
|
|||
session.SessionModule
|
||||
}
|
||||
|
||||
/*
|
||||
// darwin
|
||||
|
||||
var defaultBLEClientOptions = []gatt.Option{
|
||||
gatt.MacDeviceRole(gatt.CentralManager),
|
||||
}
|
||||
|
||||
var defaultBLEServerOptions = []gatt.Option{
|
||||
gatt.MacDeviceRole(gatt.PeripheralManager),
|
||||
}
|
||||
*/
|
||||
func NewBLERecon(s *session.Session) *BLERecon {
|
||||
mod := &BLERecon{
|
||||
SessionModule: session.NewSessionModule("ble.recon", s),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue