|
esp-sdr-zephyr
Raw I/Q receive and transmit on the ESP32-S3/C6 Wi-Fi radio, for Zephyr
|
Software IEEE 802.15.4 2.4 GHz O-QPSK PHY, portable C. More...
#include <stdbool.h>#include <stddef.h>#include <stdint.h>Go to the source code of this file.
Data Structures | |
| struct | ieee154_phy_trk |
| struct | ieee154_phy_counts |
| struct | ieee154_phy_rx |
Macros | |
| #define | IEEE154_PHY_PSDU_MAX 127 |
| #define | IEEE154_PHY_MOD_SAMPLES(len) |
| #define | IEEE154_PHY_FRAME_SAMPLES(len) |
| #define | IEEE154_PHY_DUP_SAMPLES 4 |
Typedefs | |
| typedef void(* | ieee154_phy_frame_cb_t) (const uint8_t *psdu, uint8_t len, int lqi, void *user) |
| typedef void(* | ieee154_phy_all_cb_t) (const uint8_t *psdu, uint8_t len, int lqi, bool fcs_ok, void *user) |
| typedef bool(* | ieee154_phy_hdr_cb_t) (const uint8_t *psdu, uint8_t have, uint8_t len, uint32_t end_pos, void *user) |
Software IEEE 802.15.4 2.4 GHz O-QPSK PHY, portable C.
All sample buffers are interleaved int16 I/Q at 4 MS/s (2 samples per chip). The receiver's state is a struct ieee154_phy_rx: the instance functions (suffix _i where a function of the same name exists for the one static instance behind the original API) take it first, and any number of receivers run side by side. The chip tables are global: ieee154_phy_init() once, before any receiver.