Crate fidl_fuchsia_bluetooth
source ·Macros
Pattern that matches an unknown
Appearance
member.Structs
Represents a 48-bit Bluetooth Device Address.
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.
64-bit unique value used by the system to identify peer devices.
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.
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.
Refers to the role of a Bluetooth device (local or peer) in a physical channel piconet. See
Bluetooth Vocabulary Guide
for more information.
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.