Functions | Variables

sniffer.c File Reference

Implementation of the Simple Sniffer and Scanner Application. More...

Go to the source code of this file.

Functions

int main (void)
 Main function of sniffer application.
void scan_update_status (void)
 Update status in scan mode.
void sniffer_init (void)
 Initialisation of hardware ressources.
void sniffer_start (sniffer_state_t state)
 Start a new operating state.
void sniffer_stop (void)
 Halt current operation and enter state IDLE.

Variables

sniffer_context_t ctx
pcap_pool_t PcapPool

Detailed Description

Implementation of the Simple Sniffer and Scanner Application.

Definition in file sniffer.c.


Function Documentation

int main ( void   ) 

Main function of sniffer application.

The main loop of the application processes the input coming from the HIF and frames and frame data received by the radio transceiver.

Definition at line 196 of file sniffer.c.

void scan_update_status ( void   ) 

Update status in scan mode.

Definition at line 79 of file sniffer_scan.c.

void sniffer_init ( void   ) 

Initialisation of hardware ressources.

This function initializes the following components

  • LED Port
  • Timer Module
  • Host Interface
  • SPI Port for Radio
  • Radio (reset and enter state RX)

Definition at line 73 of file sniffer.c.

void sniffer_start ( sniffer_state_t  state  ) 

Start a new operating state.

Process data received from HIF.

Definition at line 137 of file sniffer.c.

void sniffer_stop ( void   ) 

Halt current operation and enter state IDLE.

Definition at line 163 of file sniffer.c.


Variable Documentation

Note:
In order to get higher performance in frame receiving, this application uses a own implementation of the transceiver interrrupt routine (TRX_IRQ_vect), instead of the callback function from librf23x.a.

Definition at line 52 of file sniffer.c.


This documentation for µracoli was generated on Wed Feb 2 2011 by  doxygen 1.7.1