Namespaces

Enumerations

enum class AddressType : uint8_t
Name Value Comments
kPublic 1u

LE public device address or `BR/EDR` `BD_ADDR`.

kRandom 2u

LE private or static random device address.

Defined at line 17 of file fidling/gen/sdk/fidl/fuchsia.bluetooth/fuchsia.bluetooth/cpp/fidl/fuchsia.bluetooth/cpp/common_types.h

enum class DataDirection : uint8_t
Name Value Comments
kInput 1u

Host => Controller

kOutput 2u

Controller => Host

Indicates direction of data in a stream. Note that these values do not correspond to constants

from the Bluetooth Core specification.

Defined at line 716 of file fidling/gen/sdk/fidl/fuchsia.bluetooth/fuchsia.bluetooth/cpp/fidl/fuchsia.bluetooth/cpp/common_types.h

enum class ConnectionRole : uint32_t
Name Value Comments
kLeader 1u

The role of the device that defines the piconet physical channel in BR/EDR or the
"initiating" device in LE.

kFollower 2u

The role of a device that synchronizes to the piconet physical channel in BR/EDR or the
"advertising" device in LE.

Refers to the role of a Bluetooth device (local or peer) in a physical channel piconet. See

[Bluetooth Vocabulary Guide](https://cs.opensource.google/fuchsia/fuchsia/+/main:src/connectivity/bluetooth/docs/vocabulary.md)

for more information.

Defined at line 803 of file fidling/gen/sdk/fidl/fuchsia.bluetooth/fuchsia.bluetooth/cpp/fidl/fuchsia.bluetooth/cpp/common_types.h

enum class ErrorCode : uint32_t
Name Value
kUnknown 0u
kFailed 1u
kCanceled 2u
kInProgress 3u
kTimedOut 4u
kNotFound 5u
kNotSupported 6u
kBluetoothNotAvailable 7u
kBadState 8u
kInvalidArguments 9u
kAlready 10u
kProtocolError 11u

Defined at line 830 of file fidling/gen/sdk/fidl/fuchsia.bluetooth/fuchsia.bluetooth/cpp/fidl/fuchsia.bluetooth/cpp/common_types.h

Records