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:
Wed Dec 06 13:33:52 2023 -0600
Revision:
42:23e2df6714f4
Parent:
36:b586cd6e91f3
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?

UserRevisionLine numberNew contents of line
Jason Reiss 28:c222ca8383f4 1 {
Jason Reiss 28:c222ca8383f4 2 "config": {
Jason Reiss 28:c222ca8383f4 3 "log-baud-rate" : {
Jason Reiss 28:c222ca8383f4 4 "macro_name": "LOG_DEFAULT_BAUD_RATE",
Jason Reiss 28:c222ca8383f4 5 "value": 115200
Jason Reiss 28:c222ca8383f4 6 }
Jason Reiss 28:c222ca8383f4 7 },
Jason Reiss 28:c222ca8383f4 8 "macros": [
Jason Reiss 28:c222ca8383f4 9 ],
Jason Reiss 28:c222ca8383f4 10 "target_overrides": {
Jason Reiss 28:c222ca8383f4 11 "*": {
Jason Reiss 28:c222ca8383f4 12 "target.printf_lib": "std"
Jason Reiss 28:c222ca8383f4 13 },
Jason Reiss 28:c222ca8383f4 14 "MTS_MDOT_F411RE": {
Jason Reiss 28:c222ca8383f4 15 "target.app_offset": "0x10000",
Jason Reiss 36:b586cd6e91f3 16 "target.bootloader_img": "bootloaders/mdot-boot.bin",
Jason Reiss 36:b586cd6e91f3 17
Jason Reiss 36:b586cd6e91f3 18 "mts-lora.radio-pin-reset": "LORA_RESET",
Jason Reiss 36:b586cd6e91f3 19 "mts-lora.radio-pin-dio0": "LORA_DIO0",
Jason Reiss 36:b586cd6e91f3 20 "mts-lora.radio-pin-dio1": "LORA_DIO1",
Jason Reiss 36:b586cd6e91f3 21 "mts-lora.radio-pin-dio2": "LORA_DIO2",
Jason Reiss 36:b586cd6e91f3 22 "mts-lora.radio-pin-dio3": "LORA_DIO3",
Jason Reiss 36:b586cd6e91f3 23 "mts-lora.radio-pin-dio4": "LORA_DIO4",
Jason Reiss 36:b586cd6e91f3 24 "mts-lora.radio-pin-mosi": "LORA_MOSI",
Jason Reiss 36:b586cd6e91f3 25 "mts-lora.radio-pin-miso": "LORA_MISO",
Jason Reiss 36:b586cd6e91f3 26 "mts-lora.radio-pin-sck": "LORA_SCK",
Jason Reiss 36:b586cd6e91f3 27 "mts-lora.radio-pin-nss": "LORA_NSS",
Jason Reiss 36:b586cd6e91f3 28 "mts-lora.lora-radio-stack-size": 2560,
Jason Reiss 36:b586cd6e91f3 29 "mdot-library.wake-pin": "XBEE_SLEEPRQ"
Jason Reiss 28:c222ca8383f4 30 },
Jason Reiss 28:c222ca8383f4 31 "XDOT_L151CC": {
Jason Reiss 28:c222ca8383f4 32 "target.app_offset": "0x0D000",
Jason Reiss 28:c222ca8383f4 33 "target.bootloader_img": "bootloaders/xdot-boot.bin",
Jason Reiss 28:c222ca8383f4 34
Jason Reiss 28:c222ca8383f4 35 "target.components_add": ["SPIF", "DATAFLASH"],
Jason Reiss 28:c222ca8383f4 36 "spif-driver.SPI_MOSI": "SPI_MOSI",
Jason Reiss 28:c222ca8383f4 37 "spif-driver.SPI_MISO": "SPI_MISO",
Jason Reiss 28:c222ca8383f4 38 "spif-driver.SPI_CLK": "SPI_SCK",
Jason Reiss 28:c222ca8383f4 39 "spif-driver.SPI_CS": "SPI_NSS",
Jason Reiss 28:c222ca8383f4 40
Jason Reiss 28:c222ca8383f4 41 "dataflash.SPI_MOSI": "SPI_MOSI",
Jason Reiss 28:c222ca8383f4 42 "dataflash.SPI_MISO": "SPI_MISO",
Jason Reiss 28:c222ca8383f4 43 "dataflash.SPI_CLK": "SPI_SCK",
Jason Reiss 28:c222ca8383f4 44 "dataflash.SPI_CS": "SPI_NSS",
Jason Reiss 28:c222ca8383f4 45 "dataflash.binary-size": 1,
Jason Reiss 28:c222ca8383f4 46
Jason Reiss 28:c222ca8383f4 47 "flash-record-store.file-enable": 1,
Jason Reiss 28:c222ca8383f4 48 "flash-record-store.ext-flash-page-size": 512,
Jason Reiss 28:c222ca8383f4 49 "flash-record-store.ext-flash-sector-size": 4096,
Jason Reiss 36:b586cd6e91f3 50 "flash-record-store.ext-flash-erase-size": 4096,
Jason Reiss 36:b586cd6e91f3 51
Jason Reiss 36:b586cd6e91f3 52 "mts-lora.radio-pin-reset": "LORA_RESET",
Jason Reiss 36:b586cd6e91f3 53 "mts-lora.radio-pin-dio0": "LORA_DIO0",
Jason Reiss 36:b586cd6e91f3 54 "mts-lora.radio-pin-dio1": "LORA_DIO1",
Jason Reiss 36:b586cd6e91f3 55 "mts-lora.radio-pin-dio2": "LORA_DIO2",
Jason Reiss 36:b586cd6e91f3 56 "mts-lora.radio-pin-dio3": "LORA_DIO3",
Jason Reiss 36:b586cd6e91f3 57 "mts-lora.radio-pin-dio4": "LORA_DIO4",
Jason Reiss 36:b586cd6e91f3 58 "mts-lora.radio-pin-mosi": "LORA_MOSI",
Jason Reiss 36:b586cd6e91f3 59 "mts-lora.radio-pin-miso": "LORA_MISO",
Jason Reiss 36:b586cd6e91f3 60 "mts-lora.radio-pin-sck": "LORA_SCK",
Jason Reiss 36:b586cd6e91f3 61 "mts-lora.radio-pin-nss": "LORA_NSS",
Jason Reiss 36:b586cd6e91f3 62 "mdot-library.wake-pin": "WAKE"
Jason Reiss 36:b586cd6e91f3 63 },
Jason Reiss 36:b586cd6e91f3 64 "MAX32630FTHR": {
Jason Reiss 36:b586cd6e91f3 65 "mts-lora.radio-pin-reset": "P3_4",
Jason Reiss 36:b586cd6e91f3 66 "mts-lora.radio-pin-dio0": "P3_5",
Jason Reiss 36:b586cd6e91f3 67 "mts-lora.radio-pin-dio1": "P5_6",
Jason Reiss 36:b586cd6e91f3 68 "mts-lora.radio-pin-dio2": "NC",
Jason Reiss 36:b586cd6e91f3 69 "mts-lora.radio-pin-dio3": "P5_5",
Jason Reiss 36:b586cd6e91f3 70 "mts-lora.radio-pin-dio4": "NC",
Jason Reiss 36:b586cd6e91f3 71 "mts-lora.radio-pin-mosi": "SPI2_MOSI",
Jason Reiss 36:b586cd6e91f3 72 "mts-lora.radio-pin-miso": "SPI2_MISO",
Jason Reiss 36:b586cd6e91f3 73 "mts-lora.radio-pin-sck": "SPI2_SCK",
Jason Reiss 36:b586cd6e91f3 74 "mts-lora.radio-pin-nss": "SPI2_SS",
Jason Reiss 36:b586cd6e91f3 75 "mdot-library.wake-pin": "P2_3"
Jason Reiss 36:b586cd6e91f3 76 },
Jason Reiss 36:b586cd6e91f3 77 "MAX32660EVSYS": {
Jason Reiss 36:b586cd6e91f3 78 "mts-lora.radio-pin-reset": "P0_9",
Jason Reiss 36:b586cd6e91f3 79 "mts-lora.radio-pin-dio0": "P0_2",
Jason Reiss 36:b586cd6e91f3 80 "mts-lora.radio-pin-dio1": "P0_3",
Jason Reiss 36:b586cd6e91f3 81 "mts-lora.radio-pin-dio2": "NC",
Jason Reiss 36:b586cd6e91f3 82 "mts-lora.radio-pin-dio3": "P0_8",
Jason Reiss 36:b586cd6e91f3 83 "mts-lora.radio-pin-dio4": "NC",
Jason Reiss 36:b586cd6e91f3 84 "mts-lora.radio-pin-mosi": "SPI1A_MOSI",
Jason Reiss 36:b586cd6e91f3 85 "mts-lora.radio-pin-miso": "SPI1A_MISO",
Jason Reiss 36:b586cd6e91f3 86 "mts-lora.radio-pin-sck": "SPI1A_SCK",
Jason Reiss 36:b586cd6e91f3 87 "mts-lora.radio-pin-nss": "SPI1A_SS",
Jason Reiss 36:b586cd6e91f3 88 "mdot-library.wake-pin": "P0_0"
Jason Reiss 36:b586cd6e91f3 89 },
Jason Reiss 36:b586cd6e91f3 90 "MAX32670EVKIT": {
Jason Reiss 36:b586cd6e91f3 91 "mts-lora.radio-pin-reset": "P0_20",
Jason Reiss 36:b586cd6e91f3 92 "mts-lora.radio-pin-dio1": "P0_22",
Jason Reiss 36:b586cd6e91f3 93 "mts-lora.radio-pin-mosi": "SPI1_MOSI",
Jason Reiss 36:b586cd6e91f3 94 "mts-lora.radio-pin-miso": "SPI1_MISO",
Jason Reiss 36:b586cd6e91f3 95 "mts-lora.radio-pin-sck": "SPI1_SCK",
Jason Reiss 36:b586cd6e91f3 96 "mts-lora.radio-pin-nss": "SPI1_SS",
Jason Reiss 36:b586cd6e91f3 97 "mts-lora.radio-pin-busy": "P0_21",
Jason Reiss 36:b586cd6e91f3 98 "mdot-library.wake-pin": "P0_19",
Jason Reiss 36:b586cd6e91f3 99 "mdot-library.test-mode-enable": false
Jason Reiss 36:b586cd6e91f3 100 },
Jason Reiss 36:b586cd6e91f3 101 "XDOT_MAX32670": {
Jason Reiss 36:b586cd6e91f3 102 "target.app_offset": "0x10000",
Jason Reiss 36:b586cd6e91f3 103 "target.bootloader_img": "bootloaders/xdot-32670-boot.bin",
Jason Reiss 36:b586cd6e91f3 104 "mts-lora.radio-pin-reset": "LORA_RESET",
Jason Reiss 36:b586cd6e91f3 105 "mts-lora.radio-pin-dio1": "LORA_DIO1",
Jason Reiss 36:b586cd6e91f3 106 "mts-lora.radio-pin-mosi": "LORA_MOSI",
Jason Reiss 36:b586cd6e91f3 107 "mts-lora.radio-pin-miso": "LORA_MISO",
Jason Reiss 36:b586cd6e91f3 108 "mts-lora.radio-pin-sck": "LORA_SCK",
Jason Reiss 36:b586cd6e91f3 109 "mts-lora.radio-pin-nss": "LORA_NSS",
Jason Reiss 36:b586cd6e91f3 110 "mts-lora.radio-pin-busy": "P0_21",
Jason Reiss 36:b586cd6e91f3 111 "mdot-library.wake-pin": "P0_19",
Jason Reiss 36:b586cd6e91f3 112 "mdot-library.test-mode-enable": true
Jason Reiss 28:c222ca8383f4 113 }
Jason Reiss 28:c222ca8383f4 114 }
Jason Reiss 36:b586cd6e91f3 115 }