AT command firmware for MultiTech Dot devices.

Fork of mDot_AT_firmware by MultiTech

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers CommandFactory.h Source File

CommandFactory.h

00001 #ifndef __COMMANDFACTORY_H__
00002 #define __COMMANDFACTORY_H__
00003 
00004 #include "Commands.h"
00005 
00006 #include <string>
00007 
00008 class CommandFactory
00009 {
00010 public:
00011     CommandFactory() { };
00012     ~CommandFactory() { };
00013 
00014     typedef enum {
00015         eAT,
00016         eATI,
00017         eATZ,
00018         eATE,
00019         eATVERBOSE,
00020         eATK,
00021         eATF,
00022         eATW,
00023 #if MTS_CMD_TERM_VERBOSE
00024         eATV,
00025         eATS,
00026 #endif
00027         eATR,
00028         eIPR,
00029         eDIPR,
00030         eSMODE,
00031         eDFREQ,
00032         eFREQ,
00033         eFSB,
00034         ePN,
00035         eDI,
00036         eDC,
00037         eLBT,
00038         eAP,
00039         eNA,
00040         eNSK,
00041         eDSK,
00042         eULC,
00043         eDLC,
00044         eSS,
00045         eRS,
00046         eNK,
00047         eCDI,
00048         eCSN,
00049         eNI,
00050         eGK,
00051         eJD,
00052         eJOIN,
00053         eJR,
00054         eJN,
00055         eJNV,
00056         eNJM,
00057         ePS,
00058         eNJS,
00059         eNLC,
00060         eLCC,
00061         eLCT,
00062         eRSSI,
00063         eSNR,
00064         eDP,
00065         eSDR,
00066         eCHM,
00067         eTXDR,
00068         eTXP,
00069         eANT,
00070         eTXF,
00071         eFO,
00072         eTXW,
00073         eTXCH,
00074         eTXN,
00075         eTXS,
00076         eTOA,
00077         eMCRX,
00078         eRTC,
00079         eRXD,
00080         eRXO,
00081         eADR,
00082         eACK,
00083         eBTO,
00084         eCTO,
00085         eREP,
00086         ePP,
00087         eMAC,
00088         eSEND,
00089         eSENDB,
00090         eRECV,
00091         eURC,
00092         eLW,
00093         eSD,
00094         eSLEEP,
00095         eSDCE,
00096         eWM,
00097         eWI,
00098         eWP,
00099         eWD,
00100         eWTO,
00101         ePING,
00102         eFOTA,
00103         eLOG,
00104         eGPSTIME,
00105         eBLS,
00106         eLBTRSSI,
00107         eBAT,
00108         eATWP,
00109         eMEM,
00110 #if defined(TARGET_MTS_MDOT_F411RE)
00111         eREPAIR,
00112         eWOTP,
00113 #endif
00114         eDUTY,
00115         eDD,
00116 #if MTS_CMD_TERM_TEST_COMMANDS
00117         ePRINT_TEST,
00118         eSENDI,
00119         eSENDC,
00120         eSW,
00121 #endif
00122 #ifdef MTS_RADIO_DEBUG_COMMANDS
00123         ePRINT_DEBUG,
00124         eDREGS,
00125         eERASE,
00126         eRECVC,
00127 #endif
00128 #if defined(TARGET_XDOT_MAX32670)
00129         eVDDMIN,
00130 #endif
00131 #ifdef MTS_RADIO_CTRL_COMMANDS
00132         ePRINT_RADIO_CTRL,
00133         ePADUTYCONF,
00134         eHPMAXCONF,
00135         eLNACONF,
00136         eXTATRIM,
00137         eXTBTRIM,
00138         eSWT,
00139         eRAMP,
00140         eINF,
00141         eRADSLEEP,
00142         eSENDDI,
00143         eRXF,
00144         eRXDR,
00145 #endif
00146         NUMBER_OF_CMDS
00147     } CmdId_t;
00148 
00149     static Command* Create(CmdId_t cmd);
00150 };
00151 #endif