Documentation ¶
Index ¶
Constants ¶
View Source
const ( BTPROTO_L2CAP = 0 BTPROTO_HCI = 1 BTPROTO_SCO = 2 BTPROTO_RFCOMM = 3 BTPROTO_BNEP = 4 BTPROTO_CMTP = 5 BTPROTO_HIDP = 6 BTPROTO_AVDTP = 7 )
Bluetooth Protocols
View Source
const ( HCI_CHANNEL_RAW = 0 HCI_CHANNEL_USER = 1 HCI_CHANNEL_MONITOR = 2 HCI_CHANNEL_CONTROL = 3 )
View Source
const ( SOL_HCI = 0 SOL_L2CAP = 6 SOL_SCO = 17 SOL_RFCOMM = 18 SOL_BLUETOOTH = 274 )
Socket Level
View Source
const ( HCI_DATA_DIR = 1 HCI_FILTER = 2 HCI_TIME_STAMP = 3 )
HCI Socket options
View Source
const AF_BLUETOOTH = syscall.AF_BLUETOOTH
Variables ¶
Functions ¶
Types ¶
type HCIFilter ¶
type Sockaddr ¶
type Sockaddr interface {
// contains filtered or unexported methods
}
Click to show internal directories.
Click to hide internal directories.