Project: /_project.yaml Book: /_book.yaml

fuchsia.bluetooth.avdtp

PROTOCOLS

PeerManager {:#PeerManager}

Defined in fuchsia.bluetooth.avdtp/avdtp.fidl

Control service for an AVDTP Peer.

GetPeer {:#GetPeer}

Connects to the server specified by a peer_id. On success, handle will be used for initiating PeerController procedures. On peer disconnect, the handle will be dropped and closed on the server side.

Request

ConnectedPeers {:#ConnectedPeers}

Returns the bt.PeerId of each currently connected peer.

Request

Response

OnPeerConnected {:#OnPeerConnected}

Incoming connection events from the AVDTP peer. Returns the fuchsia.bluetooth..PeerId of the newly connected peer.

Response

PeerController {:#PeerController}

Defined in fuchsia.bluetooth.avdtp/avdtp.fidl

PeerController is an indirect control protocol used for driving the AVDTP library. This protocol provides the client with an interface for initiating AVDTP commands out of band. To drive end-to-end functionality of AVDTP see bt-profiles.

  • error PeerError indicates a procedure failure. The current Get(), Set() methods can be interpreted as only initiating an AVDTP procedure. The implementation of Get() and Set() methods use generic capabilities and stream information. TODO(fxb/36563): Add arguments and responses for Get() and Set() methods to allow the client to specify and receive the results of the procedures.

SetConfiguration {:#SetConfiguration}

Initiate a stream configuration procedure. No configuration information is specified because generic config information will be used to initiate the procedure.

Request

Response

GetConfiguration {:#GetConfiguration}

Initiate a procedure to get the configuration information of the peer stream. The result is discarded because PeerController only initiates the procedure.

Request

Response

SuspendStream {:#SuspendStream}

Initiate a suspend request to the stream. This command will not resume nor reconfigure the stream.

Request

Response

SuspendAndReconfigure {:#SuspendAndReconfigure}

A “chained” set of procedures on the current stream. SuspendStream() followed by ReconfigureStream(). Reconfigure() configures the stream that is currently open.

Request

Response

EstablishStream {:#EstablishStream}

Initiate stream establishment with the peer.

Request

Response

ReleaseStream {:#ReleaseStream}

Release the current stream that is owned by the peer. If the streaming channel doesn't exist, no action will be taken.

Request

Response

ReconfigureStream {:#ReconfigureStream}

Initiate a reconfiguration procedure for the current stream. No configuration information is specified because a generic set of config information will be used to initiate the procedure.

Request

Response

GetCapabilities {:#GetCapabilities}

Initiate a procedure to get the capabilities of the peer. The result is discarded because PeerController only initiates the procedure.

Request

Response

GetAllCapabilities {:#GetAllCapabilities}

Initiate a procedure to get the capabilities of the peer. The result is discarded because PeerController only initiates the procedure.

Request

Response

STRUCTS

PeerController_SetConfiguration_Response {:#PeerController_SetConfiguration_Response}

generated

PeerController_GetConfiguration_Response {:#PeerController_GetConfiguration_Response}

generated

PeerController_SuspendStream_Response {:#PeerController_SuspendStream_Response}

generated

PeerController_SuspendAndReconfigure_Response {:#PeerController_SuspendAndReconfigure_Response}

generated

PeerController_EstablishStream_Response {:#PeerController_EstablishStream_Response}

generated

PeerController_ReleaseStream_Response {:#PeerController_ReleaseStream_Response}

generated

PeerController_ReconfigureStream_Response {:#PeerController_ReconfigureStream_Response}

generated

PeerController_GetCapabilities_Response {:#PeerController_GetCapabilities_Response}

generated

PeerController_GetAllCapabilities_Response {:#PeerController_GetAllCapabilities_Response}

generated

ENUMS

PeerError {:#PeerError}

Type: uint32

Defined in fuchsia.bluetooth.avdtp/types.fidl

Represents the return status of a fuchsia.bluetooth.avdtp.Peer method

UNIONS

PeerController_SetConfiguration_Result {:#PeerController_SetConfiguration_Result}

generated

PeerController_GetConfiguration_Result {:#PeerController_GetConfiguration_Result}

generated

PeerController_SuspendStream_Result {:#PeerController_SuspendStream_Result}

generated

PeerController_SuspendAndReconfigure_Result {:#PeerController_SuspendAndReconfigure_Result}

generated

PeerController_EstablishStream_Result {:#PeerController_EstablishStream_Result}

generated

PeerController_ReleaseStream_Result {:#PeerController_ReleaseStream_Result}

generated

PeerController_ReconfigureStream_Result {:#PeerController_ReconfigureStream_Result}

generated

PeerController_GetCapabilities_Result {:#PeerController_GetCapabilities_Result}

generated

PeerController_GetAllCapabilities_Result {:#PeerController_GetAllCapabilities_Result}

generated

CONSTANTS