Debian Codegraph @

option_darwin.go

raw symbols SCIP
1 package gatt
2
3 const (
4 CentralManager = 0 // Client functions (default)
5 PeripheralManager = 1 // Server functions
6 )
7
8 // MacDeviceRole specify the XPC connection type to connect blued.
9 // THis option can only be used with NewDevice on OS X implementation.
10 func MacDeviceRole(r int) Option {
11 return func(d Device) error {
12 d.(*device).role = r
13 return nil
14 }
15 }