|
Home IO Control
ESPHome add-on for IO-Homecontrol devices
|
What send_packet() did with a frame. More...
#include <radio_interface.h>
Public Types | |
| enum class | Status : uint8_t { SENT , CHANNEL_BUSY , FAILED } |
Public Member Functions | |
| bool | sent () const |
Static Public Member Functions | |
| static TxResult | ok () |
| static TxResult | failed () |
| static TxResult | channel_busy (int16_t level_dbm) |
Public Attributes | |
| Status | status {Status::FAILED} |
| int16_t | cca_level_dbm {0} |
| The level the clear-channel check measured; set with CHANNEL_BUSY. | |
What send_packet() did with a frame.
Definition at line 124 of file radio_interface.h.
|
strong |
| Enumerator | |
|---|---|
| SENT | The frame went out. |
| CHANNEL_BUSY | The clear-channel check found the channel busy; nothing was sent. |
| FAILED | The radio could not send (invalid frame, TX timeout). |
Definition at line 125 of file radio_interface.h.
|
inlinestaticnodiscard |
Definition at line 136 of file radio_interface.h.
|
inlinestaticnodiscard |
Definition at line 135 of file radio_interface.h.
|
inlinestaticnodiscard |
Definition at line 134 of file radio_interface.h.
|
inlinenodiscard |
Definition at line 133 of file radio_interface.h.
| int16_t esphome::home_io_control::TxResult::cca_level_dbm {0} |
The level the clear-channel check measured; set with CHANNEL_BUSY.
Definition at line 131 of file radio_interface.h.
| Status esphome::home_io_control::TxResult::status {Status::FAILED} |
Definition at line 130 of file radio_interface.h.