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
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.
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.
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
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
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
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.
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.
The RFCOMM channel ID used when requesting to open a channel.
This is known as a ServerChannel in RFCOMM. It must be within the
range [1,30] (inclusive). See RFCOMM 5.4.