|
esp-sdr-zephyr
Raw I/Q receive and transmit on the ESP32-S3/C6 Wi-Fi radio, for Zephyr
|
#include <esp_sdr/esp_sdr_chancap.h>
Data Fields | |
| uint16_t | channel |
| uint64_t | index |
| uint32_t | sample_rate |
| const int16_t * | iq |
| size_t | n |
| int16_t | peak_db |
| bool | truncated |
| bool | chunk |
One finished capture: a packet on one channel, or a chunk of its stream.
| uint16_t esp_sdr_chancap::channel |
Channel index: its centre is first_freq_hz + channel * spacing_hz.
| bool esp_sdr_chancap::chunk |
A fixed-length piece of a continuous stream (the per-channel gate off).
| uint64_t esp_sdr_chancap::index |
Ring pair index of the first sample, as esp_sdr_ring_now() counts (the centre of the channel filter's window, so captures of different channels line up).
| const int16_t* esp_sdr_chancap::iq |
Interleaved I, Q; full scale ESP_SDR_CHANCAP_FULL_SCALE.
| size_t esp_sdr_chancap::n |
Complex samples.
| int16_t esp_sdr_chancap::peak_db |
Peak block power of the burst and the channel's noise floor, in dBFS.
| uint32_t esp_sdr_chancap::sample_rate |
Per-channel sample rate in Hz.
| bool esp_sdr_chancap::truncated |
Cut at max_capture_us while the detector still saw power.