mirror of
https://github.com/bettercap/bettercap.git
synced 2025-03-12 04:36:03 -07:00
20 lines
278 B
Go
20 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),
|
|
}
|
|
|
|
*/
|