A2DP packet priority used in AudioDirectionExt
. NORMAL
should be used whenever audio is not
streaming, and SOURCE
/SINK
should match the direction audio is being streamed.
Audio Priority Direction extension. Used to put the channel in a mode where A2DP packets are
prioritized over other packets in the source or sink direction.
Protocol representing the controller actively encoding offloaded audio to or from this channel.
Closing the protocol will stop the encoding, which can also be done using the Stop() if
synchronization is required. If the controller fails to start audio offloading, an epitaph will
be sent when this is closed.
Audio Offload Extension. Used to retrieve offloading capability and supported features.
Audio offload features used in AudioOffloadExt
.
The channel and relevant parameters for a connection.
Represents a service which is registered by this profile. Closing this protocol will remove the
service registration.
A DataElement is one element in a SDP record. SDP attributes and other parameters are
expresssed in DataElements.
Indicates the audio transport that should be used for the data on a synchronous
connection.
Codec parameter sets defined in the Hands-Free Profile specification (v1.8, section 5.7).
L2CAP Parameters Extension. Used to configure L2CAP channel parameters on an open channel.
Service provides Bluetooth BR/EDR profiles a way to register a service definition, making a
profile discoverable by peers. Registered services can receive L2CAP connections made to the
advertised records, and can open new connections on peers.
Defined Protocol Identifiers for the Protocol Descriptor
We intentionally omit deprecated profile identifiers.
From Bluetooth Assigned Numbers:
https://www.bluetooth.com/specifications/assigned-numbers/service-discovery
Inbound SCO data has a RxPacketStatus that indicates possible data loss or corruption.
A SCO connection. The connection is pending until the OnConnectionComplete
event is sent,
which will always arrive first. If the connection fails, the protocol will be closed after the
error is delivered. If methods are called before the OnConnectionComplete
event, they will
and the protocol will be closed.
Represents an active search which can produce results when peers are connected. Closing this
protocol will result in the associated search not being performed on new connected peers.
Identifiers that are valid for Bluetooth Classes / Profiles.
We intentionally omit classes and profile IDs that are unsupported, deprecated,
or reserved for use by Fuchsia Bluetooth.
These numbers are sourced from the Bluetooth Assigned Numbers for SDP.
https://www.bluetooth.com/specifications/assigned-numbers/service-discovery
Universal attribute IDs.
From the Bluetooth Specification v5.2, Vol 3, Part B
Maximum additional attributes as defined by the spec. All attributes
must be above 0x0200 per the Bluetooth Specfication, Ver 5.2 Vol 3, Part B,
Section 5
Maximum number of attributes returned or allowed in a search request.
Maximum number of languages that are supported by SDP at the moment.
The maximum length that a sequence or set of alternatives supported in a
DataElement list. If a list is provided that is longer than this from a
peer, it is truncated.
Maximum service records that can be advertised at once.
Maximum length of a string that is alowed in a DataElement. If a
DataElement string longer than this is sent by a peer it will be truncated.
Placeholder PSM value used to request a dynamic PSM. A valid dynamic PSM will be assigned to the
service during registration.
Used in DataElement as protocol parameters for L2CAP.
Note: This value is not a valid PSM in of itself, and is not defined in the Bluetooth
Assigned Numbers.
Defined PSMs from the Bluetooth Assigned Numbers
https://www.bluetooth.com/specifications/assigned-numbers/logical-link-control
Used in DataElement as protocol parameters for L2CAP.