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

@ -1,4 +1,4 @@
// +build windows darwin
// +build windows
package ble
@ -10,17 +10,6 @@ type BLERecon struct {
session.SessionModule
}
/*
// darwin
var defaultBLEClientOptions = []gatt.Option{
gatt.MacDeviceRole(gatt.CentralManager),
}
var defaultBLEServerOptions = []gatt.Option{
gatt.MacDeviceRole(gatt.PeripheralManager),
}
*/
func NewBLERecon(s *session.Session) *BLERecon {
mod := &BLERecon{
SessionModule: session.NewSessionModule("ble.recon", s),