Remove btmgmt
This commit is contained in:
parent
a73cfb3da5
commit
8961780053
@ -5,7 +5,6 @@ import (
|
|||||||
bt "github.com/muka/go-bluetooth/api"
|
bt "github.com/muka/go-bluetooth/api"
|
||||||
"github.com/muka/go-bluetooth/bluez/profile/adapter"
|
"github.com/muka/go-bluetooth/bluez/profile/adapter"
|
||||||
"github.com/muka/go-bluetooth/bluez/profile/agent"
|
"github.com/muka/go-bluetooth/bluez/profile/agent"
|
||||||
"github.com/muka/go-bluetooth/hw/linux/btmgmt"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
var defaultAdapter *adapter.Adapter1
|
var defaultAdapter *adapter.Adapter1
|
||||||
@ -33,9 +32,6 @@ func Init(adapterID string) {
|
|||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
daMgmt := btmgmt.NewBtMgmt(adapterID)
|
|
||||||
daMgmt.SetPowered(true)
|
|
||||||
|
|
||||||
defaultAdapter = da
|
defaultAdapter = da
|
||||||
itdAgent = ag
|
itdAgent = ag
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user