ESP32 Transceiver IEEE 802.15.4 Library
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Enumerations | Functions
ESP32TransceiverIEEE802_15_4.h File Reference
#include <esp_ieee802154.h>
#include <esp_log.h>
#include <stdint.h>
#include "Frame.h"
#include "esp_err.h"
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "nvs_flash.h"
Include dependency graph for ESP32TransceiverIEEE802_15_4.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ieee802154::ESP32TransceiverIEEE802_15_4
 Class to manage an IEEE 802.15.4 transceiver using the ESP-IDF API. On the sending side we support broadcast and direct addressing. On the receiving side we support promiscuous mode, and reveiving only frames that are destinated to the device or broadcast frames. More...
 

Namespaces

namespace  ieee802154
 

Typedefs

typedef void(* ieee802154::ieee802154_transceiver_rx_callback_t) (Frame &frame, esp_ieee802154_frame_info_t &frame_info, void *user_data)
 Callback function type for received IEEE 802.15.4 frames.
 
typedef void(* ieee802154::ieee802154_transceiver_sfd_callback_t) (void *user_data)
 Callback function type for SFD (Start Frame Delimiter) received event.
 
typedef void(* ieee802154::ieee802154_transceiver_sfd_tx_callback_t) (uint8_t *frame, void *user_data)
 Callback function type for SFD transmitted event.
 
typedef void(* ieee802154::ieee802154_transceiver_tx_done_callback_t) (const uint8_t *frame, const uint8_t *ack, esp_ieee802154_frame_info_t *ack_frame_info, void *user_data)
 Callback function type for successful IEEE 802.15.4 frame transmission.
 
typedef void(* ieee802154::ieee802154_transceiver_tx_failed_callback_t) (const uint8_t *frame, esp_ieee802154_tx_error_t error, void *user_data)
 Callback function type for failed IEEE 802.15.4 frame transmission.
 

Enumerations

enum class  ieee802154::channel_t : uint8_t {
  ieee802154::UNDEFINED = 0 , ieee802154::CHANNEL_11 = 11 , ieee802154::CHANNEL_12 = 12 , ieee802154::CHANNEL_13 = 13 ,
  ieee802154::CHANNEL_14 = 14 , ieee802154::CHANNEL_15 = 15 , ieee802154::CHANNEL_16 = 16 , ieee802154::CHANNEL_17 = 17 ,
  ieee802154::CHANNEL_18 = 18 , ieee802154::CHANNEL_19 = 19 , ieee802154::CHANNEL_20 = 20 , ieee802154::CHANNEL_21 = 21 ,
  ieee802154::CHANNEL_22 = 22 , ieee802154::CHANNEL_23 = 23 , ieee802154::CHANNEL_24 = 24 , ieee802154::CHANNEL_25 = 25 ,
  ieee802154::CHANNEL_26 = 26
}
 Enum for IEEE 802.15.4 channel numbers (11-26). More...
 

Functions

Address ieee802154::BROADCAST_ADDRESS ((uint8_t[2]){0xFF, 0xFF})
 Broadcast address constant.