Crate bt_avdtp

Source

Structs§

CommandResponse
A future that polls for the response to a command we sent.
ConfigureResponder
DiscoverResponder
GetCapabilitiesResponder
MediaCodecType
The type of the codec in the MediaCodec Service Capability Valid values are defined in the Bluetooth Assigned Numbers and are interpreted differently for different Media Types, so we do not interpret them here. Associated constants are provided that specify the value of MediaCodecType for different codecs given the MediaType::Audio. See https://www.bluetooth.com/specifications/assigned-numbers/audio-video
MediaStream
Represents a media transport stream. If a sink, produces the bytes that have been delivered from the peer. If a source, can send bytes using send
Peer
An AVDTP signaling peer can send commands to another peer, receive requests and send responses. Media transport is not handled by this peer.
RemoteReject
Errors that can be returned by the remote peer in response to a message
RequestStream
A stream of requests from the remote peer.
RtpHeader
RTP Packet header as described in https://tools.ietf.org/html/rfc1889 Section 5.1
SimpleResponder
SimpleResponse
StreamEndpoint
An AVDTP StreamEndpoint. StreamEndpoints represent a particular capability of the application to be a source of sink of media. Included here to aid negotiating the stream connection. See Section 5.3 of the AVDTP 1.3 Specification for more information about the Stream Endpoint Architecture.
StreamEndpointId
A Stream Endpoint Identifier, aka SEID, INT SEID, ACP SEID - Sec 8.20.1 Valid values are 0x01 - 0x3E
StreamInformation
All information related to a stream. Part of the Discovery Response. See Sec 8.6.2
StreamResponder

Enums§

ContentProtectionType
The type of content protection used in the Content Protection Service Capability. Defined in the Bluetooth Assigned Numbers https://www.bluetooth.com/specifications/assigned-numbers/audio-video
EndpointType
Type of endpoint (source or sync) Part of the StreamInformation in Discovery Response. See Section 8.20.3
Error
The error type of the AVDTP library.
ErrorCode
Error Codes that can be returned as part of a reject message. See Section 8.20.6
MediaType
Type of media USed to specify the type of media on a stream endpoint. Part of the StreamInformation in Discovery Response. Defined in the Bluetooth Assigned Numbers https://www.bluetooth.com/specifications/assigned-numbers/audio-video
Request
A request from the connected peer. Each variant of this includes a responder which implements two functions:
RtpError
The error types for rtp header parsing.
ServiceCapability
Service Capabilities indicate possible services that can be provided by each stream endpoint. See AVDTP Spec section 8.21.
ServiceCategory
Indicates the signaling command on a command packet. The same identifier is used on the response to that command packet. See Section 8.4.4
StreamState
The state of a StreamEndpoint.

Type Aliases§

Result
Result type for AVDTP, using avdtp::Error
StreamEndpointUpdateCallback