class BtTransportUart

Defined at line 70 of file ../../src/connectivity/bluetooth/hci/transport/uart/cpp/bt_transport_uart.h

Public Members

static const size_t kUnackedReceivePacketLimit
static const size_t kUnackedReceivePacketRecover

Public Methods

void BtTransportUart ()

If |dispatcher| is non-null, it will be used instead of a new work thread.

tests.

Defined at line 63 of file ../../src/connectivity/bluetooth/hci/transport/uart/cpp/bt_transport_uart.cc

zx::result<> Start (fdf::DriverContext context)

Defined at line 77 of file ../../src/connectivity/bluetooth/hci/transport/uart/cpp/bt_transport_uart.cc

void Stop (fdf::StopCompleter completer)

Defined at line 217 of file ../../src/connectivity/bluetooth/hci/transport/uart/cpp/bt_transport_uart.cc

void Send (SendRequest & request, SendCompleter::Sync & completer)

fuchsia_hardware_bluetooth::HciTransport protocol overrides.

Defined at line 648 of file ../../src/connectivity/bluetooth/hci/transport/uart/cpp/bt_transport_uart.cc

void AckReceive (AckReceiveCompleter::Sync & completer)

Defined at line 691 of file ../../src/connectivity/bluetooth/hci/transport/uart/cpp/bt_transport_uart.cc

void ConfigureSco (fidl::Server<fuchsia_hardware_bluetooth::HciTransport>::ConfigureScoRequest & request, fidl::Server<fuchsia_hardware_bluetooth::HciTransport>::ConfigureScoCompleter::Sync & completer)

Defined at line 696 of file ../../src/connectivity/bluetooth/hci/transport/uart/cpp/bt_transport_uart.cc

void handle_unknown_method (::fidl::UnknownMethodMetadata<fuchsia_hardware_bluetooth::HciTransport> metadata, ::fidl::UnknownMethodCompleter::Sync & completer)

Defined at line 726 of file ../../src/connectivity/bluetooth/hci/transport/uart/cpp/bt_transport_uart.cc

void GetInfo (fdf::Arena & arena, GetInfoCompleter::Sync & completer)

fuchsia_hardware_serialimpl::Device FIDL request handler implementation.

Defined at line 733 of file ../../src/connectivity/bluetooth/hci/transport/uart/cpp/bt_transport_uart.cc

void Config (ConfigRequestView request, fdf::Arena & arena, ConfigCompleter::Sync & completer)

Defined at line 740 of file ../../src/connectivity/bluetooth/hci/transport/uart/cpp/bt_transport_uart.cc

void Enable (EnableRequestView request, fdf::Arena & arena, EnableCompleter::Sync & completer)

Defined at line 756 of file ../../src/connectivity/bluetooth/hci/transport/uart/cpp/bt_transport_uart.cc

void Read (fdf::Arena & arena, ReadCompleter::Sync & completer)

Defined at line 761 of file ../../src/connectivity/bluetooth/hci/transport/uart/cpp/bt_transport_uart.cc

void Write (WriteRequestView request, fdf::Arena & arena, WriteCompleter::Sync & completer)

Defined at line 765 of file ../../src/connectivity/bluetooth/hci/transport/uart/cpp/bt_transport_uart.cc

void CancelAll (fdf::Arena & arena, CancelAllCompleter::Sync & completer)

Defined at line 770 of file ../../src/connectivity/bluetooth/hci/transport/uart/cpp/bt_transport_uart.cc

void handle_unknown_method (fidl::UnknownMethodMetadata<fuchsia_hardware_serialimpl::Device> metadata, fidl::UnknownMethodCompleter::Sync & completer)

Defined at line 774 of file ../../src/connectivity/bluetooth/hci/transport/uart/cpp/bt_transport_uart.cc

void AcknowledgePackets (AcknowledgePacketsRequest & request, AcknowledgePacketsCompleter::Sync & completer)

fidl::Server

<fuchsia

_hardware_bluetooth::Snoop> overrides:

Defined at line 782 of file ../../src/connectivity/bluetooth/hci/transport/uart/cpp/bt_transport_uart.cc

void handle_unknown_method (fidl::UnknownMethodMetadata<fuchsia_hardware_bluetooth::Snoop> metadata, fidl::UnknownMethodCompleter::Sync & completer)

Defined at line 787 of file ../../src/connectivity/bluetooth/hci/transport/uart/cpp/bt_transport_uart.cc

fit::function<void ()> WaitForSnoopCallback ()

Used by tests only.

Defined at line 714 of file ../../src/connectivity/bluetooth/hci/transport/uart/cpp/bt_transport_uart.cc

fit::function<void ()> WaitForScoConnectionCallback ()

Defined at line 718 of file ../../src/connectivity/bluetooth/hci/transport/uart/cpp/bt_transport_uart.cc

uint64_t GetAckedSnoopSeq ()

Defined at line 722 of file ../../src/connectivity/bluetooth/hci/transport/uart/cpp/bt_transport_uart.cc

bool HasScoConnection ()

Defined at line 724 of file ../../src/connectivity/bluetooth/hci/transport/uart/cpp/bt_transport_uart.cc