AT command firmware for MultiTech Dot devices.

Fork of mDot_AT_firmware by MultiTech

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. The AT firmware was last tested with mbed-os-5.4.7. Using a version past mbed-os-5.4.7 will cause the build to fail. The library used with the AT firmware has to match the mbed-os version.

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.

libmDot-dev

Stable library for mDot.

libmDot

xDot Library

Development library for xDot.

libxDot-dev

Stable library for xDot.

libxDot

Committer:
Mike Fiore
Date:
Fri Nov 04 14:25:43 2016 -0500
Revision:
14:f9a77400b622
Parent:
9:ff62b20f7000
Child:
16:d5cf2af81a6d
update from git revision 2.0.16

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Mike Fiore 14:f9a77400b622 1 #ifndef __COMMANDS_H__
Mike Fiore 14:f9a77400b622 2 #define __COMMANDS_H__
Mike Fiore 14:f9a77400b622 3
Mike Fiore 1:e52ae6584f1c 4 #include "Command.h"
Mike Fiore 1:e52ae6584f1c 5 #include "CmdDummy.h"
Mike Fiore 1:e52ae6584f1c 6
Mike Fiore 1:e52ae6584f1c 7 #include "CmdAttention.h"
Mike Fiore 1:e52ae6584f1c 8 #include "CmdIdentification.h"
Mike Fiore 1:e52ae6584f1c 9 #include "CmdResetCpu.h"
Mike Fiore 1:e52ae6584f1c 10 // Echo built into command terminal
Mike Fiore 1:e52ae6584f1c 11 // Verbose built into command terminal
Mike Fiore 1:e52ae6584f1c 12 //
Mike Fiore 1:e52ae6584f1c 13 #include "CmdFactoryDefault.h"
Mike Fiore 1:e52ae6584f1c 14 #include "CmdSaveConfig.h"
Mike Fiore 14:f9a77400b622 15 #include "CmdWriteProtectedConfig.h"
Mike Fiore 1:e52ae6584f1c 16 #include "CmdDisplayConfig.h"
Mike Fiore 1:e52ae6584f1c 17 #include "CmdDisplayStats.h"
Mike Fiore 4:666017851052 18 #include "CmdResetStats.h"
Mike Fiore 1:e52ae6584f1c 19
Mike Fiore 1:e52ae6584f1c 20 #include "CmdSerialBaudRate.h"
Mike Fiore 9:ff62b20f7000 21 #include "CmdSerialClearOnError.h"
Mike Fiore 1:e52ae6584f1c 22 #include "CmdDebugBaudRate.h"
Mike Fiore 1:e52ae6584f1c 23 #include "CmdStartUpMode.h"
Mike Fiore 1:e52ae6584f1c 24
Mike Fiore 1:e52ae6584f1c 25 #include "CmdFrequencyBand.h"
Mike Fiore 1:e52ae6584f1c 26 #include "CmdDeviceId.h"
Mike Fiore 9:ff62b20f7000 27 #include "CmdDeviceClass.h"
Mike Fiore 1:e52ae6584f1c 28 #include "CmdPublicNetwork.h"
Mike Fiore 1:e52ae6584f1c 29 #include "CmdNetworkAddress.h"
Mike Fiore 1:e52ae6584f1c 30 #include "CmdNetworkSessionKey.h"
Mike Fiore 1:e52ae6584f1c 31 #include "CmdDataSessionKey.h"
Mike Fiore 9:ff62b20f7000 32 #include "CmdUplinkCounter.h"
Mike Fiore 9:ff62b20f7000 33 #include "CmdDownlinkCounter.h"
Mike Fiore 9:ff62b20f7000 34 #include "CmdSaveSession.h"
Mike Fiore 9:ff62b20f7000 35 #include "CmdRestoreSession.h"
Mike Fiore 1:e52ae6584f1c 36 #include "CmdNetworkKey.h"
Mike Fiore 1:e52ae6584f1c 37 #include "CmdNetworkId.h"
Mike Fiore 9:ff62b20f7000 38 #include "CmdAppPort.h"
Mike Fiore 1:e52ae6584f1c 39 #include "CmdJoinRequest.h"
Mike Fiore 4:666017851052 40 #include "CmdJoinByteOrder.h"
Mike Fiore 1:e52ae6584f1c 41 #include "CmdJoinRetries.h"
Mike Fiore 9:ff62b20f7000 42 #include "CmdJoinDelay.h"
Mike Fiore 14:f9a77400b622 43 // Remove join settings commands until valid case for changing default settings
Mike Fiore 14:f9a77400b622 44 //#include "CmdJoinRx1Offset.h"
Mike Fiore 14:f9a77400b622 45 //#include "CmdJoinRx2Datarate.h"
Mike Fiore 14:f9a77400b622 46 //#include "CmdJoinRx2Frequency.h"
Mike Fiore 1:e52ae6584f1c 47 #include "CmdNetworkJoinMode.h"
Mike Fiore 9:ff62b20f7000 48 #include "CmdPreserveSession.h"
Mike Fiore 1:e52ae6584f1c 49 #include "CmdNetworkJoinStatus.h"
Mike Fiore 1:e52ae6584f1c 50 #include "CmdNetworkLinkCheck.h"
Mike Fiore 1:e52ae6584f1c 51 #include "CmdLinkCheckCount.h"
Mike Fiore 1:e52ae6584f1c 52 #include "CmdLinkCheckThreshold.h"
Mike Fiore 1:e52ae6584f1c 53 #include "CmdEncryption.h"
Mike Fiore 1:e52ae6584f1c 54 #include "CmdRssi.h"
Mike Fiore 1:e52ae6584f1c 55 #include "CmdSnr.h"
Mike Fiore 1:e52ae6584f1c 56 #include "CmdDataPending.h"
Mike Fiore 1:e52ae6584f1c 57
Mike Fiore 9:ff62b20f7000 58 #include "CmdSessionDataRate.h"
Mike Fiore 14:f9a77400b622 59 #include "CmdChannelMask.h"
Mike Fiore 9:ff62b20f7000 60
Mike Fiore 1:e52ae6584f1c 61 #include "CmdTxDataRate.h"
Mike Fiore 9:ff62b20f7000 62 #include "CmdAntennaGain.h"
Mike Fiore 1:e52ae6584f1c 63 #include "CmdTxPower.h"
Mike Fiore 1:e52ae6584f1c 64 #include "CmdTxWait.h"
Mike Fiore 1:e52ae6584f1c 65 #include "CmdTxInverted.h"
Mike Fiore 1:e52ae6584f1c 66 #include "CmdTxChannel.h"
Mike Fiore 1:e52ae6584f1c 67 #include "CmdTxNextMs.h"
Mike Fiore 1:e52ae6584f1c 68 #include "CmdTimeOnAir.h"
Mike Fiore 1:e52ae6584f1c 69 #include "CmdFrequencySubBand.h"
Mike Fiore 1:e52ae6584f1c 70
Mike Fiore 9:ff62b20f7000 71 #include "CmdRxDelay.h"
Mike Fiore 1:e52ae6584f1c 72 #include "CmdRxOutput.h"
Mike Fiore 1:e52ae6584f1c 73 #include "CmdRxInverted.h"
Mike Fiore 1:e52ae6584f1c 74
Mike Fiore 1:e52ae6584f1c 75 #include "CmdErrorCorrection.h"
Mike Fiore 1:e52ae6584f1c 76 #include "CmdCRC.h"
Mike Fiore 1:e52ae6584f1c 77 #include "CmdAdaptiveDataRate.h"
Mike Fiore 1:e52ae6584f1c 78
Mike Fiore 1:e52ae6584f1c 79 #include "CmdACKAttempts.h"
Mike Fiore 9:ff62b20f7000 80 #include "CmdRepeat.h"
Mike Fiore 14:f9a77400b622 81 #include "CmdMacCmd.h"
Mike Fiore 1:e52ae6584f1c 82 #include "CmdSendString.h"
Mike Fiore 1:e52ae6584f1c 83 #include "CmdSendBinary.h"
Mike Fiore 1:e52ae6584f1c 84 #include "CmdSendStringOnInterval.h"
Mike Fiore 1:e52ae6584f1c 85 #include "CmdReceiveOnce.h"
Mike Fiore 1:e52ae6584f1c 86 #include "CmdReceiveContinuous.h"
Mike Fiore 4:666017851052 87 #include "CmdPing.h"
Mike Fiore 1:e52ae6584f1c 88
Mike Fiore 1:e52ae6584f1c 89 // Serial Data Mode built into command terminal
Mike Fiore 4:666017851052 90 // Sleep built into command terminal
Mike Fiore 4:666017851052 91 #include "CmdWakeInterval.h"
Mike Fiore 4:666017851052 92 #include "CmdWakePin.h"
Mike Fiore 4:666017851052 93 #include "CmdWakeMode.h"
Mike Fiore 4:666017851052 94 #include "CmdWakeDelay.h"
Mike Fiore 4:666017851052 95 #include "CmdWakeTimeout.h"
Mike Fiore 1:e52ae6584f1c 96
Mike Fiore 1:e52ae6584f1c 97 #include "CmdLogLevel.h"
Mike Fiore 1:e52ae6584f1c 98
Mike Fiore 1:e52ae6584f1c 99 // Radio debug commands
Mike Fiore 1:e52ae6584f1c 100 #include "CmdTxFrequency.h"
Mike Fiore 9:ff62b20f7000 101 #include "CmdRxDataRate.h"
Mike Fiore 9:ff62b20f7000 102 #include "CmdRxFrequency.h"
Mike Fiore 14:f9a77400b622 103 #include "CmdDumpRegisters.h"
Mike Fiore 14:f9a77400b622 104 #include "CmdEraseFlash.h"
Mike Fiore 4:666017851052 105 #include "CmdSendContinuous.h"
Mike Fiore 14:f9a77400b622 106 #include "CmdDisableDutyCycle.h"
Mike Fiore 14:f9a77400b622 107
Mike Fiore 14:f9a77400b622 108 #endif // __COMMANDS_H__
Mike Fiore 14:f9a77400b622 109
Mike Fiore 14:f9a77400b622 110 #ifdef MTS_RADIO_DEBUG_COMMANDS
Mike Fiore 14:f9a77400b622 111 #define NO_OF_COMMANDS 91
Mike Fiore 14:f9a77400b622 112 #else
Mike Fiore 14:f9a77400b622 113 #define NO_OF_COMMANDS 85
Mike Fiore 14:f9a77400b622 114 #endif