A generic attribute, used for protocol information;
A Stream of incoming requests for fuchsia.bluetooth.bredr/AudioDirectionExt.
A Stream of incoming requests for fuchsia.bluetooth.bredr/AudioOffloadController.
A Stream of incoming requests for fuchsia.bluetooth.bredr/AudioOffloadExt.
A channel opened to a peer.
Used to specify preferred L2CAP channel parameters.
A Stream of incoming requests for fuchsia.bluetooth.bredr/ConnectionReceiver.
Human-readable information about a service. Strings are encoded in UTF-8.
See Bluetooth Specification v5.2 Vol 3, Part B, Sections 5.1.15 through 5.1.17
The parameters associated with a connection over the L2CAP protocol.
A Stream of incoming requests for fuchsia.bluetooth.bredr/L2capParametersExt.
A Stream of incoming requests for fuchsia.bluetooth.bredr/MockPeer.
A Stream of incoming requests for fuchsia.bluetooth.bredr/PeerObserver.
A description of a profile that this service conforms to.
See Bluetooth Specification v5.2 Vol 3, Part B, Section 5.1.11
A Stream of incoming requests for fuchsia.bluetooth.bredr/Profile.
A Stream of incoming requests for fuchsia.bluetooth.bredr/ProfileTest.
Identifies a communications protocol along with protocol-specific parameters.
Usually used to describe a protocol endpoint in a ProtocolDescriptorList.
Use PSM_DYNAMIC
in the L2CAP protocol-specific params
to specify a PSM that is dynamically
assigned.
The parameters associated with a connection over the RFCOMM protocol.
A Stream of incoming requests for fuchsia.bluetooth.bredr/ScoConnectionReceiver.
A Stream of incoming requests for fuchsia.bluetooth.bredr/ScoConnection.
A Stream of incoming requests for fuchsia.bluetooth.bredr/SearchResults.
Authentication and permission requirements to access an advertised service.
Definition for a service that is to be advertised as available via Bluetooth BR/EDR.
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
.
Used to specify preferred and accepted L2CAP channel modes. If the peer rejects a non-BASIC
mode, the Bluetooth system will attempt to open the channel in BASIC mode instead. For a
description of each mode, see Bluetooth Spec v5.2, Vol 3, Part A, Sec 2.4.
The coding format used for synchronous connection data.
Includes all coding formats in Bluetooth Assigned Numbers:
https://www.bluetooth.com/specifications/assigned-numbers/
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.
MockPeer
provides an interface for managing the lifetime of a mock peer in the piconet.
Dropping MockPeer
will unregister the peer from the Profile Test Server database.
PeerObserver
provides the integration test client with a way to validate the
behavior of a peer in the piconet.
Dropping PeerObserver
will stop any subsequent updates for the peer.
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.
The ProfileTest
interface should be used to validate behavior of Bluetooth Profiles
that use the [fuchsia.bluetooth.bredr.Profile
] service.
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.
Represents an active synchronous connection request by a profile.
Either Connected()
or Error()
will be called and then server will close the protocol.
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.