| 1 | package adapterscip-go gomod github.com/muka/go-bluetooth . `github.com/muka/go-bluetooth/bluez/profile/adapter`/ |
| 2 | |
| 3 | import ( |
| 4 | "github.com/muka/go-bluetooth/bluez/profile/gattscip-go gomod github.com/muka/go-bluetooth . `github.com/muka/go-bluetooth/bluez/profile/gatt`/" |
| 5 | ) |
| 6 | |
| 7 | //GetGattManager return a GattManager1 instance |
| 8 | func (a *Adapter1scip-go gomod github.com/muka/go-bluetooth . `github.com/muka/go-bluetooth/bluez/profile/adapter`/Adapter1#) GetGattManagerscip-go gomod github.com/muka/go-bluetooth . `github.com/muka/go-bluetooth/bluez/profile/adapter`/Adapter1#GetGattManager().() (*gattscip-go gomod github.com/muka/go-bluetooth . `github.com/muka/go-bluetooth/bluez/profile/gatt`/.GattManager1scip-go gomod github.com/muka/go-bluetooth . `github.com/muka/go-bluetooth/bluez/profile/gatt`/GattManager1#, error) { |
| 9 | adapterID, err := ParseAdapterIDscip-go gomod github.com/muka/go-bluetooth . `github.com/muka/go-bluetooth/bluez/profile/adapter`/ParseAdapterID().(a.Pathscip-go gomod github.com/muka/go-bluetooth . `github.com/muka/go-bluetooth/bluez/profile/adapter`/Adapter1#Path().()) |
| 10 | if err != nil { |
| 11 | return nil, err |
| 12 | } |
| 13 | return gattscip-go gomod github.com/muka/go-bluetooth . `github.com/muka/go-bluetooth/bluez/profile/gatt`/.NewGattManager1FromAdapterIDscip-go gomod github.com/muka/go-bluetooth . `github.com/muka/go-bluetooth/bluez/profile/gatt`/NewGattManager1FromAdapterID().(adapterID) |
| 14 | } |