Source File
bluetooth_linux.go
Belonging Package
golang.org/x/sys/unix
// Copyright 2016 The Go Authors. All rights reserved.// Use of this source code is governed by a BSD-style// license that can be found in the LICENSE file.// Bluetooth sockets and messagespackage unix// Bluetooth Protocolsconst (BTPROTO_L2CAP = 0BTPROTO_HCI = 1BTPROTO_SCO = 2BTPROTO_RFCOMM = 3BTPROTO_BNEP = 4BTPROTO_CMTP = 5BTPROTO_HIDP = 6BTPROTO_AVDTP = 7)const (HCI_CHANNEL_RAW = 0HCI_CHANNEL_USER = 1HCI_CHANNEL_MONITOR = 2HCI_CHANNEL_CONTROL = 3HCI_CHANNEL_LOGGING = 4)// Socketoption Levelconst (SOL_BLUETOOTH = 0x112SOL_HCI = 0x0SOL_L2CAP = 0x6SOL_RFCOMM = 0x12SOL_SCO = 0x11)
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)