AtCommandResponse Class Reference

Represents an AT Command RX packet. More...

#include <XBee.h>

Inheritance diagram for AtCommandResponse:

FrameIdResponse XBeeResponse RemoteAtCommandResponse

List of all members.

Public Member Functions

uint8_t * getCommand ()
 Returns an array containing the two character command.
uint8_t getStatus ()
 Returns the command status code.
uint8_t * getValue ()
 Returns an array containing the command value.
uint8_t getValueLength ()
 Returns the length of the command value array.
bool isOk ()
 Returns true if status equals AT_OK.


Detailed Description

Represents an AT Command RX packet.

Member Function Documentation

uint8_t AtCommandResponse::getStatus (  ) 

Returns the command status code.

Zero represents a successful command

Reimplemented in RemoteAtCommandResponse.

uint8_t * AtCommandResponse::getValue (  ) 

Returns an array containing the command value.

This is only applicable to query commands.

Reimplemented in RemoteAtCommandResponse.


The documentation for this class was generated from the following files:

Generated on Wed Dec 21 17:21:21 2011 for XBee-Arduino by  doxygen 1.5.8