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
17
modules/ble/ble_options_darwin.go
Normal file
17
modules/ble/ble_options_darwin.go
Normal file
|
@ -0,0 +1,17 @@
|
|||
package ble
|
||||
|
||||
import (
|
||||
"github.com/bettercap/gatt"
|
||||
)
|
||||
|
||||
var defaultBLEClientOptions = []gatt.Option{
|
||||
gatt.MacDeviceRole(gatt.CentralManager),
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
var defaultBLEServerOptions = []gatt.Option{
|
||||
gatt.MacDeviceRole(gatt.PeripheralManager),
|
||||
}
|
||||
|
||||
*/
|
Loading…
Add table
Add a link
Reference in a new issue