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:
jenkins@jenkinsdm1
Date:
Mon Jun 19 14:33:21 2017 -0500
Revision:
16:d5cf2af81a6d
Parent:
14:f9a77400b622
Child:
18:63f098f042b2
mdot-firmware revision 3.0.0-rc7

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
jenkins@jenkinsdm1 16:d5cf2af81a6d 25 #include "CmdDefaultFrequencyBand.h"
Mike Fiore 1:e52ae6584f1c 26 #include "CmdFrequencyBand.h"
Mike Fiore 1:e52ae6584f1c 27 #include "CmdDeviceId.h"
Mike Fiore 9:ff62b20f7000 28 #include "CmdDeviceClass.h"
Mike Fiore 1:e52ae6584f1c 29 #include "CmdPublicNetwork.h"
Mike Fiore 1:e52ae6584f1c 30 #include "CmdNetworkAddress.h"
Mike Fiore 1:e52ae6584f1c 31 #include "CmdNetworkSessionKey.h"
Mike Fiore 1:e52ae6584f1c 32 #include "CmdDataSessionKey.h"
Mike Fiore 9:ff62b20f7000 33 #include "CmdUplinkCounter.h"
Mike Fiore 9:ff62b20f7000 34 #include "CmdDownlinkCounter.h"
Mike Fiore 9:ff62b20f7000 35 #include "CmdSaveSession.h"
Mike Fiore 9:ff62b20f7000 36 #include "CmdRestoreSession.h"
Mike Fiore 1:e52ae6584f1c 37 #include "CmdNetworkKey.h"
Mike Fiore 1:e52ae6584f1c 38 #include "CmdNetworkId.h"
Mike Fiore 9:ff62b20f7000 39 #include "CmdAppPort.h"
Mike Fiore 1:e52ae6584f1c 40 #include "CmdJoinRequest.h"
Mike Fiore 4:666017851052 41 #include "CmdJoinByteOrder.h"
Mike Fiore 1:e52ae6584f1c 42 #include "CmdJoinRetries.h"
Mike Fiore 9:ff62b20f7000 43 #include "CmdJoinDelay.h"
Mike Fiore 14:f9a77400b622 44 // Remove join settings commands until valid case for changing default settings
Mike Fiore 14:f9a77400b622 45 //#include "CmdJoinRx1Offset.h"
Mike Fiore 14:f9a77400b622 46 //#include "CmdJoinRx2Datarate.h"
Mike Fiore 14:f9a77400b622 47 //#include "CmdJoinRx2Frequency.h"
Mike Fiore 1:e52ae6584f1c 48 #include "CmdNetworkJoinMode.h"
Mike Fiore 9:ff62b20f7000 49 #include "CmdPreserveSession.h"
Mike Fiore 1:e52ae6584f1c 50 #include "CmdNetworkJoinStatus.h"
Mike Fiore 1:e52ae6584f1c 51 #include "CmdNetworkLinkCheck.h"
Mike Fiore 1:e52ae6584f1c 52 #include "CmdLinkCheckCount.h"
Mike Fiore 1:e52ae6584f1c 53 #include "CmdLinkCheckThreshold.h"
Mike Fiore 1:e52ae6584f1c 54 #include "CmdEncryption.h"
Mike Fiore 1:e52ae6584f1c 55 #include "CmdRssi.h"
Mike Fiore 1:e52ae6584f1c 56 #include "CmdSnr.h"
Mike Fiore 1:e52ae6584f1c 57 #include "CmdDataPending.h"
Mike Fiore 1:e52ae6584f1c 58
Mike Fiore 9:ff62b20f7000 59 #include "CmdSessionDataRate.h"
Mike Fiore 14:f9a77400b622 60 #include "CmdChannelMask.h"
Mike Fiore 9:ff62b20f7000 61
Mike Fiore 1:e52ae6584f1c 62 #include "CmdTxDataRate.h"
Mike Fiore 9:ff62b20f7000 63 #include "CmdAntennaGain.h"
Mike Fiore 1:e52ae6584f1c 64 #include "CmdTxPower.h"
Mike Fiore 1:e52ae6584f1c 65 #include "CmdTxWait.h"
Mike Fiore 1:e52ae6584f1c 66 #include "CmdTxInverted.h"
Mike Fiore 1:e52ae6584f1c 67 #include "CmdTxChannel.h"
Mike Fiore 1:e52ae6584f1c 68 #include "CmdTxNextMs.h"
Mike Fiore 1:e52ae6584f1c 69 #include "CmdTimeOnAir.h"
Mike Fiore 1:e52ae6584f1c 70 #include "CmdFrequencySubBand.h"
jenkins@jenkinsdm1 16:d5cf2af81a6d 71 #include "CmdLbt.h"
Mike Fiore 1:e52ae6584f1c 72
Mike Fiore 9:ff62b20f7000 73 #include "CmdRxDelay.h"
Mike Fiore 1:e52ae6584f1c 74 #include "CmdRxOutput.h"
Mike Fiore 1:e52ae6584f1c 75 #include "CmdRxInverted.h"
Mike Fiore 1:e52ae6584f1c 76
Mike Fiore 1:e52ae6584f1c 77 #include "CmdErrorCorrection.h"
Mike Fiore 1:e52ae6584f1c 78 #include "CmdCRC.h"
Mike Fiore 1:e52ae6584f1c 79 #include "CmdAdaptiveDataRate.h"
Mike Fiore 1:e52ae6584f1c 80
Mike Fiore 1:e52ae6584f1c 81 #include "CmdACKAttempts.h"
Mike Fiore 9:ff62b20f7000 82 #include "CmdRepeat.h"
Mike Fiore 14:f9a77400b622 83 #include "CmdMacCmd.h"
Mike Fiore 1:e52ae6584f1c 84 #include "CmdSendString.h"
Mike Fiore 1:e52ae6584f1c 85 #include "CmdSendBinary.h"
Mike Fiore 1:e52ae6584f1c 86 #include "CmdSendStringOnInterval.h"
Mike Fiore 1:e52ae6584f1c 87 #include "CmdReceiveOnce.h"
Mike Fiore 1:e52ae6584f1c 88 #include "CmdReceiveContinuous.h"
Mike Fiore 4:666017851052 89 #include "CmdPing.h"
Mike Fiore 1:e52ae6584f1c 90
Mike Fiore 1:e52ae6584f1c 91 // Serial Data Mode built into command terminal
Mike Fiore 4:666017851052 92 // Sleep built into command terminal
Mike Fiore 4:666017851052 93 #include "CmdWakeInterval.h"
Mike Fiore 4:666017851052 94 #include "CmdWakePin.h"
Mike Fiore 4:666017851052 95 #include "CmdWakeMode.h"
Mike Fiore 4:666017851052 96 #include "CmdWakeDelay.h"
Mike Fiore 4:666017851052 97 #include "CmdWakeTimeout.h"
Mike Fiore 1:e52ae6584f1c 98
Mike Fiore 1:e52ae6584f1c 99 #include "CmdLogLevel.h"
Mike Fiore 1:e52ae6584f1c 100
Mike Fiore 1:e52ae6584f1c 101 // Radio debug commands
Mike Fiore 1:e52ae6584f1c 102 #include "CmdTxFrequency.h"
Mike Fiore 9:ff62b20f7000 103 #include "CmdRxDataRate.h"
Mike Fiore 9:ff62b20f7000 104 #include "CmdRxFrequency.h"
Mike Fiore 14:f9a77400b622 105 #include "CmdDumpRegisters.h"
Mike Fiore 14:f9a77400b622 106 #include "CmdEraseFlash.h"
Mike Fiore 4:666017851052 107 #include "CmdSendContinuous.h"
Mike Fiore 14:f9a77400b622 108 #include "CmdDisableDutyCycle.h"
jenkins@jenkinsdm1 16:d5cf2af81a6d 109 #include "CmdLBTRSSI.h"
Mike Fiore 14:f9a77400b622 110
Mike Fiore 14:f9a77400b622 111 #endif // __COMMANDS_H__
Mike Fiore 14:f9a77400b622 112
Mike Fiore 14:f9a77400b622 113 #ifdef MTS_RADIO_DEBUG_COMMANDS
jenkins@jenkinsdm1 16:d5cf2af81a6d 114 #define NO_OF_COMMANDS 92
Mike Fiore 14:f9a77400b622 115 #else
Mike Fiore 14:f9a77400b622 116 #define NO_OF_COMMANDS 85
Mike Fiore 14:f9a77400b622 117 #endif