Addresses that failed at FAST twice in a row and now open with MEDIUM; the oldest is replaced when full.
More...
#include <relaxed_conn_params.h>
Addresses that failed at FAST twice in a row and now open with MEDIUM; the oldest is replaced when full.
Definition at line 9 of file relaxed_conn_params.h.
◆ erase_()
| void esphome::bluetooth_connection::RelaxedConnParams::erase_ |
( |
uint64_t * | entry | ) |
|
|
inlineprotected |
◆ fast_connected()
| void esphome::bluetooth_connection::RelaxedConnParams::fast_connected |
( |
uint64_t | address | ) |
|
|
inline |
A FAST link came up: forgets a single earlier failure. Relaxed entries stay.
Definition at line 32 of file relaxed_conn_params.h.
◆ fast_failed()
| bool esphome::bluetooth_connection::RelaxedConnParams::fast_failed |
( |
uint64_t | address | ) |
|
|
inline |
A FAST attempt failed; returns true when it was the second in a row.
Definition at line 18 of file relaxed_conn_params.h.
◆ find_()
| uint64_t * esphome::bluetooth_connection::RelaxedConnParams::find_ |
( |
uint64_t | address | ) |
|
|
inlineprotected |
◆ forget()
| bool esphome::bluetooth_connection::RelaxedConnParams::forget |
( |
uint64_t | address | ) |
|
|
inline |
◆ use_relaxed()
| bool esphome::bluetooth_connection::RelaxedConnParams::use_relaxed |
( |
uint64_t | address | ) |
|
|
inline |
◆ entries_
| std::array<uint64_t, MAX_ADDRESSES> esphome::bluetooth_connection::RelaxedConnParams::entries_ {} |
|
protected |
◆ MAX_ADDRESSES
| uint8_t esphome::bluetooth_connection::RelaxedConnParams::MAX_ADDRESSES = 4 |
|
staticconstexpr |
◆ RELAXED_FLAG
| uint64_t esphome::bluetooth_connection::RelaxedConnParams::RELAXED_FLAG = 1ULL << 63 |
|
staticconstexprprotected |
The documentation for this class was generated from the following file: