Crate fidl_fuchsia_bluetooth
source ·Macros§
- Pattern that matches an unknown
Appearance
member. - Pattern that matches an unknown
AssignedCodingFormat
member. - Pattern that matches an unknown
ChannelMode
member. - Pattern that matches an unknown
CodecId
member. - Pattern that matches an unknown
LogicalTransportType
member.
Structs§
- Represents a 48-bit Bluetooth Device Address.
- The set of parameters to use or that were used to establish an L2CAP connection-oriented channel.
- A Stream of incoming requests for fuchsia.bluetooth/Channel.
- Identifies a codec and its configuration that may be used with a data stream.
- 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”.
- 64-bit unique value used by the system to identify host adapters.
- A payload of data sourced from or sent to a protocol or service on the remote peer.
- 64-bit unique value used by the system to identify peer devices.
- Authentication and permission requirements to access an advertised service. BR/EDR only.
- 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.
- Vendor-defined coding format.
Enums§
- 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.
- Coding Format, as specified by the Bluetooth SIG (see Assigned Numbers document for values): https://www.bluetooth.com/specifications/assigned-numbers/
- The supported channel modes of operation of an L2CAP channel.
- A duplex channel for sending/recieving
Packet
s. This protocol also serves as a token to keeping theChannel
open. Closing this protocol (and the associatedsocket
for BR/EDR channels) will close the underlying channel. - Specifies a coding format.
- Refers to the role of a Bluetooth device (local or peer) in a physical channel piconet. See Bluetooth Vocabulary Guide for more information.
- Indicates direction of data in a stream. Note that these values do not correspond to constants from the Bluetooth Core specification.
- 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§
- Constants for the major device class field. The major device class is defined by bits 12-8.
- 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).
- 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§
Type Aliases§
- Alias for a Bluetooth device name.