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 60 of file ../../src/connectivity/bluetooth/hci/transport/uart/bt_transport_uart.cc

zx::result<> Start ()

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

void AckReceive (AckReceiveCompleter::Sync & completer)

Defined at line 669 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 674 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 702 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 709 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 716 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 732 of file ../../src/connectivity/bluetooth/hci/transport/uart/bt_transport_uart.cc

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

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

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

Defined at line 746 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 750 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 758 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 763 of file ../../src/connectivity/bluetooth/hci/transport/uart/bt_transport_uart.cc

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

Used by tests only.

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

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

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

uint64_t GetAckedSnoopSeq ()

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