idfxx 1.0.0
Modern C++23 components for ESP-IDF
Loading...
Searching...
No Matches
events.hpp File Reference

Chip-agnostic radio event base and typed events. More...

#include <idfxx/event>
#include <idfxx/radio/types.hpp>
#include <cstdint>

Go to the source code of this file.

Namespaces

namespace  idfxx
 
namespace  idfxx::radio
 LoRa radio types and driver classes.
 

Enumerations

enum class  idfxx::radio::event_id : uint8_t {
  idfxx::radio::tx_done ,
  idfxx::radio::rx_done ,
  idfxx::radio::crc_error ,
  idfxx::radio::cad_done ,
  idfxx::radio::preamble_detected
}
 Event IDs posted by a radio driver. More...
 

Functions

 idfxx::radio::IDFXX_EVENT_DEFINE_BASE (radio_events, event_id)
 Event base for all radio events.
 

Variables

constexpr event< event_ididfxx::radio::tx_done {event_id::tx_done}
 Transmit-complete event.
 
constexpr event< event_id, rx_infoidfxx::radio::rx_done {event_id::rx_done}
 Receive-complete event, carrying the packet's rx_info.
 
constexpr event< event_ididfxx::radio::crc_error {event_id::crc_error}
 CRC-error event.
 
constexpr event< event_id, cad_infoidfxx::radio::cad_done {event_id::cad_done}
 Channel-scan-complete event, carrying cad_info.
 
constexpr event< event_ididfxx::radio::preamble_detected {event_id::preamble_detected}
 Preamble-detected event.
 

Detailed Description

Chip-agnostic radio event base and typed events.

Definition in file events.hpp.