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. 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.

libmDot-dev

Stable library for mDot.

libmDot

xDot Library

Development library for xDot.

libxDot-dev

Stable library for xDot.

libxDot

Committer:
Jason Reiss
Date:
Wed Apr 24 10:47:25 2019 -0500
Revision:
23:4f0a981c0349
Parent:
18:63f098f042b2
Child:
27:5fafd3b26ac3
Update for v3.2.0 release

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 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"
Jason Reiss 23:4f0a981c0349 65 #include "CmdTxFrequencyOffset.h"
Mike Fiore 1:e52ae6584f1c 66 #include "CmdTxChannel.h"
Mike Fiore 1:e52ae6584f1c 67 #include "CmdTxNextMs.h"
Jason Reiss 23:4f0a981c0349 68 #include "CmdTxNextSize.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
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"
Jason Reiss 23:4f0a981c0349 81 #include "CmdPingPeriod.h"
Mike Fiore 14:f9a77400b622 82 #include "CmdMacCmd.h"
Mike Fiore 1:e52ae6584f1c 83 #include "CmdSendString.h"
Mike Fiore 1:e52ae6584f1c 84 #include "CmdSendBinary.h"
Mike Fiore 1:e52ae6584f1c 85 #include "CmdSendStringOnInterval.h"
Mike Fiore 1:e52ae6584f1c 86 #include "CmdReceiveOnce.h"
Mike Fiore 1:e52ae6584f1c 87 #include "CmdReceiveContinuous.h"
Mike Fiore 4:666017851052 88 #include "CmdPing.h"
Mike Fiore 1:e52ae6584f1c 89
Mike Fiore 1:e52ae6584f1c 90 // Serial Data Mode built into command terminal
Mike Fiore 4:666017851052 91 // Sleep built into command terminal
Mike Fiore 4:666017851052 92 #include "CmdWakeInterval.h"
Mike Fiore 4:666017851052 93 #include "CmdWakePin.h"
Mike Fiore 4:666017851052 94 #include "CmdWakeMode.h"
Mike Fiore 4:666017851052 95 #include "CmdWakeDelay.h"
Mike Fiore 4:666017851052 96 #include "CmdWakeTimeout.h"
Mike Fiore 1:e52ae6584f1c 97
Mike Fiore 1:e52ae6584f1c 98 #include "CmdLogLevel.h"
Mike Fiore 1:e52ae6584f1c 99
jenkins@jenkinsdm1 18:63f098f042b2 100 #include "CmdFota.h"
jenkins@jenkinsdm1 18:63f098f042b2 101 #include "CmdBatteryLevel.h"
Jason Reiss 23:4f0a981c0349 102 #include "CmdTxFrequency.h"
Jason Reiss 23:4f0a981c0349 103 #include "CmdSendContinuous.h"
Jason Reiss 23:4f0a981c0349 104 #include "CmdGpsTime.h"
Jason Reiss 23:4f0a981c0349 105 #include "CmdBeaconLockStatus.h"
jenkins@jenkinsdm1 18:63f098f042b2 106
Mike Fiore 1:e52ae6584f1c 107 // Radio debug commands
Mike Fiore 9:ff62b20f7000 108 #include "CmdRxDataRate.h"
Mike Fiore 9:ff62b20f7000 109 #include "CmdRxFrequency.h"
Mike Fiore 14:f9a77400b622 110 #include "CmdDumpRegisters.h"
Mike Fiore 14:f9a77400b622 111 #include "CmdEraseFlash.h"
Mike Fiore 14:f9a77400b622 112 #include "CmdDisableDutyCycle.h"
jenkins@jenkinsdm1 16:d5cf2af81a6d 113 #include "CmdLBTRSSI.h"
Mike Fiore 14:f9a77400b622 114
Mike Fiore 14:f9a77400b622 115 #endif // __COMMANDS_H__