template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 464 of file fidling/gen/sdk/fidl/fuchsia.bluetooth/fuchsia.bluetooth/cpp/fidl/fuchsia.bluetooth/cpp/wire_types.h
Public Methods
::fuchsia_bluetooth::wire::ChannelParameters Build ()
Build and return the table. The builder should not be used after this.
bool has_channel_mode ()
void clear_channel_mode ()
Clears the channel_mode field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_bluetooth::wire::ChannelMode & channel_mode ()
Optional.
For BR/EDR: If not provided, BASIC will be used.
For LE: If not provided, LE_CREDIT_BASED_FLOW_CONTROL will be used.
BuilderImpl & channel_mode (::fuchsia_bluetooth::wire::ChannelMode elem)
Optional.
For BR/EDR: If not provided, BASIC will be used.
For LE: If not provided, LE_CREDIT_BASED_FLOW_CONTROL will be used.
bool has_max_rx_packet_size ()
void clear_max_rx_packet_size ()
Clears the max_rx_packet_size field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint16_t & max_rx_packet_size ()
Maximum packet size this profile is capable of accepting. Must be >= 48.
Optional. If not provided, the size will be determined by the Bluetooth
system. No guarantees are given regarding the size selected.
BuilderImpl & max_rx_packet_size (uint16_t elem)
Maximum packet size this profile is capable of accepting. Must be >= 48.
Optional. If not provided, the size will be determined by the Bluetooth
system. No guarantees are given regarding the size selected.
bool has_security_requirements ()
void clear_security_requirements ()
Clears the security_requirements field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_bluetooth::wire::SecurityRequirements & security_requirements ()
For BR/EDR: Minimum security requirements a link must have before this
channel can be created. The requirements provided here will be
attempted with the peer before the channel is established. If a peer
cannot provide the requirements, the channel is closed.
Optional. If not provided, then the only security property guaranteed
is encryption.
For LE: Unused, must not be present.
BuilderImpl & security_requirements (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_bluetooth::wire::SecurityRequirements>> elem)
For BR/EDR: Minimum security requirements a link must have before this
channel can be created. The requirements provided here will be
attempted with the peer before the channel is established. If a peer
cannot provide the requirements, the channel is closed.
Optional. If not provided, then the only security property guaranteed
is encryption.
For LE: Unused, must not be present.
bool has_flush_timeout ()
void clear_flush_timeout ()
Clears the flush_timeout field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
int64_t & flush_timeout ()
For BR/EDR: The flush timeout indicates the maximum amount of time a
data packet should be buffered in the controller before it is dropped.
A flush timeout of infinity can be used to mark packets as flushable
without any particular flush timeout.
Range: 1ms - 1,279ms (or ∞). Rounded down.
Optional. If not provided, no flush timeout and packets are not flushable.
For LE: Unused, must not be present.
BuilderImpl & flush_timeout (Wrapper_Ignore_Me_< ::fidl::ObjectView<int64_t>> elem)
For BR/EDR: The flush timeout indicates the maximum amount of time a
data packet should be buffered in the controller before it is dropped.
A flush timeout of infinity can be used to mark packets as flushable
without any particular flush timeout.
Range: 1ms - 1,279ms (or ∞). Rounded down.
Optional. If not provided, no flush timeout and packets are not flushable.
For LE: Unused, must not be present.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_bluetooth::wire::ChannelParameters, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_bluetooth::wire::ChannelParameters>> && frame)