Crate fidl_fuchsia_bluetooth_bredr_common

Source

Macros§

AudioBitsPerSampleUnknown
Pattern that matches an unknown AudioBitsPerSample member.
AudioChannelModeUnknown
Pattern that matches an unknown AudioChannelMode member.
AudioEncoderSettingsUnknown
Pattern that matches an unknown AudioEncoderSettings member.
AudioOffloadFeaturesUnknown
Pattern that matches an unknown AudioOffloadFeatures member.
AudioSamplingFrequencyUnknown
Pattern that matches an unknown AudioSamplingFrequency member.
DataElementUnknown
Pattern that matches an unknown DataElement member.
HfpParameterSetUnknown
Pattern that matches an unknown HfpParameterSet member.
ProtocolIdentifierUnknown
Pattern that matches an unknown ProtocolIdentifier member.
ScoConnectionOnConnectionCompleteRequestUnknown
Pattern that matches an unknown ScoConnectionOnConnectionCompleteRequest member.
ScoErrorCodeUnknown
Pattern that matches an unknown ScoErrorCode member.
ServiceClassProfileIdentifierUnknown
Pattern that matches an unknown ServiceClassProfileIdentifier member.

Structs§

Attribute
A generic attribute, used for protocol information;
AudioAacSupport
AudioDirectionExtSetPriorityRequest
AudioOffloadConfiguration
AudioOffloadExtGetSupportedFeaturesResponse
AudioSbcSupport
Information
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
L2capParameters
The parameters associated with a connection over the L2CAP protocol.
L2capParametersExtRequestParametersRequest
L2capParametersExtRequestParametersResponse
ProfileAdvertiseResponse
ProfileConnectRequest
ProfileDescriptor
A description of a profile that this service conforms to. See Bluetooth Specification v5.2 Vol 3, Part B, Section 5.1.11
ProtocolDescriptor
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.
RfcommParameters
The parameters associated with a connection over the RFCOMM protocol.
ScoConnectionParameters
ScoConnectionReadResponse
ScoConnectionWriteRequest
SearchResultsServiceFoundRequest
ServiceDefinition
Definition for a service that is to be advertised as available via Bluetooth BR/EDR.

Enums§

A2dpDirectionPriority
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.
AudioBitsPerSample
AudioChannelMode
AudioEncoderSettings
AudioOffloadFeatures
Audio offload features used in AudioOffloadExt.
AudioSamplingFrequency
ConnectParameters
The channel and relevant parameters for a connection.
DataElement
A DataElement is one element in a SDP record. SDP attributes and other parameters are expresssed in DataElements.
DataPath
Indicates the audio transport that should be used for the data on a synchronous connection.
HfpParameterSet
Codec parameter sets defined in the Hands-Free Profile specification (v1.8, section 5.7).
ProtocolIdentifier
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
RxPacketStatus
Inbound SCO data has a RxPacketStatus that indicates possible data loss or corruption.
ScoConnectionOnConnectionCompleteRequest
ScoErrorCode
ServiceClassProfileIdentifier
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

Constants§

ATTR_ADDITIONAL_PROTOCOL_DESCRIPTOR_LIST
ATTR_BLUETOOTH_PROFILE_DESCRIPTOR_LIST
ATTR_BROWSE_GROUP_LIST
ATTR_LANGUAGE_BASE_ATTRIBUTE_ID_LIST
ATTR_PROTOCOL_DESCRIPTOR_LIST
ATTR_SERVICE_AVAILABILITY
ATTR_SERVICE_CLASS_ID_LIST
ATTR_SERVICE_ID
ATTR_SERVICE_INFO_TIME_TO_LIVE
ATTR_SERVICE_RECORD_HANDLE
Universal attribute IDs. From the Bluetooth Specification v5.2, Vol 3, Part B
ATTR_SERVICE_RECORD_STATE
MAX_ADDITIONAL_ATTRIBUTES
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
MAX_ATTRIBUTES
Maximum number of attributes returned or allowed in a search request.
MAX_INFORMATION_COUNT
Maximum number of languages that are supported by SDP at the moment.
MAX_SEQUENCE_LENGTH
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.
MAX_SERVICES_PER_ADVERTISEMENT
Maximum service records that can be advertised at once.
MAX_STRING_LENGTH
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.
PSM_3_DSP
PSM_ATT
PSM_AVCTP
PSM_AVCTP_BROWSE
PSM_AVDTP
PSM_BNEP
PSM_DYNAMIC
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.
PSM_HID_CONTROL
PSM_HID_INTERRUPT
PSM_LE_IPSP
PSM_OTS
PSM_RFCOMM
PSM_SDP
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.
PSM_TCSBIN
PSM_TCSBIN_CORDLESS

Type Aliases§

ChannelMode
ChannelParameters
ProtocolDescriptorList
A ProtocolDescriptorList is a list of protocols in a “stack” from lowest to highest, Specifying a specific protocol endpoint that can be connected.
RfcommChannel
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.