Crate fidl_fuchsia_bluetooth

Source

Macros§

AppearanceUnknown
Pattern that matches an unknown Appearance member.
AssignedCodingFormatUnknown
Pattern that matches an unknown AssignedCodingFormat member.
ChannelModeUnknown
Pattern that matches an unknown ChannelMode member.
CodecIdUnknown
Pattern that matches an unknown CodecId member.
LogicalTransportTypeUnknown
Pattern that matches an unknown LogicalTransportType member.

Structs§

Address
Represents a 48-bit Bluetooth Device Address.
Bool
ChannelControlHandle
ChannelEventStream
ChannelMarker
ChannelParameters
The set of parameters to use or that were used to establish an L2CAP connection-oriented channel.
ChannelProxy
ChannelReceiveResponder
ChannelReceiveResponse
ChannelRequestStream
A Stream of incoming requests for fuchsia.bluetooth/Channel.
ChannelSendRequest
ChannelSend_Responder
ChannelSynchronousProxy
ChannelWatchChannelParametersResponder
CodecAttributes
Identifies a codec and its configuration that may be used with a data stream.
DeviceClass
The “Class of Device/Service” is a variable-format field that defines the category of a Bluetooth device. The bitfield is divided into segments called “major service class”, “major device class”, and “minor device class”.
Error
HostId
64-bit unique value used by the system to identify host adapters.
Int8
Packet
A payload of data sourced from or sent to a protocol or service on the remote peer.
PeerId
64-bit unique value used by the system to identify peer devices.
SecurityRequirements
Authentication and permission requirements to access an advertised service. BR/EDR only.
Status
UInt16
Uuid
Represents a Bluetooth UUID in its 128-bit canonical form. While the Bluetooth standard supports 16- and 32-bit short form UUIDs over the wire, the Fuchsia FIDL libraries require all UUIDs to be represented in their canonical 128-bit form.
VendorCodingFormat
Vendor-defined coding format.

Enums§

AddressType
Appearance
Possible values for the LE Appearance property which describes the external appearance of a peer at a high level. (See the Bluetooth assigned-numbers document: https://www.bluetooth.com/specifications/gatt/viewer?attributeXmlFile=org.bluetooth.characteristic.gap.appearance.xml) This enum is flexible as newer devices may use new appearance values and in the future the assigned numbers document may have additional entries.
AssignedCodingFormat
Coding Format, as specified by the Bluetooth SIG (see Assigned Numbers document for values): https://www.bluetooth.com/specifications/assigned-numbers/
ChannelEvent
ChannelMode
The supported channel modes of operation of an L2CAP channel.
ChannelRequest
A duplex channel for sending/recieving Packets. This protocol also serves as a token to keeping the Channel open. Closing this protocol (and the associated socket for BR/EDR channels) will close the underlying channel.
CodecId
Specifies a coding format.
ConnectionRole
Refers to the role of a Bluetooth device (local or peer) in a physical channel piconet. See Bluetooth Vocabulary Guide for more information.
DataDirection
Indicates direction of data in a stream. Note that these values do not correspond to constants from the Bluetooth Core specification.
ErrorCode
LogicalTransportType
Logical transport types that may be used with encoded data streams. Note that these values do not correspond to constants from the Bluetooth Core specification, nor are BR/EDR values supported yet.

Constants§

MAJOR_DEVICE_CLASS_AUDIO_VIDEO
MAJOR_DEVICE_CLASS_COMPUTER
MAJOR_DEVICE_CLASS_HEALTH
MAJOR_DEVICE_CLASS_IMAGING
MAJOR_DEVICE_CLASS_LAN
MAJOR_DEVICE_CLASS_MASK
Constants for the major device class field. The major device class is defined by bits 12-8.
MAJOR_DEVICE_CLASS_MISCELLANEOUS
MAJOR_DEVICE_CLASS_PERIPHERAL
MAJOR_DEVICE_CLASS_PHONE
MAJOR_DEVICE_CLASS_TOY
MAJOR_DEVICE_CLASS_UNCATEGORIZED
MAJOR_DEVICE_CLASS_WEARABLE
MAX_DEVICE_NAME_LENGTH
The maximum length of a device name. This value was selected based on the HCI and GAP specifications (v5.2, Vol 4, Part E, 7.3.11 and Vol 3, Part C, 12.1).
UUID_STRING_REPRESENTATION_LENGTH
The size of the standard string representation for a UUID. This value is based on the canonical 36-character 8-4-4-4-12 format defined in IETF RFC4122 Section 3.

Traits§

ChannelProxyInterface

Type Aliases§

DeviceName
Alias for a Bluetooth device name.
PeerIdString
UuidString