Google is committed to advancing racial equity for Black communities. See how.

fuchsia.hardware.bt.hci

PROTOCOLS

BtHci

Defined in fuchsia.hardware.bt.hci/bt-hci.banjo

OpenAclDataChannel

Open the two-way HCI ACL data channel. Returns ZX_ERR_ALREADY_BOUND if the channel is already open.

Request

NameType
channel handle<channel>

Response

NameType
s zx/status

OpenCommandChannel

Open the two-way HCI command channel for sending HCI commands and receiving event packets. Returns ZX_ERR_ALREADY_BOUND if the channel is already open.

Request

NameType
channel handle<channel>

Response

NameType
s zx/status

OpenSnoopChannel

Open an output-only channel for monitoring HCI traffic. The format of each message is: [1-octet flags] [n-octet payload] The flags octet is a bitfield with the following values defined:

  • 0x00: The payload represents a command packet sent from the host to the controller.
  • 0x01: The payload represents an event packet sent by the controller. Returns ZX_ERR_ALREADY_BOUND if the channel is already open.

Request

NameType
channel handle<channel>

Response

NameType
s zx/status

STRUCTS