class LegacyAdvertisingState
Defined at line 713 of file fidling/gen/sdk/fidl/fuchsia.hardware.bluetooth/fuchsia.hardware.bluetooth/cpp/fidl/fuchsia.hardware.bluetooth/cpp/natural_types.h
Controller parameters for legacy advertising.
Public Methods
void LegacyAdvertisingState ()
Defined at line 718 of file fidling/gen/sdk/fidl/fuchsia.hardware.bluetooth/fuchsia.hardware.bluetooth/cpp/fidl/fuchsia.hardware.bluetooth/cpp/natural_types.h
void LegacyAdvertisingState (LegacyAdvertisingState && )
Defined at line 719 of file fidling/gen/sdk/fidl/fuchsia.hardware.bluetooth/fuchsia.hardware.bluetooth/cpp/fidl/fuchsia.hardware.bluetooth/cpp/natural_types.h
void LegacyAdvertisingState (Storage_ storage)
void LegacyAdvertisingState (const LegacyAdvertisingState & other)
LegacyAdvertisingState & operator= (const LegacyAdvertisingState & other)
bool operator== (const LegacyAdvertisingState & other)
bool operator!= (const LegacyAdvertisingState & other)
bool IsEmpty ()
const std::optional<bool> & enabled ()
True if advertising has been enabled using the HCI_LE_Set_Advertising_Enable command.
This field is always present.
::std::optional<bool> & enabled ()
True if advertising has been enabled using the HCI_LE_Set_Advertising_Enable command.
This field is always present.
LegacyAdvertisingState & enabled (std::optional<bool> value)
True if advertising has been enabled using the HCI_LE_Set_Advertising_Enable command.
This field is always present.
const std::optional< ::fuchsia_hardware_bluetooth::LegacyAdvertisingType> & type ()
The most recently configured advertising type. This field is always present. Defaults to
[`fuchsia.hardware.bluetooth/LegacyAdvertisingType.ADV_IND`].
::std::optional< ::fuchsia_hardware_bluetooth::LegacyAdvertisingType> & type ()
The most recently configured advertising type. This field is always present. Defaults to
[`fuchsia.hardware.bluetooth/LegacyAdvertisingType.ADV_IND`].
LegacyAdvertisingState & type (std::optional< ::fuchsia_hardware_bluetooth::LegacyAdvertisingType> value)
The most recently configured advertising type. This field is always present. Defaults to
[`fuchsia.hardware.bluetooth/LegacyAdvertisingType.ADV_IND`].
const std::optional< ::fuchsia_bluetooth::AddressType> & address_type ()
The LE address type being used for advertising. This field is always present. Defaults to
[`fuchsia.bluetooth/AddressType.PUBLIC`].
::std::optional< ::fuchsia_bluetooth::AddressType> & address_type ()
The LE address type being used for advertising. This field is always present. Defaults to
[`fuchsia.bluetooth/AddressType.PUBLIC`].
LegacyAdvertisingState & address_type (std::optional< ::fuchsia_bluetooth::AddressType> value)
The LE address type being used for advertising. This field is always present. Defaults to
[`fuchsia.bluetooth/AddressType.PUBLIC`].
const std::optional<uint16_t> & interval_min ()
The host-specified advertising interval range parameters. Present only if configured.
::std::optional<uint16_t> & interval_min ()
The host-specified advertising interval range parameters. Present only if configured.
LegacyAdvertisingState & interval_min (std::optional<uint16_t> value)
The host-specified advertising interval range parameters. Present only if configured.
const std::optional<uint16_t> & interval_max ()
::std::optional<uint16_t> & interval_max ()
LegacyAdvertisingState & interval_max (std::optional<uint16_t> value)
Setter for interval_max.
const std::optional< ::fuchsia_hardware_bluetooth::AdvertisingData> & advertising_data ()
Any configured advertising and scan response data. Present only if either field is non-zero.
::std::optional< ::fuchsia_hardware_bluetooth::AdvertisingData> & advertising_data ()
Any configured advertising and scan response data. Present only if either field is non-zero.
LegacyAdvertisingState & advertising_data (std::optional< ::fuchsia_hardware_bluetooth::AdvertisingData> value)
Any configured advertising and scan response data. Present only if either field is non-zero.
LegacyAdvertisingState & operator= (LegacyAdvertisingState && )
Defined at line 720 of file fidling/gen/sdk/fidl/fuchsia.hardware.bluetooth/fuchsia.hardware.bluetooth/cpp/fidl/fuchsia.hardware.bluetooth/cpp/natural_types.h
const std::optional< ::fuchsia_hardware_bluetooth::AdvertisingData> & scan_response ()
::std::optional< ::fuchsia_hardware_bluetooth::AdvertisingData> & scan_response ()
LegacyAdvertisingState & scan_response (std::optional< ::fuchsia_hardware_bluetooth::AdvertisingData> value)
Setter for scan_response.
void LegacyAdvertisingState (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalTableCodingTraits