mirror of
https://github.com/bettercap/bettercap.git
synced 2024-11-08 06:30:13 -08: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),
|
|
}
|
|
|
|
*/
|