Versions in this module Expand all Collapse all v1 v1.0.0 Jan 6, 2021 Changes in this version + const AF_BLUETOOTH — darwin/amd64, linux/amd64 + const BTPROTO_AVDTP + const BTPROTO_BNEP + const BTPROTO_CMTP + const BTPROTO_HCI + const BTPROTO_HIDP + const BTPROTO_L2CAP + const BTPROTO_RFCOMM + const BTPROTO_SCO + const HCI_CHANNEL_CONTROL + const HCI_CHANNEL_MONITOR + const HCI_CHANNEL_RAW + const HCI_CHANNEL_USER + const HCI_DATA_DIR + const HCI_FILTER + const HCI_TIME_STAMP + const SOL_BLUETOOTH + const SOL_HCI + const SOL_L2CAP + const SOL_RFCOMM + const SOL_SCO + var ErrSocketBindTimeout = errors.New("timeout occured binding to bluetooth device") + var ErrSocketOpenFailed = errors.New("unable to open bluetooth socket to device") + func Bind(fd int, sa Sockaddr) (err error) + func SetsockoptFilter(fd int, f *HCIFilter) (err error) + func Socket(domain, typ, proto int) (int, error) + type HCIFilter struct + EventMask [2]uint32 + TypeMask uint32 + type Sockaddr interface + type SockaddrHCI struct + Channel uint16 + Dev int Incompatible versions in this module v2.0.0+incompatible Jan 6, 2021