mirror of
https://github.com/bettercap/bettercap
synced 2025-07-05 20:42:09 -07:00
19 lines
278 B
Go
19 lines
278 B
Go
package ble
|
|
|
|
import (
|
|
"github.com/bettercap/gatt"
|
|
)
|
|
|
|
func getClientOptions(deviceID int) []gatt.Option {
|
|
return []gatt.Option{
|
|
gatt.MacDeviceRole(gatt.CentralManager),
|
|
}
|
|
}
|
|
|
|
/*
|
|
|
|
var defaultBLEServerOptions = []gatt.Option{
|
|
gatt.MacDeviceRole(gatt.PeripheralManager),
|
|
}
|
|
|
|
*/
|