esp-sdr-zephyr
Raw I/Q receive and transmit on the ESP32-S3/C6 Wi-Fi radio, for Zephyr
Loading...
Searching...
No Matches
esp_sdr_chancap Struct Reference

#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

Detailed Description

One finished capture: a packet on one channel, or a chunk of its stream.

Field Documentation

◆ channel

uint16_t esp_sdr_chancap::channel

Channel index: its centre is first_freq_hz + channel * spacing_hz.

◆ chunk

bool esp_sdr_chancap::chunk

A fixed-length piece of a continuous stream (the per-channel gate off).

◆ index

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).

◆ iq

const int16_t* esp_sdr_chancap::iq

Interleaved I, Q; full scale ESP_SDR_CHANCAP_FULL_SCALE.

◆ n

size_t esp_sdr_chancap::n

Complex samples.

◆ peak_db

int16_t esp_sdr_chancap::peak_db

Peak block power of the burst and the channel's noise floor, in dBFS.

◆ sample_rate

uint32_t esp_sdr_chancap::sample_rate

Per-channel sample rate in Hz.

◆ truncated

bool esp_sdr_chancap::truncated

Cut at max_capture_us while the detector still saw power.


The documentation for this struct was generated from the following file: