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:
Jason Reiss
Date:
Fri Sep 08 08:34:24 2023 -0500
Revision:
36:b586cd6e91f3
Parent:
26:35c201bc5205
Child:
37:09a914d7d426
Update AT Version to 4.2.1

Who changed what in which revision?

UserRevisionLine numberNew contents of line
jreiss 26:35c201bc5205 1 The AT Firmware provides an AT interface to the Multitech LoRaWAN stack
jreiss 26:35c201bc5205 2
Jason Reiss 36:b586cd6e91f3 3 Build Commands
Jason Reiss 36:b586cd6e91f3 4 ------------------
Jason Reiss 36:b586cd6e91f3 5
Jason Reiss 36:b586cd6e91f3 6 $ mbed compile -m XDOT_L151CC -t ARMC6 --source . -DCHANNEL_PLAN=CP_EU868 --profile=release
Jason Reiss 36:b586cd6e91f3 7 $ mbed compile -m XDOT_L151CC -t ARMC6 --source . -DCHANNEL_PLAN=CP_GLOBAL --profile=release
Jason Reiss 36:b586cd6e91f3 8 $ mbed compile -m XDOT_L151CC -t ARMC6 --source . -DCHANNEL_PLAN=CP_AS923 --profile=release
Jason Reiss 36:b586cd6e91f3 9 $ mbed compile -m XDOT_L151CC -t ARMC6 --source . -DCHANNEL_PLAN=CP_AS923_2 --profile=release
Jason Reiss 36:b586cd6e91f3 10
Jason Reiss 36:b586cd6e91f3 11 $ mbed compile -m MTS_MDOT_F411RE -t GCC_ARM --source . -DCHANNEL_PLAN=CP_EU868 --profile=release
Jason Reiss 36:b586cd6e91f3 12 $ mbed compile -m MTS_MDOT_F411RE -t GCC_ARM --source . -DCHANNEL_PLAN=CP_GLOBAL --profile=release
Jason Reiss 36:b586cd6e91f3 13
Jason Reiss 36:b586cd6e91f3 14 Global Channel Plan
Jason Reiss 36:b586cd6e91f3 15 ------------------
Jason Reiss 36:b586cd6e91f3 16 Global Plans support US915, EU868, AU915 and AS923 (1,2,3,4)
Jason Reiss 36:b586cd6e91f3 17 AT Commands are used to set the channel plan after loading the firmware.
Jason Reiss 36:b586cd6e91f3 18
Jason Reiss 36:b586cd6e91f3 19 AT+DFREQ=US915
Jason Reiss 36:b586cd6e91f3 20 AT&W
Jason Reiss 36:b586cd6e91f3 21 ATZ
Jason Reiss 36:b586cd6e91f3 22
Jason Reiss 36:b586cd6e91f3 23
jreiss 26:35c201bc5205 24 Dot libraries
jreiss 26:35c201bc5205 25 ------------------
jreiss 26:35c201bc5205 26
jreiss 26:35c201bc5205 27 Include one of the following libraries to complete this project.
jreiss 26:35c201bc5205 28 * [libmDot-mbed5](http://github.com/MultiTechSystems/libmDot-mbed5/) -> production-ready build for mDot
jreiss 26:35c201bc5205 29 * [libmDot-dev-mbed5](http://github.com/MultiTechSystems/libmDot-dev-mbed5/) -> development build for mDot
jreiss 26:35c201bc5205 30 * [libxDot-mbed5](http://github.com/MultiTechSystems/libxDot-mbed5/) -> production-ready build for xDot
jreiss 26:35c201bc5205 31 * [libxDot-dev-mbed5](http://github.com/MultiTechSystems/libxDot-dev-mbed5/) -> development build for xDot
jreiss 26:35c201bc5205 32
jreiss 26:35c201bc5205 33 A changelog for the Dot library can be found [here](https://developer.mbed.org/teams/MultiTech/wiki/Dot-library-change-log).
jreiss 26:35c201bc5205 34
jreiss 26:35c201bc5205 35
jreiss 26:35c201bc5205 36
jreiss 26:35c201bc5205 37 Firmware update over the air
jreiss 26:35c201bc5205 38 ------------------------------
jreiss 26:35c201bc5205 39 FOTA support can be compiled into this application by adding "FOTA=1" to the macros array in the mbed_app.json file.
jreiss 26:35c201bc5205 40 FOTA is only supported on the mDot platform, xDot does not have an external flash for supporting FOTA.
jreiss 26:35c201bc5205 41
jreiss 26:35c201bc5205 42 {
jreiss 26:35c201bc5205 43 "macros": [
jreiss 26:35c201bc5205 44 "FOTA=1"
jreiss 26:35c201bc5205 45 ]
jreiss 26:35c201bc5205 46 }
Jason Reiss 36:b586cd6e91f3 47