Data Fields

# sniffer_context_t Struct Reference

Data structure for internal state variables of the application. More...

## Data Fields
channel_t | cchan
bool | chkcrc
uint32_t | cmask
uint8_t | cpage
uint16_t | frames
uint16_t | irq_ur
uint16_t | missed_frames
time_t | scanper
scan_result_t | scanres [TRX_NB_CHANNELS]
uint8_t | scanres_reset
volatile sniffer_state_t | state
timer_hdl_t | thdl

## Detailed Description

Data structure for internal state variables of the application.

## Field Documentation

channel_t sniffer_context_t::cchan

current channel

bool sniffer_context_t::chkcrc

upload only frames with CRC ok if set to 1

uint32_t sniffer_context_t::cmask

mask for scanned channels

uint8_t sniffer_context_t::cpage

current channel page

time_t sniffer_context_t::scanper

scan period

scan_result_t sniffer_context_t::scanres[TRX_NB_CHANNELS]

table for scan results

volatile sniffer_state_t sniffer_context_t::state

state

timer_hdl_t sniffer_context_t::thdl

timer handle