Defines | Functions | Variables

# chsweep.c File Reference

Application for antenna measurements Sweep two remote nodes over a range of channels, send a frame each channel and track ED level. The same hex-file applies to the remote nodes as well as the Host node (connected via UART to PC). More...

## Defines
#define | APP_NAME "chsweep"
#define | APP_VERSION (0x02)
#define | TMO_VALUE MSEC(20)
## Functions
void | chsweep_init (void)
| ISR (TIMER_IRQ_vect)
int | main ()
void | process_async_events (event_t ev)
appstate_t | process_idle (event_t ev)
appstate_t | process_ping (event_t ev)
appstate_t | process_rxweep (event_t ev)
appstate_t | process_txweep (event_t ev)
void | usr_radio_error (radio_error_t err)
uint8_t * | usr_radio_receive_frame (uint8_t len, uint8_t *frm, uint8_t lqi, int8_t ed, uint8_t crc_fail)
| Frame reception callback function.
void | usr_radio_tx_done (radio_tx_done_t status)
## Variables
const node_config_t PROGMEM | nc_flash

## Detailed Description

Application for antenna measurements Sweep two remote nodes over a range of channels, send a frame each channel and track ED level. The same hex-file applies to the remote nodes as well as the Host node (connected via UART to PC).

Terminal Keys: <N>: ping node number <N>, where <N> is a key 0,...,9 's': do a sweep between nodes. 'i': enter initiator address for sweep 'r': enter responder address for sweep

## Function Documentation

ISR | ( | TIMER_IRQ_vect |  | ) |

Timer ISR

## Variable Documentation

const node_config_t PROGMEM nc_flash

Initial value:

     {
                .short_addr = 0xFECA,
                .pan_id = 0x3412,
                .channel = 17
            }