new: ble module is now available for macOS

This commit is contained in:
evilsocket 2019-09-08 16:39:27 +02:00
commit 2e2a5248b4
No known key found for this signature in database
GPG key ID: 82E42E7F3B34C97E
7 changed files with 18 additions and 17 deletions

View 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),
}
*/