Crate fidl_fuchsia_bluetooth_bredr

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
AudioDirectionExtControlHandle
AudioDirectionExtEventStream
AudioDirectionExtMarker
AudioDirectionExtProxy
AudioDirectionExtRequestStream
A Stream of incoming requests for fuchsia.bluetooth.bredr/AudioDirectionExt.
AudioDirectionExtSetPriorityRequest
AudioDirectionExtSetPriorityResponder
AudioDirectionExtSynchronousProxy
AudioOffloadConfiguration
AudioOffloadControllerControlHandle
AudioOffloadControllerEventStream
AudioOffloadControllerMarker
AudioOffloadControllerProxy
AudioOffloadControllerRequestStream
A Stream of incoming requests for fuchsia.bluetooth.bredr/AudioOffloadController.
AudioOffloadControllerStopResponder
AudioOffloadControllerSynchronousProxy
AudioOffloadExtControlHandle
AudioOffloadExtEventStream
AudioOffloadExtGetSupportedFeaturesResponder
AudioOffloadExtGetSupportedFeaturesResponse
AudioOffloadExtMarker
AudioOffloadExtProxy
AudioOffloadExtRequestStream
A Stream of incoming requests for fuchsia.bluetooth.bredr/AudioOffloadExt.
AudioOffloadExtStartAudioOffloadRequest
AudioOffloadExtSynchronousProxy
AudioSbcSupport
Channel
A channel opened to a peer.
ConnectionReceiverConnectedRequest
ConnectionReceiverControlHandle
ConnectionReceiverEventStream
ConnectionReceiverMarker
ConnectionReceiverProxy
ConnectionReceiverRequestStream
A Stream of incoming requests for fuchsia.bluetooth.bredr/ConnectionReceiver.
ConnectionReceiverSynchronousProxy
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.
L2capParametersExtControlHandle
L2capParametersExtEventStream
L2capParametersExtMarker
L2capParametersExtProxy
L2capParametersExtRequestParametersRequest
L2capParametersExtRequestParametersResponder
L2capParametersExtRequestParametersResponse
L2capParametersExtRequestStream
A Stream of incoming requests for fuchsia.bluetooth.bredr/L2capParametersExt.
L2capParametersExtSynchronousProxy
ProfileAdvertiseRequest
ProfileAdvertiseResponder
ProfileAdvertiseResponse
ProfileConnectRequest
ProfileConnectResponder
ProfileConnectResponse
ProfileConnectScoRequest
ProfileControlHandle
ProfileDescriptor
A description of a profile that this service conforms to. See Bluetooth Specification v5.2 Vol 3, Part B, Section 5.1.11
ProfileEventStream
ProfileMarker
ProfileProxy
ProfileRequestStream
A Stream of incoming requests for fuchsia.bluetooth.bredr/Profile.
ProfileSearchRequest
ProfileSynchronousProxy
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.
ScoConnectionControlHandle
ScoConnectionEventStream
ScoConnectionMarker
ScoConnectionParameters
ScoConnectionProxy
ScoConnectionReadResponder
ScoConnectionReadResponse
ScoConnectionRequestStream
A Stream of incoming requests for fuchsia.bluetooth.bredr/ScoConnection.
ScoConnectionSynchronousProxy
ScoConnectionWriteRequest
ScoConnectionWriteResponder
SearchResultsControlHandle
SearchResultsEventStream
SearchResultsMarker
SearchResultsProxy
SearchResultsRequestStream
A Stream of incoming requests for fuchsia.bluetooth.bredr/SearchResults.
SearchResultsServiceFoundRequest
SearchResultsServiceFoundResponder
SearchResultsSynchronousProxy
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
AudioDirectionExtEvent
AudioDirectionExtRequest
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.
AudioEncoderSettings
AudioOffloadControllerEvent
AudioOffloadControllerRequest
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.
AudioOffloadExtEvent
AudioOffloadExtRequest
Audio Offload Extension. Used to retrieve offloading capability and supported features.
AudioOffloadFeatures
Audio offload features used in AudioOffloadExt.
AudioSamplingFrequency
ConnectParameters
The channel and relevant parameters for a connection.
ConnectionReceiverEvent
ConnectionReceiverRequest
Represents a service which is registered by this profile. Closing this protocol will remove the service registration.
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).
L2capParametersExtEvent
L2capParametersExtRequest
L2CAP Parameters Extension. Used to configure L2CAP channel parameters on an open channel.
ProfileEvent
ProfileRequest
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.
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.
ScoConnectionEvent
ScoConnectionOnConnectionCompleteRequest
ScoConnectionRequest
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.
ScoErrorCode
SearchResultsEvent
SearchResultsRequest
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.
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

Traits§

AudioDirectionExtProxyInterface
AudioOffloadControllerProxyInterface
AudioOffloadExtProxyInterface
ConnectionReceiverProxyInterface
L2capParametersExtProxyInterface
ProfileProxyInterface
ScoConnectionProxyInterface
SearchResultsProxyInterface

Type Aliases§

AudioDirectionExtSetPriorityResult
ChannelMode
ChannelParameters
ProfileAdvertiseResult
ProfileConnectResult
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.