AT command firmware for MultiTech Dot devices.
Fork of mDot_AT_firmware by
Dot Library Not Included!
Because these example programs can be used for both mDot and xDot devices, the LoRa stack is not included. The libmDot library should be imported if building for mDot devices. The libxDot library should be imported if building for xDot devices. Check the commit messages of the Dot library version used to find the correct mbed-os version to use with it. The mbed-os version must match the version used in that version of Dot library or it will likely cause it to fail to compile or have unexpected problems while running.
Dot Library Version 3 Updates
Dot Library versions 3.x.x require a channel plan to be injected into the stack. The Dot-Examples and Dot-AT-Firmware do this by defining a macro called "CHANNEL_PLAN" that controls the channel plan that will be used in the examples. Available channel plans will be in the Dot Library repository in the plans folder.
Revision 20 and earlier of Dot-Examples and revision 15 and earlier of Dot-AT-Firmware should be used with Dot Library versions prior to 3.0.0.
Fota Library
Th Fota Library must be added to compile for mDot 3.1.0 with Fota support. Latest dev libraries and 3.2.0 release will include Fota with libmDot/libxDot.
AT Firmware Description
This AT Firmware is what ships on mDot and xDot devices. It provides an AT command interface for using the mDot or xDot for LoRa communication.
AT command documentation can be found on Multitech.com.
The firmware changelog can be found here.
The library changelog can be found here.
Dot Libraries
Dot Library Limitations
The commit messages in libmDot-mbed5 and libmDot-dev-mbed5 specify the version of the Dot library the commit contains and the version of mbed-os it was compiled against. We recommend building your application with the version of mbed-os specified in the commit message of the version of the Dot library you're using. This will ensure that you don't run into any runtime issues caused by differences in the mbed-os versions.
Stable and development libraries are available for both mDot and xDot platforms. The library chosen must match the target platform. Compiling for the mDot platform with the xDot library or vice versa will not succeed.
mDot Library
Development library for mDot.
Stable library for mDot.
xDot Library
Development library for xDot.
Stable library for xDot.
CommandTerminal/CommandFactory.cpp@42:23e2df6714f4, 13 months ago (annotated)
- Committer:
- Jason Reiss
- Date:
- Wed Dec 06 13:33:52 2023 -0600
- Revision:
- 42:23e2df6714f4
- Parent:
- 36:b586cd6e91f3
- Child:
- 44:d63a910442c0
TestMode: reset appnonce to 0 on reset to accomodate LCTT 3.12.0 and earlier. If the test suite changes to test AppNonce loaded from NVM this will fail tests.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Jason Reiss |
27:5fafd3b26ac3 | 1 | #include "CommandFactory.h" |
Jason Reiss |
27:5fafd3b26ac3 | 2 | |
Jason Reiss |
28:c222ca8383f4 | 3 | #if MTS_CMD_TERM_VERBOSE |
Jason Reiss |
28:c222ca8383f4 | 4 | #define CMD_DUMMY(n,t,d,u) CmdDummy(n,t,d,u) |
Jason Reiss |
28:c222ca8383f4 | 5 | #else |
Jason Reiss |
28:c222ca8383f4 | 6 | #define CMD_DUMMY(n,t,d,u) CmdDummy(t) |
Jason Reiss |
28:c222ca8383f4 | 7 | #endif |
Jason Reiss |
28:c222ca8383f4 | 8 | |
Jason Reiss |
27:5fafd3b26ac3 | 9 | Command* CommandFactory::Create(CmdId_t cmd) |
Jason Reiss |
27:5fafd3b26ac3 | 10 | { |
Jason Reiss |
27:5fafd3b26ac3 | 11 | switch (cmd) { |
Jason Reiss |
27:5fafd3b26ac3 | 12 | case eAT: |
Jason Reiss |
28:c222ca8383f4 | 13 | return new CMD_DUMMY("Attention", "AT", "Attention", ""); |
Jason Reiss |
27:5fafd3b26ac3 | 14 | case eATI: |
Jason Reiss |
27:5fafd3b26ac3 | 15 | return new CmdIdentification(); |
Jason Reiss |
27:5fafd3b26ac3 | 16 | case eLW: |
Jason Reiss |
28:c222ca8383f4 | 17 | return new CMD_DUMMY("LoRaWAN MAC Version", "AT+LW", "Show support LoRaWAN MAC Version", ""); |
Jason Reiss |
27:5fafd3b26ac3 | 18 | case eATZ: |
Jason Reiss |
27:5fafd3b26ac3 | 19 | return new CmdResetCpu(); |
Jason Reiss |
27:5fafd3b26ac3 | 20 | case eATE: |
Jason Reiss |
28:c222ca8383f4 | 21 | return new CMD_DUMMY("Enable/Disable Echo", "ATE", "ATE0: disable, ATE1: enable", "(0,1)"); |
Jason Reiss |
27:5fafd3b26ac3 | 22 | case eATVERBOSE: |
Jason Reiss |
28:c222ca8383f4 | 23 | return new CMD_DUMMY("Enable/Disable Verbose", "ATV", "ATV0: disable, ATV1: enable", "(0,1)"); |
Jason Reiss |
27:5fafd3b26ac3 | 24 | case eATK: |
Jason Reiss |
28:c222ca8383f4 | 25 | return new CMD_DUMMY("Hardware Flow Control", "AT&K", "AT&K0: disable, AT&K3: enable", "(0,3)"); |
Jason Reiss |
27:5fafd3b26ac3 | 26 | case eATF: |
Jason Reiss |
27:5fafd3b26ac3 | 27 | return new CmdFactoryDefault(); |
Jason Reiss |
27:5fafd3b26ac3 | 28 | case eATW: |
Jason Reiss |
28:c222ca8383f4 | 29 | return new CMD_DUMMY("Save Configuration", "AT&W", "Save configuration to flash memory", "NONE"); |
Jason Reiss |
28:c222ca8383f4 | 30 | #if MTS_CMD_TERM_VERBOSE |
Jason Reiss |
27:5fafd3b26ac3 | 31 | case eATV: |
Jason Reiss |
27:5fafd3b26ac3 | 32 | return new CmdDisplayConfig(); |
Jason Reiss |
27:5fafd3b26ac3 | 33 | case eATS: |
Jason Reiss |
27:5fafd3b26ac3 | 34 | return new CmdDisplayStats(); |
Jason Reiss |
28:c222ca8383f4 | 35 | #endif |
Jason Reiss |
27:5fafd3b26ac3 | 36 | case eATR: |
Jason Reiss |
27:5fafd3b26ac3 | 37 | return new CmdResetStats(); |
Jason Reiss |
27:5fafd3b26ac3 | 38 | case eIPR: |
Jason Reiss |
27:5fafd3b26ac3 | 39 | return new CmdSerialBaudRate(); |
Jason Reiss |
27:5fafd3b26ac3 | 40 | case eDIPR: |
Jason Reiss |
27:5fafd3b26ac3 | 41 | return new CmdDebugBaudRate(); |
Jason Reiss |
27:5fafd3b26ac3 | 42 | case eSMODE: |
Jason Reiss |
27:5fafd3b26ac3 | 43 | return new CmdStartUpMode(); |
Jason Reiss |
27:5fafd3b26ac3 | 44 | case eDFREQ: |
Jason Reiss |
27:5fafd3b26ac3 | 45 | return new CmdDefaultFrequencyBand(); |
Jason Reiss |
27:5fafd3b26ac3 | 46 | case eFREQ: |
Jason Reiss |
27:5fafd3b26ac3 | 47 | return new CmdFrequencyBand(); |
Jason Reiss |
27:5fafd3b26ac3 | 48 | case eFSB: |
Jason Reiss |
27:5fafd3b26ac3 | 49 | return new CmdFrequencySubBand(); |
Jason Reiss |
27:5fafd3b26ac3 | 50 | case ePN: |
Jason Reiss |
27:5fafd3b26ac3 | 51 | return new CmdPublicNetwork(); |
Jason Reiss |
27:5fafd3b26ac3 | 52 | case eDI: |
Jason Reiss |
27:5fafd3b26ac3 | 53 | return new CmdDeviceId(); |
Jason Reiss |
27:5fafd3b26ac3 | 54 | case eDC: |
Jason Reiss |
27:5fafd3b26ac3 | 55 | return new CmdDeviceClass(); |
Jason Reiss |
27:5fafd3b26ac3 | 56 | case eLBT: |
Jason Reiss |
27:5fafd3b26ac3 | 57 | return new CmdLbt(); |
Jason Reiss |
27:5fafd3b26ac3 | 58 | case eAP: |
Jason Reiss |
27:5fafd3b26ac3 | 59 | return new CmdAppPort(); |
Jason Reiss |
27:5fafd3b26ac3 | 60 | case eNA: |
Jason Reiss |
27:5fafd3b26ac3 | 61 | return new CmdNetworkAddress(); |
Jason Reiss |
27:5fafd3b26ac3 | 62 | case eNSK: |
Jason Reiss |
27:5fafd3b26ac3 | 63 | return new CmdNetworkSessionKey(); |
Jason Reiss |
27:5fafd3b26ac3 | 64 | case eDSK: |
Jason Reiss |
27:5fafd3b26ac3 | 65 | return new CmdDataSessionKey(); |
Jason Reiss |
27:5fafd3b26ac3 | 66 | case eULC: |
Jason Reiss |
27:5fafd3b26ac3 | 67 | return new CmdUplinkCounter(); |
Jason Reiss |
27:5fafd3b26ac3 | 68 | case eDLC: |
Jason Reiss |
27:5fafd3b26ac3 | 69 | return new CmdDownlinkCounter(); |
Jason Reiss |
27:5fafd3b26ac3 | 70 | case eSS: |
Jason Reiss |
28:c222ca8383f4 | 71 | return new CMD_DUMMY("Save Network Session", "AT+SS", "Save network session info to flash", "NONE"); |
Jason Reiss |
27:5fafd3b26ac3 | 72 | case eRS: |
Jason Reiss |
27:5fafd3b26ac3 | 73 | return new CmdRestoreSession(); |
Jason Reiss |
36:b586cd6e91f3 | 74 | case eCDI: |
Jason Reiss |
36:b586cd6e91f3 | 75 | return new CmdCustomDeviceID(); |
Jason Reiss |
36:b586cd6e91f3 | 76 | case eCSN: |
Jason Reiss |
36:b586cd6e91f3 | 77 | return new CmdCustomSerialNumber(); |
Jason Reiss |
27:5fafd3b26ac3 | 78 | case eNK: |
Jason Reiss |
27:5fafd3b26ac3 | 79 | return new CmdNetworkKey(); |
Jason Reiss |
27:5fafd3b26ac3 | 80 | case eGK: |
Jason Reiss |
27:5fafd3b26ac3 | 81 | return new CmdGenAppKey(); |
Jason Reiss |
27:5fafd3b26ac3 | 82 | case eNI: |
Jason Reiss |
27:5fafd3b26ac3 | 83 | return new CmdNetworkId(); |
Jason Reiss |
27:5fafd3b26ac3 | 84 | case eJD: |
Jason Reiss |
27:5fafd3b26ac3 | 85 | return new CmdJoinDelay(); |
Jason Reiss |
27:5fafd3b26ac3 | 86 | case eJOIN: |
Jason Reiss |
27:5fafd3b26ac3 | 87 | return new CmdJoinRequest(); |
Jason Reiss |
27:5fafd3b26ac3 | 88 | case eJR: |
Jason Reiss |
27:5fafd3b26ac3 | 89 | return new CmdJoinRetries(); |
Jason Reiss |
27:5fafd3b26ac3 | 90 | case eJN: |
Jason Reiss |
27:5fafd3b26ac3 | 91 | return new CmdJoinNonce(); |
Jason Reiss |
27:5fafd3b26ac3 | 92 | case eJNV: |
Jason Reiss |
27:5fafd3b26ac3 | 93 | return new CmdJoinNonceValidation(); |
Jason Reiss |
27:5fafd3b26ac3 | 94 | case eNJM: |
Jason Reiss |
27:5fafd3b26ac3 | 95 | return new CmdNetworkJoinMode(); |
Jason Reiss |
27:5fafd3b26ac3 | 96 | case ePS: |
Jason Reiss |
27:5fafd3b26ac3 | 97 | return new CmdPreserveSession(); |
Jason Reiss |
27:5fafd3b26ac3 | 98 | case eNJS: |
Jason Reiss |
27:5fafd3b26ac3 | 99 | return new CmdNetworkJoinStatus(); |
Jason Reiss |
27:5fafd3b26ac3 | 100 | case eNLC: |
Jason Reiss |
27:5fafd3b26ac3 | 101 | return new CmdNetworkLinkCheck(); |
Jason Reiss |
27:5fafd3b26ac3 | 102 | case eLCC: |
Jason Reiss |
27:5fafd3b26ac3 | 103 | return new CmdLinkCheckCount(); |
Jason Reiss |
27:5fafd3b26ac3 | 104 | case eLCT: |
Jason Reiss |
27:5fafd3b26ac3 | 105 | return new CmdLinkCheckThreshold(); |
Jason Reiss |
27:5fafd3b26ac3 | 106 | case eRSSI: |
Jason Reiss |
27:5fafd3b26ac3 | 107 | return new CmdRssi(); |
Jason Reiss |
27:5fafd3b26ac3 | 108 | case eSNR: |
Jason Reiss |
27:5fafd3b26ac3 | 109 | return new CmdSnr(); |
Jason Reiss |
27:5fafd3b26ac3 | 110 | case eDP: |
Jason Reiss |
28:c222ca8383f4 | 111 | return new CMD_DUMMY("Data Pending", "AT+DP", "Indicator of data in queue on server", "(0,1)"); |
Jason Reiss |
27:5fafd3b26ac3 | 112 | case eSDR: |
Jason Reiss |
27:5fafd3b26ac3 | 113 | return new CmdSessionDataRate(); |
Jason Reiss |
27:5fafd3b26ac3 | 114 | case eCHM: |
Jason Reiss |
27:5fafd3b26ac3 | 115 | return new CmdChannelMask(); |
Jason Reiss |
27:5fafd3b26ac3 | 116 | case eTXDR: |
Jason Reiss |
27:5fafd3b26ac3 | 117 | return new CmdTxDataRate(); |
Jason Reiss |
27:5fafd3b26ac3 | 118 | case eTXP: |
Jason Reiss |
27:5fafd3b26ac3 | 119 | return new CmdTxPower(); |
Jason Reiss |
27:5fafd3b26ac3 | 120 | case eANT: |
Jason Reiss |
27:5fafd3b26ac3 | 121 | return new CmdAntennaGain(); |
Jason Reiss |
27:5fafd3b26ac3 | 122 | case eTXF: |
Jason Reiss |
27:5fafd3b26ac3 | 123 | return new CmdTxFrequency(); |
Jason Reiss |
27:5fafd3b26ac3 | 124 | case eFO: |
Jason Reiss |
27:5fafd3b26ac3 | 125 | return new CmdTxFrequencyOffset(); |
Jason Reiss |
27:5fafd3b26ac3 | 126 | case eTXW: |
Jason Reiss |
27:5fafd3b26ac3 | 127 | return new CmdTxWait(); |
Jason Reiss |
27:5fafd3b26ac3 | 128 | case eTXCH: |
Jason Reiss |
27:5fafd3b26ac3 | 129 | return new CmdTxChannel(); |
Jason Reiss |
27:5fafd3b26ac3 | 130 | case eTXN: |
Jason Reiss |
27:5fafd3b26ac3 | 131 | return new CmdTxNextMs(); |
Jason Reiss |
27:5fafd3b26ac3 | 132 | case eTXS: |
Jason Reiss |
27:5fafd3b26ac3 | 133 | return new CmdTxNextSize(); |
Jason Reiss |
27:5fafd3b26ac3 | 134 | case eTOA: |
Jason Reiss |
27:5fafd3b26ac3 | 135 | return new CmdTimeOnAir(); |
Jason Reiss |
27:5fafd3b26ac3 | 136 | case eMCRX: |
Jason Reiss |
27:5fafd3b26ac3 | 137 | return new CmdMulticastRx(); |
Jason Reiss |
27:5fafd3b26ac3 | 138 | case eRXD: |
Jason Reiss |
27:5fafd3b26ac3 | 139 | return new CmdRxDelay(); |
Jason Reiss |
27:5fafd3b26ac3 | 140 | case eRXO: |
Jason Reiss |
27:5fafd3b26ac3 | 141 | return new CmdRxOutput(); |
Jason Reiss |
27:5fafd3b26ac3 | 142 | case eADR: |
Jason Reiss |
27:5fafd3b26ac3 | 143 | return new CmdAdaptiveDataRate(); |
Jason Reiss |
27:5fafd3b26ac3 | 144 | case eACK: |
Jason Reiss |
27:5fafd3b26ac3 | 145 | return new CmdACKAttempts(); |
Jason Reiss |
28:c222ca8383f4 | 146 | case eBTO: |
Jason Reiss |
28:c222ca8383f4 | 147 | return new CmdClassBTimeout(); |
Jason Reiss |
28:c222ca8383f4 | 148 | case eCTO: |
Jason Reiss |
28:c222ca8383f4 | 149 | return new CmdClassCTimeout(); |
Jason Reiss |
27:5fafd3b26ac3 | 150 | case eREP: |
Jason Reiss |
27:5fafd3b26ac3 | 151 | return new CmdRepeat(); |
Jason Reiss |
27:5fafd3b26ac3 | 152 | case ePP: |
Jason Reiss |
27:5fafd3b26ac3 | 153 | return new CmdPingPeriod(); |
Jason Reiss |
27:5fafd3b26ac3 | 154 | case eMAC: |
Jason Reiss |
27:5fafd3b26ac3 | 155 | return new CmdMacCmd(); |
Jason Reiss |
27:5fafd3b26ac3 | 156 | case eSEND: |
Jason Reiss |
27:5fafd3b26ac3 | 157 | return new CmdSendString(); |
Jason Reiss |
27:5fafd3b26ac3 | 158 | case eSENDB: |
Jason Reiss |
27:5fafd3b26ac3 | 159 | return new CmdSendBinary(); |
Jason Reiss |
27:5fafd3b26ac3 | 160 | case eRECV: |
Jason Reiss |
27:5fafd3b26ac3 | 161 | return new CmdReceiveOnce(); |
Jason Reiss |
27:5fafd3b26ac3 | 162 | case eURC: |
Jason Reiss |
28:c222ca8383f4 | 163 | return new CMD_DUMMY("Unsolicited Response Code", "AT+URC", "Output packets to terminal when received", "(0,1)"); |
Jason Reiss |
27:5fafd3b26ac3 | 164 | case eSD: |
Jason Reiss |
28:c222ca8383f4 | 165 | return new CMD_DUMMY("Serial Data Mode", "AT+SD", "Enter serial data mode, exit with '+++'", "NONE"); |
Jason Reiss |
27:5fafd3b26ac3 | 166 | case eSLEEP: |
Jason Reiss |
28:c222ca8383f4 | 167 | return new CMD_DUMMY("Sleep Mode", "AT+SLEEP", "Enter sleep mode (0:deepsleep,1:sleep)", "(0,1)"); |
Jason Reiss |
27:5fafd3b26ac3 | 168 | case eSDCE: |
Jason Reiss |
27:5fafd3b26ac3 | 169 | return new CmdSerialClearOnError(); |
Jason Reiss |
27:5fafd3b26ac3 | 170 | case eWM: |
Jason Reiss |
27:5fafd3b26ac3 | 171 | return new CmdWakeMode(); |
Jason Reiss |
27:5fafd3b26ac3 | 172 | case eWI: |
Jason Reiss |
27:5fafd3b26ac3 | 173 | return new CmdWakeInterval(); |
Jason Reiss |
27:5fafd3b26ac3 | 174 | case eWP: |
Jason Reiss |
27:5fafd3b26ac3 | 175 | return new CmdWakePin(); |
Jason Reiss |
27:5fafd3b26ac3 | 176 | case eWD: |
Jason Reiss |
27:5fafd3b26ac3 | 177 | return new CmdWakeDelay(); |
Jason Reiss |
27:5fafd3b26ac3 | 178 | case eWTO: |
Jason Reiss |
27:5fafd3b26ac3 | 179 | return new CmdWakeTimeout(); |
Jason Reiss |
27:5fafd3b26ac3 | 180 | case ePING: |
Jason Reiss |
27:5fafd3b26ac3 | 181 | return new CmdPing(); |
Jason Reiss |
36:b586cd6e91f3 | 182 | case eRTC: |
Jason Reiss |
36:b586cd6e91f3 | 183 | return new CmdRtc(); |
Jason Reiss |
27:5fafd3b26ac3 | 184 | case eLOG: |
Jason Reiss |
27:5fafd3b26ac3 | 185 | return new CmdLogLevel(); |
Jason Reiss |
27:5fafd3b26ac3 | 186 | case eFOTA: |
Jason Reiss |
27:5fafd3b26ac3 | 187 | return new CmdFota(); |
Jason Reiss |
27:5fafd3b26ac3 | 188 | case eGPSTIME: |
Jason Reiss |
27:5fafd3b26ac3 | 189 | return new CmdGpsTime(); |
Jason Reiss |
27:5fafd3b26ac3 | 190 | case eBLS: |
Jason Reiss |
27:5fafd3b26ac3 | 191 | return new CmdBeaconLockStatus(); |
Jason Reiss |
27:5fafd3b26ac3 | 192 | case eLBTRSSI: |
Jason Reiss |
27:5fafd3b26ac3 | 193 | return new CmdLBTRSSI(); |
Jason Reiss |
27:5fafd3b26ac3 | 194 | case eBAT: |
Jason Reiss |
27:5fafd3b26ac3 | 195 | return new CmdBatteryLevel(); |
Jason Reiss |
28:c222ca8383f4 | 196 | case eATWP: |
Jason Reiss |
28:c222ca8383f4 | 197 | return new CMD_DUMMY("Write Protected Config", "AT&WP", "Write protected config to flash (DevEUI, AppEUI, AppKey, Frequency Band)", "NONE"); |
Jason Reiss |
36:b586cd6e91f3 | 198 | case eMEM: |
Jason Reiss |
36:b586cd6e91f3 | 199 | return new CMD_DUMMY("Free Memory", "AT+MEM", "Show amount of free RAM available", ""); |
Jason Reiss |
28:c222ca8383f4 | 200 | #if defined(TARGET_MTS_MDOT_F411RE) |
Jason Reiss |
28:c222ca8383f4 | 201 | case eREPAIR: |
Jason Reiss |
28:c222ca8383f4 | 202 | return new CmdRepairFlash(); |
Jason Reiss |
34:3b696c2b1e4b | 203 | case eWOTP: |
Jason Reiss |
34:3b696c2b1e4b | 204 | return new CmdWriteOtp(); |
Jason Reiss |
28:c222ca8383f4 | 205 | #endif |
Jason Reiss |
34:3b696c2b1e4b | 206 | case eDUTY: |
Jason Reiss |
34:3b696c2b1e4b | 207 | return new CmdDutyCycle(); |
Jason Reiss |
36:b586cd6e91f3 | 208 | case eDD: |
Jason Reiss |
36:b586cd6e91f3 | 209 | return new CmdDisableDutyCycle(); |
Jason Reiss |
28:c222ca8383f4 | 210 | #if MTS_CMD_TERM_TEST_COMMANDS |
Jason Reiss |
27:5fafd3b26ac3 | 211 | case ePRINT_TEST: |
Jason Reiss |
36:b586cd6e91f3 | 212 | return new CMD_DUMMY("** Test Commands **", "", "", ""); |
Jason Reiss |
27:5fafd3b26ac3 | 213 | case eSENDI: |
Jason Reiss |
27:5fafd3b26ac3 | 214 | return new CmdSendStringOnInterval(); |
Jason Reiss |
27:5fafd3b26ac3 | 215 | case eSENDC: |
Jason Reiss |
27:5fafd3b26ac3 | 216 | return new CmdSendContinuous(); |
Jason Reiss |
36:b586cd6e91f3 | 217 | case eSW: |
Jason Reiss |
36:b586cd6e91f3 | 218 | return new CmdSweep(); |
Jason Reiss |
27:5fafd3b26ac3 | 219 | #endif |
Jason Reiss |
28:c222ca8383f4 | 220 | #ifdef MTS_RADIO_DEBUG_COMMANDS |
Jason Reiss |
28:c222ca8383f4 | 221 | case ePRINT_DEBUG: |
Jason Reiss |
36:b586cd6e91f3 | 222 | return new CMD_DUMMY("** Debug Commands **", "", "", ""); |
Jason Reiss |
27:5fafd3b26ac3 | 223 | case eDREGS: |
Jason Reiss |
27:5fafd3b26ac3 | 224 | return new CmdDumpRegisters(); |
Jason Reiss |
27:5fafd3b26ac3 | 225 | case eERASE: |
Jason Reiss |
27:5fafd3b26ac3 | 226 | return new CmdEraseFlash(); |
Jason Reiss |
36:b586cd6e91f3 | 227 | case eRECVC: |
Jason Reiss |
36:b586cd6e91f3 | 228 | return new CmdReceiveContinuous(); |
Jason Reiss |
36:b586cd6e91f3 | 229 | #endif |
Jason Reiss |
36:b586cd6e91f3 | 230 | #if defined(TARGET_XDOT_MAX32670) |
Jason Reiss |
36:b586cd6e91f3 | 231 | case eVDDMIN: |
Jason Reiss |
36:b586cd6e91f3 | 232 | return new CmdVddMin(); |
Jason Reiss |
36:b586cd6e91f3 | 233 | #ifdef MTS_RADIO_CTRL_COMMANDS |
Jason Reiss |
36:b586cd6e91f3 | 234 | case ePRINT_RADIO_CTRL: |
Jason Reiss |
36:b586cd6e91f3 | 235 | return new CMD_DUMMY("** Radio Control Commmands **", "", "", ""); |
Jason Reiss |
36:b586cd6e91f3 | 236 | case ePADUTYCONF: |
Jason Reiss |
36:b586cd6e91f3 | 237 | return new CmdPaDutyConf(); |
Jason Reiss |
36:b586cd6e91f3 | 238 | case eHPMAXCONF: |
Jason Reiss |
36:b586cd6e91f3 | 239 | return new CmdHpMaxConf(); |
Jason Reiss |
36:b586cd6e91f3 | 240 | case eLNACONF: |
Jason Reiss |
36:b586cd6e91f3 | 241 | return new CmdLnaConf(); |
Jason Reiss |
36:b586cd6e91f3 | 242 | case eXTATRIM: |
Jason Reiss |
36:b586cd6e91f3 | 243 | return new CmdXTATrim(); |
Jason Reiss |
36:b586cd6e91f3 | 244 | case eXTBTRIM: |
Jason Reiss |
36:b586cd6e91f3 | 245 | return new CmdXTBTrim(); |
Jason Reiss |
36:b586cd6e91f3 | 246 | case eSWT: |
Jason Reiss |
36:b586cd6e91f3 | 247 | return new CmdSetSW(); |
Jason Reiss |
36:b586cd6e91f3 | 248 | case eRAMP: |
Jason Reiss |
36:b586cd6e91f3 | 249 | return new CmdRamp(); |
Jason Reiss |
36:b586cd6e91f3 | 250 | case eINF: |
Jason Reiss |
36:b586cd6e91f3 | 251 | return new CmdInfPreamble(); |
Jason Reiss |
36:b586cd6e91f3 | 252 | case eRADSLEEP: |
Jason Reiss |
36:b586cd6e91f3 | 253 | return new CmdRadioSleep(); |
Jason Reiss |
36:b586cd6e91f3 | 254 | case eSENDDI: |
Jason Reiss |
36:b586cd6e91f3 | 255 | return new CmdSendDI(); |
Jason Reiss |
27:5fafd3b26ac3 | 256 | case eRXF: |
Jason Reiss |
27:5fafd3b26ac3 | 257 | return new CmdRxFrequency(); |
Jason Reiss |
36:b586cd6e91f3 | 258 | case eRXDR: |
Jason Reiss |
36:b586cd6e91f3 | 259 | return new CmdRxDataRate(); |
Jason Reiss |
36:b586cd6e91f3 | 260 | #endif |
Jason Reiss |
27:5fafd3b26ac3 | 261 | #endif |
Jason Reiss |
27:5fafd3b26ac3 | 262 | default: |
Jason Reiss |
27:5fafd3b26ac3 | 263 | return NULL; |
Jason Reiss |
27:5fafd3b26ac3 | 264 | } |
Jason Reiss |
27:5fafd3b26ac3 | 265 | } |