TcpHciPacketIo
An HciPacketIo implementation that reads and writes H4-framed Bluetooth HCI packets (0x01 Command, 0x02 ACL Data, 0x03 Synchronous Data, 0x04 Event, 0x05 ISO Data) over a TCP Socket, such as Android's netsimd (--hci-port) or Rootcanal virtual Bluetooth controller.
Properties
Link copied to clipboard
Whether the underlying transport keeps its descriptor open across close calls for reuse.
Functions
Link copied to clipboard
Closes the underlying HCI transport and unblocks any pending readPacket call.
Link copied to clipboard
Notifies the transport that HCI_Reset has already been executed and acknowledged prior to close.
Link copied to clipboard
Reads the next H4-framed HCI packet from the controller, or returns null if closed.
Link copied to clipboard
Writes an H4-framed HCI packet to the controller.