class BtTransportUart

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

Public Methods

void BtTransportUart ()

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

tests.

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

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

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

void Stop (fdf::StopCompleter completer)

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

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

fuchsia_hardware_bluetooth::HciTransport protocol overrides.

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

void AckReceive (AckReceiveCompleter::Sync & completer)

Defined at line 670 of file ../../src/connectivity/bluetooth/hci/transport/uart/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 675 of file ../../src/connectivity/bluetooth/hci/transport/uart/bt_transport_uart.cc

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

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

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

fuchsia_hardware_serialimpl::Device FIDL request handler implementation.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

fidl::Server

<fuchsia

_hardware_bluetooth::Snoop> overrides:

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

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

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

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

Used by tests only.

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

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

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

uint64_t GetAckedSnoopSeq ()

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