Atmel Software Framework

Tester/commands.h File Reference
#include "compiler.h"
#include "config.h"

Data Structures

struct  AppCommandAck_t
 
struct  AppCommandDataConf_t
 
struct  AppCommandDataInd_t
 
struct  AppCommandDataReq_t
 
struct  AppCommandDummy_t
 
struct  AppCommandEvents_t
 
struct  AppCommandFilterAdd_t
 
struct  AppCommandFilterRemove_t
 
struct  AppCommandGetEvents_t
 
struct  AppCommandGroupAdd_t
 
struct  AppCommandGroupRemove_t
 
struct  AppCommandHeader_t
 
struct  AppCommandOpenEndpoint_t
 
struct  AppCommandRandomize_t
 
struct  AppCommandReset_t
 
struct  AppCommandRouteAdd_t
 
struct  AppCommandRouteEntry_t
 
struct  AppCommandRouteFlush_t
 
struct  AppCommandRouteRemove_t
 
struct  AppCommandRouteTable_t
 
struct  AppCommandSetAckState_t
 
struct  AppCommandSetAddr_t
 
struct  AppCommandSetChannel_t
 
struct  AppCommandSetPanId_t
 
struct  AppCommandSetRxState_t
 
struct  AppCommandSetSecurityKey_t
 
struct  AppCommandSetTxPower_t
 
union  AppReceiveCommand_t
 

Typedefs

typedef enum AppCommandId_t AppCommandId_t
 

Enumerations

enum  AppCommandId_t {
  APP_COMMAND_ACK = 0x00,
  APP_COMMAND_DUMMY = 0x01,
  APP_COMMAND_RESET = 0x02,
  APP_COMMAND_RANDOMIZE = 0x03,
  APP_COMMAND_GET_EVENTS = 0x04,
  APP_COMMAND_EVENTS = 0x05,
  APP_COMMAND_DATA_REQ = 0x10,
  APP_COMMAND_DATA_CONF = 0x11,
  APP_COMMAND_DATA_IND = 0x12,
  APP_COMMAND_OPEN_ENDPOINT = 0x13,
  APP_COMMAND_SET_ACK_STATE = 0x14,
  APP_COMMAND_SET_ACK_CONTROL = 0x15,
  APP_COMMAND_SET_ADDR = 0x20,
  APP_COMMAND_SET_PANID = 0x21,
  APP_COMMAND_SET_CHANNEL = 0x22,
  APP_COMMAND_SET_RX_STATE = 0x23,
  APP_COMMAND_SET_SECURITY_KEY = 0x24,
  APP_COMMAND_SET_TX_POWER = 0x25,
  APP_COMMAND_GROUP_ADD = 0x50,
  APP_COMMAND_GROUP_REMOVE = 0x51,
  APP_COMMAND_ROUTE_ADD = 0x60,
  APP_COMMAND_ROUTE_REMOVE = 0x61,
  APP_COMMAND_ROUTE_FLUSH = 0x62,
  APP_COMMAND_ROUTE_TABLE = 0x63,
  APP_COMMAND_ROUTE_ENTRY = 0x64,
  APP_COMMAND_FILTER_ADD = 0x71,
  APP_COMMAND_FILTER_REMOVE = 0x72
}
 

Functions

void appCommandsInit (void)
 
void appUartSendCommand (uint8_t *buf, uint16_t size)
 

Enumerator
APP_COMMAND_ACK 
APP_COMMAND_DUMMY 
APP_COMMAND_RESET 
APP_COMMAND_RANDOMIZE 
APP_COMMAND_GET_EVENTS 
APP_COMMAND_EVENTS 
APP_COMMAND_DATA_REQ 
APP_COMMAND_DATA_CONF 
APP_COMMAND_DATA_IND 
APP_COMMAND_OPEN_ENDPOINT 
APP_COMMAND_SET_ACK_STATE 
APP_COMMAND_SET_ACK_CONTROL 
APP_COMMAND_SET_ADDR 
APP_COMMAND_SET_PANID 
APP_COMMAND_SET_CHANNEL 
APP_COMMAND_SET_RX_STATE 
APP_COMMAND_SET_SECURITY_KEY 
APP_COMMAND_SET_TX_POWER 
APP_COMMAND_GROUP_ADD 
APP_COMMAND_GROUP_REMOVE 
APP_COMMAND_ROUTE_ADD 
APP_COMMAND_ROUTE_REMOVE 
APP_COMMAND_ROUTE_FLUSH 
APP_COMMAND_ROUTE_TABLE 
APP_COMMAND_ROUTE_ENTRY 
APP_COMMAND_FILTER_ADD 
APP_COMMAND_FILTER_REMOVE 

void appUartSendCommand ( uint8_t *  buf,
uint16_t  size 
)