package
0.0.0-20211205205814-168ccc21e67c
Repository: https://github.com/ziutek/emgo.git
Documentation: pkg.go.dev

# Functions

MakeAdvPDU is more readable counterpart of AdvPDU{MakePDU(maxpay)}.
MakeDataPDU is more readable counterpart of DataPDU{MakePDU(maxpay)}.
MakePDU returns ready to use PDU of capacity maxpay.

# Constants

LE and BR/EDR capable (controller).
LE and BR/EDR capable (host).
Flags.
LE General Discoverable mode.
Continuation of L2CAP message or empty PDU.
Start of L2CAP message or complete message.
LE Limited Discoverable mode.
LL Control PDU.
Mask for L2CAPCont, L2CAPStart, LLControl.
Complete local name.
Manufacturer Specific Data.
Max.
Max.
Max.
More Data.
More 128-bit UUIDs available.
More 16-bit UUIDs available.
More 32-bit UUIDs available.
Next Expected Sequence Number.
BR/EDR not supported.
Complete list of 128-bit UUIDs available.
Complete list of 16-bit UUIDs available.
Complete list of 32-bit UUIDs available.
Shortened local name.
Slave Connection Interval Range.
Sequence Number.
Tx Power Level: -127 to +127 dBm.

# Structs

AdvPDU represents Advertising Channel PDU.
DataPDU represents Data Channel PDU.
PDU represents BLE Protocol Data Unit.

# Interfaces

HCI defines Host Controller Interface for Bluetooth LE.

# Type aliases

AdvPDUType represents Advertising Channel PDU type.
Header represents first byte of Data Channel PDU header.