sniffer_ctrl.c File Reference


Detailed Description

Implementation of the control commands for Simple Sniffer and Scanner Application.

Definition in file sniffer_ctrl.c.

Go to the source code of this file.

Enumerations

enum  cmd_hash_t {
  CMD_CHKCRC = 0x23, CMD_TIMESET = 0x35, CMD_SCAN = 0x4d, CMD_CHAN = 0x4e,
  CMD_CMCLR = 0x52, CMD_SNIFF = 0x64, CMD_CMSET = 0x74, CMD_CPAGE = 0x87,
  CMD_DRATE = 0xa0, CMD_IDLE = 0xa1, CMD_CMASK = 0xa9, CMD_ED = 0xc7,
  CMD_PARMS = 0xf1, CMD_EMPTY = 0x00
}

Functions

uint8_t cnt_active_channels (uint32_t cmask)
void ctrl_process_input (void)
static cmd_hash_t get_cmd_hash (char *cmd)
static bool process_command (char *cmd)
 Command processing.
static bool process_hotkey (char cmdkey)
 Key processing.


Enumeration Type Documentation

enum cmd_hash_t

supported command codes for sniffer application

This enumeration is generated by: Tools/cmdhash.py parms cmset cmclr cmask chan cpage ed scan sniff idle

Enumerator:
CMD_CHKCRC  Hashvalue for command 'chkcrc'
CMD_TIMESET  Hashvalue for command 'timeset'
CMD_SCAN  Hashvalue for command 'scan'
CMD_CHAN  Hashvalue for command 'chan'
CMD_CMCLR  Hashvalue for command 'cmclr'
CMD_SNIFF  Hashvalue for command 'sniff'
CMD_CMSET  Hashvalue for command 'cmset'
CMD_CPAGE  Hashvalue for command 'cpage'
CMD_DRATE  Hashvalue for command 'drate'
CMD_IDLE  Hashvalue for command 'idle'
CMD_CMASK  Hashvalue for command 'cmask'
CMD_ED  Hashvalue for command 'ed'
CMD_PARMS  Hashvalue for command 'parms'
CMD_EMPTY  Hashvalue for empty command

Definition at line 48 of file sniffer_ctrl.c.


Function Documentation

static bool process_command ( char *  cmd  )  [static]

Command processing.

Definition at line 203 of file sniffer_ctrl.c.

static bool process_hotkey ( char  cmdkey  )  [static]

Key processing.

Definition at line 133 of file sniffer_ctrl.c.


This documentation for µracoli was generated on 21 Jan 2010 by  doxygen 1.5.5