class BtTransportUart

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

Public Methods

void BtTransportUart (fdf::DriverStartArgs start_args, fdf::UnownedSynchronizedDispatcher driver_dispatcher)

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

tests.

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

zx::result<> Start ()

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

void Stop ()

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

void PrepareStop (fdf::PrepareStopCompleter completer)

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

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

fhbt::HciTransport protocol overrides.

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

void AckReceive (AckReceiveCompleter::Sync & completer)

Defined at line 640 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 645 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 673 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 680 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 687 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 703 of file ../../src/connectivity/bluetooth/hci/transport/uart/bt_transport_uart.cc

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

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

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

Defined at line 717 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 721 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 729 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 734 of file ../../src/connectivity/bluetooth/hci/transport/uart/bt_transport_uart.cc

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

Used by tests only.

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

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

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

uint64_t GetAckedSnoopSeq ()

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