class ChannelOffloadExt

Defined at line 16784 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h

Protocol extension for a `bt.Channel`. This is typically provided by or to

privileged clients alongside a `bt.Channel`. This protocol can be closed

before or after StartOffload has returned with no effect.

Public Methods

void ~ChannelOffloadExt ()
void StartOffload (::fuchsia::bluetooth::le::ChannelOffloadExtStartOffloadRequest ChannelOffloadExtStartOffloadRequest, StartOffloadCallback callback)

StartOffload MUST be called before Channel.Receive(). The offloaded

channel will have 0 RX credits given to the peer to prevent the peer

from sending data until the offload processor is ready. This method may

be called a maximum of one time.

The following errors may be returned:

* error `BAD_STATE` : Channel.Receive() has already been called or

StartOffload() has already been called.

* error `INTERNAL`: An internal error occurred and the channel could not be offloaded.

Protected Methods

void handle_unknown_method (uint64_t ordinal, bool method_has_response)

Friends

class ChannelOffloadExt_Stub