Multi-Tech mDot MTDOT Series Reference Manual

Multi-Tech mDot MTDOT Series Reference Manual

At command
Table of Contents

Advertisement

Quick Links

TM
mDot
AT Command Reference Guide

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the mDot MTDOT Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Multi-Tech mDot MTDOT Series

  • Page 1 mDot AT Command Reference Guide...
  • Page 2 Multi-Tech Systems, Inc. reserves the right to revise this publication and to make changes from time to time in the content hereof without obligation of Multi-Tech Systems, Inc. to notify any person or organization of such revisions or changes.
  • Page 3: Table Of Contents

    CONTENTS Contents Chapter 1 – Introduction............................10 AT Commands ................................10 Using Commands ................................ 10 Querying..................................10 Assigning New Values ............................... 10 Terminology ................................11 LoRa Topology................................11 Chapter 2 – General AT Commands........................12 AT Attention ................................12 Syntax..................................12 Parameters and Values .............................
  • Page 4 CONTENTS AT+LW LoRaWAN Version............................21 Syntax ..................................21 Parameters and Values ............................. 21 Command with Response Examples ......................... 21 AT+FOTA Firmware over the Air ..........................21 Syntax..................................21 Parameters and Values ............................. 21 Command with Response Examples ......................... 22 AT&W Save Configuration ............................23 Syntax ..................................
  • Page 5 CONTENTS Command with Response Examples ......................... 30 AT+BLS Beacon Lock Status ............................30 Syntax ..................................30 Parameters and Values ............................. 31 Command with Response Examples (for setup of a Class B device) ................ 31 AT+BAT Battery Level ..............................31 Syntax ..................................32 Parameters and Values .............................
  • Page 6 CONTENTS AT+JN Join Nonces ..............................56 AT+JNV Enable Join Nonce Validation ........................57 AT+PING Send Ping ..............................58 AT+ACK Require Acknowledgment ........................... 59 AT+NLC Network Link Check ............................ 60 AT+LCC Link Check Count ............................61 AT+LCT Link Check Threshold ..........................62 AT+BTO Class B Timeout ............................
  • Page 7 CONTENTS Receiving Packets................................ 95 AT+RECV Receive Once ............................95 AT+RXO Receive Output ............................96 AT+DP Data Pending ..............................97 AT+TXW Transmit Wait ............................98 AT+MCRX Multicast Rx parameters ......................... 99 Statistics ..................................100 AT&R Reset Statistics ............................. 100 AT&S Statistics ............................... 100 AT+RSSI Signal Strength ............................
  • Page 8 CONTENTS Command with Response Examples ........................112 AT+ANT Antenna Gain ............................. 112 Syntax ..................................112 Parameters and Values ............................112 Command with Response Examples ........................112 Chapter 6 – Testing and Compliance ........................114 AT+RXDR Receive Data Rate ............................ 114 Syntax ..................................
  • Page 9 CONTENTS Peer to Peer ................................124 Configuration ................................124 Peer-to-Peer Throughput............................125 mDot AT Command Reference Guide...
  • Page 10: Chapter 1 - Introduction

    INTRODUCTION Chapter 1 – Introduction AT Commands This reference provides AT Command information for the MultiTech Dot Series. These commands are available in firmware Version 2.0.x and higher. Note that some commands are not available in older firmware versions. For mDot firmware upgrade instructions and to download the latest firmware, go to http://www.multitech.net/developer/software/mdot-software/mdot-firmware-upgrade/.
  • Page 11: Terminology

    INTRODUCTION Terminology Term Description End device Mote (sensor node) Extended Unique Identifier (EUI), a 64-bit global identifier Gateway Concentrator or base station Uplink In the direction from end device to network server Downlink In the direction from network server to end device Industrial, scientific and medical radio bands Frequencies US: 902-928MHz ISM band (915MHz)
  • Page 12: Chapter 2 - General At Commands

    GENERAL AT COMMANDS Chapter 2 – General AT Commands Attention Attention, used to verify the COM channel is working. AT required at the beginning of every command. Syntax Command help AT AT=? Parameters and Values None Command with Response Examples help AT AT: Attention AT=?
  • Page 13: Command With Response Examples

    GENERAL AT COMMANDS Command with Response Examples MultiTech mDot Firmware : 3.2.0-mbed51101 Library : 3.2.0-mbed51101 MTS-Lora : 3.2.0-mbed51101 help ATI ATI: Request Identification ATI=? ATI: NONE Reset CPU Resets the CPU, the same way as pressing the reset button. The program is reloaded from flash and begins execution at the main function.
  • Page 14: Ate0/1 Echo Mode

    GENERAL AT COMMANDS ATZ=? ATZ: NONE ATE0/1 Echo Mode Enable or disable command mode echo. Syntax Command ATE=<parameter1> help ATE ATE=? Parameters and Values Parameter1 Disables echo Enables echo (Default) Command with Response Examples ATE0 ATE1 ATV0/1 Verbose Mode Enable or disable verbose mode. Affects the verbosity of command query responses. For example, without verbose mode, AT+IPR? responds with 115200.
  • Page 15: Parameters And Values

    GENERAL AT COMMANDS Parameters and Values Parameter1 Disables verbose mode (Default) Enables verbose mode Command with Response Examples ATV0 ATV1 AT&K0/3 Hardware Flow Control Enable or disable hardware flow control. Hardware flow control is useful in serial data mode to keep from overflowing the input buffers.
  • Page 16: At&F Reset To Factory Defaults

    GENERAL AT COMMANDS AT&K? help AT&K AT&K: AT&K0: disable, AT&K3: enable AT&F Reset to Factory Defaults Changes the current settings to the factory defaults, but does not store them. To store the default settings, use with AT&W. Otherwise, resetting or power cycling the device restores the previous settings. Syntax Command AT&F...
  • Page 17 GENERAL AT COMMANDS AT&V Device ID: be:7a:00:00:00:00:07:7a Default Frequency US915 Band: Current Frequency US915 Band: Frequency Sub Band: Network Mode: Public LoRaWAN Start Up Mode: COMMAND Network Address: 00000000 Network ID: 2b:7e:15:16:28:ae:d2:a5 Network ID Passphrase: Network Key: 2b.7e.15.16.28.ae.d2.a6.ab.f7.15.88.09.cf.4f.45 Network Key Passphrase: Network Session Key: 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00...
  • Page 18: Example Eu 868Mhz

    GENERAL AT COMMANDS Encryption: CRC: Adaptive Data Rate: Command Echo: Verbose Response: Tx Frequency: Tx Data Rate: DR0 - SF10BW125 Min/Max Tx Data Rate: Min: DR0 - SF10BW125 Max: DR4 - SF8BW500 Tx Power: Min/Max Tx Power: Tx Antenna Gain: Tx Wait: Tx Inverted Signal: Rx Delay:...
  • Page 19 GENERAL AT COMMANDS AT&V Device ID: be:7a:00:00:00:00:07:7a Frequency Band: EU868 Frequency Sub Band: Public Network: Start Up Mode: COMMAND Network Address: 00000000 Network ID: 2b:7e:15:16:28:ae:d2:a5 Network ID Passphrase: Network Key: 2b.7e.15.16.28.ae.d2.a6.ab.f7.15.88.09.c f.4f.45 Network Key Passphrase: Network Session Key: 00.00.00.00.00.00.00.00.00.00.00.00.00.0 0.00.00 Data Session Key: 00.00.00.00.00.00.00.00.00.00.00.00.00.0 0.00.00...
  • Page 20 GENERAL AT COMMANDS Tx Data Rate: DR0 - SF12BW125 Tx Power: Tx Antenna Gain: Tx Wait: Tx Inverted Signal: Rx Delay: Rx Inverted Signal: Rx Output Style: HEXADECIMAL Debug Baud Rate: 115200 Serial Baud Rate: 115200 Serial Flow Control: Serial Clear On Error: Wake Mode: INTERVAL Wake Interval:...
  • Page 21: At+Lw Lorawan Version

    GENERAL AT COMMANDS AT+LW LoRaWAN Version Shows support LoRaWAN MAC version. Syntax Command AT+LW help AT+LW Parameters and Values None Command with Response Examples AT+LW 1.0.4 help AT+LW Show support LoRaWAN MAC Version AT+FOTA Firmware over the Air With FOTA enabled, the Conduit initiates the FOTA session. The Dot device responds to downlink messages automatically as needed.
  • Page 22: Command With Response Examples

    GENERAL AT COMMANDS Enable FOTA (Default) Reset FOTA Multicast session information. Command with Response Examples AT+FOTA=1 AT+FOTA=3 0 (0 seconds until session or multicast session in progress) AT+FOTA=3 -1 (No multicast session scheduled or in progress) AT+FOTA=3 23521 (23521 seconds until multicast session) help AT+FOTA AT+FOTA: Set FOTA (0: DISABLE, 1: ENABLE, 2: RESET, 3: MULTICAST SESSION INFO)
  • Page 23: At&W Save Configuration

    GENERAL AT COMMANDS AT&W Save Configuration Writes configuration settings to flash memory. Note: Settings written by this command include all configuration settings displayed in AT&V. Syntax Command AT&W help AT&W AT&W=? Parameters and Values None Command with Response Examples AT&W help AT&W AT&W: Save configuration to flash memory AT&W=?
  • Page 24: At+Wp Wake Pin

    GENERAL AT COMMANDS AT+WP Wake Pin Sets the pin that the end device monitors if wake mode is set to interrupt mode. The end device wakes if a positive going edge is detected on the wake pin. Upon waking, it waits +WD amount of time for an initial character then +WTO amount of time for each additional character.
  • Page 25: At+Ipr Serial Speed

    GENERAL AT COMMANDS help AT+WP AT+WP: Wakeup DIO pin of sleep mode (1-8) (default: DI8, 1:DIN), deep- sleep uses DIO7 AT+WP=? AT+WP: (1-8) AT+IPR Serial Speed Sets serial baud rate for interface on header pins 2 and 3. Changes to this setting take effect after a save and reboot of the Dot.
  • Page 26: At+Dipr Debug Serial Speed

    GENERAL AT COMMANDS 115200 AT+IPR? 115200 help AT+IPR AT+IPR: Set serial baud rate, default: 115200 AT+IPR=? AT+IPR: (2400,4800,9600,19200,38400,57600,115200,230400,460800,921600) AT+DIPR Debug Serial Speed Sets debug serial baud rate for interface on DEBUG header pins 30 and 31. Changes to this setting take effect after a save and reboot of the Dot.
  • Page 27: Command With Response Examples

    GENERAL AT COMMANDS 460800 921600 Command with Response Examples AT+DIPR 115200 AT+DIPR? 115200 help AT+DIPR AT+DIPR: Set debug serial baud rate, default: 115200 AT+DIPR=? AT+DIPR: (1200, 2400,4800,9600,19200,38400,57600,115200,230400,460800,921600) AT+LOG Debug Log Level Sets the debug message logging level. Messages are output on the debug port. Higher settings log more messages. Syntax Command AT+LOG=<parameter1>...
  • Page 28: Command With Response Examples

    GENERAL AT COMMANDS DEBUG – Output DEBUG and all lower level debug messages TRACE – Output TRACE and all lower level debug messages Command with Response Examples AT+LOG=0 AT+LOG? help AT+LOG AT+LOG: Enable/disable debug logging. (0: off, 1:Fatal - 6:Trace) AT+LOG=? AT+LOG: (0-6) AT+REPAIR=1 Erase Flash and Rewrite Config Files...
  • Page 29: At+Pp Ping Slot Periodicity

    GENERAL AT COMMANDS help AT+REPAIR AT+REPAIR: Repair file system AT+PP Ping Slot Periodicity Set the Class B ping slot periodicity as number of pings per interval up to 128 seconds, 2 ^ ( 7 - periodicity). Syntax Command AT+PP=<parameter1> help AT+PP AT+PP? AT+PP=? Parameters and Values...
  • Page 30: At+Gpstime Gps Time

    GENERAL AT COMMANDS AT+PP=? AT+PP: (0- AT+GPSTIME GPS Time Use this to retrieve GPC synchronized time in milliseconds. Syntax Command AT+GPSTIME help AT+GPSTIME AT+GPSTIME? AT+GPSTIME=? Parameters and Values None Command with Response Examples AT+GPSTIME 1233592440906 AT+BLS Beacon Lock Status Indicates if the beacon is locked or unlocked. A Class B end-device will start as Class A and attempt to acquire a Beacon signal from the network before opening synchronized Rx windows.
  • Page 31: Parameters And Values

    GENERAL AT COMMANDS Command help AT+BLS Parameters and Values None Command with Response Examples (for setup of a Class B device) help AT+BLS AT+BLS: Get the lock status of the beacon (0: not locked, 1: locked) AT+DC AT+DC=B AT+BLS AT+BLS AT+DC AT+SEND <<<...
  • Page 32: Syntax

    GENERAL AT COMMANDS Syntax Command AT+BAT help AT+BAT AT+BAT? AT+ANT=? Parameters and Values Parameter1 0 - 255 Maximum is 255 Command with Response Examples AT+BAT AT+BAT=123 AT+BAT mDot AT Command Reference Guide...
  • Page 33: At+Mem Available Ram

    GENERAL AT COMMANDS AT+MEM Available RAM Shows available RAM. Syntax Command AT+MEM help AT+MEM Parameters and Values None Command with Response Examples AT+MEM 114704 bytes help AT+MEM AT+MEM: Available RAM mDot AT Command Reference Guide...
  • Page 34: Chapter 3 - Network Management

    NETWORK MANAGEMENT Chapter 3 – Network Management Configuring AT+DI Device ID The device ID is an EUI. The EUI is programmed at the factory. This command allows you to query and also change the device EUI. Syntax Command AT+DI help AT+DI AT+DI=<parameter 1>...
  • Page 35: At+Dfreq Default Frequency Band

    NETWORK MANAGEMENT AT+DFREQ Default Frequency Band Use to query or set the protected factory default frequency band/channel plan. Selections include: NONE, US915, AU915, EU868, AS923, KR920, AS923-JAPAN, IN865, or RU864. Syntax Command help AT+DFREQ AT+DFREQ? AT+DFREQ=<parameter 1> AT+DFREQ=? Parameters and Values Parameter 1 (NONE,US915,AU915,EU868,AS923,KR920,AS923-JAPAN,IN865,RU864) Command with Response Examples...
  • Page 36: At+Fsb Frequency Sub-Band (915Mhz Models Only)

    NETWORK MANAGEMENT Syntax Command AT+FREQ help AT+FREQ AT+FREQ? AT+FREQ=? Parameters and Values None Command with Response Examples AT+FREQ US915 AT+FREQ KR920 AT+FREQ? US915 help AT+FREQ AT+FREQ: Current Frequency Band of Device 'US915', 'AU915', 'EU868', 'AS923', 'KR920', 'AS923-JAPAN', 'IN865', or 'RU864 AT+FREQ=? AT+FREQ: AT+FSB...
  • Page 37 NETWORK MANAGEMENT Channel Details (AT+PN=0) AT+FSB Uplink Channels Downlink on Rx1 and 902.3-903.7 - 125k, 903.0 500k 923.3 kHz 903.9-905.3 - 125k, 904.6 500k 923.9 kHz 905.5-906.9 - 125k, 906.2 500k 924.5 kHz 907.1-908.5 - 125k, 907.8 500k 925.1 kHz 908.7-910.1 - 125k, 909.4 500k 925.7 kHz 910.3-911.7 - 125k, 911.0 500k...
  • Page 38: At+Pn Public Network Mode

    NETWORK MANAGEMENT Enter a value from 1-8 to configure the end device to use one set of eight channels out of 64 possible. This must match the gateway settings. Command with Response Examples AT+FSB AT+FSB? help AT+FSB AT+FSB: Set the frequency sub-band for US 915, (0:ALL, 1-8) AT+FSB=? AT+FSB: (0-8) AT+PN...
  • Page 39 NETWORK MANAGEMENT Select downlink frequencies for US915/AU915 using UPLINK-CHANNEL % 8. For example, an uplink using channel 34 would be responded to in Rx1 on 500 kHz Channel 2. Join Delay settings are independently configurable with the AT+JD command (refer to AT+JD). LoRaWAN Join windows open at the default 5/6 seconds after end of transmission for OTA Set AT+FSB=1-8 to enable hybrid functionality (refer to AT+FSB).
  • Page 40: At+Jbo Join Byte Order

    NETWORK MANAGEMENT AT+PN: (0- Public/Private LoRaWAN Mode Example US 64 channel AT+FSB=0 (AT+PN=1) sets the SyncWord to 0x34 (AT+PN=2) sets the SyncWord to 0x12 (AT+JD=5) sets Join Delay to 5 seconds Downlink channel is (uplink_channel modulo 8) Public/Private LoRaWAN Hybrid Mode Example US 8 channel AT+FSB=(1 - 8) (AT+PN=1) sets the SyncWord to 0x34...
  • Page 41: At+Njm Network Join Mode

    NETWORK MANAGEMENT Parameters and Values Parameter1 LSB first (Default) MSB first Command with Response Examples AT+JBO=0 AT+JBO? help AT+JBO AT+JBO: Send EUI's in join request with configured byte ordering (0:LSB,1:MSB) AT+JBO=? AT+JBO: (0:LSB,1:MSB) AT+NJM Network Join Mode Controls how the end device establishes communications with the gateway. When AT+NJM=2 (AUTO_OTA) and AT+PS is set to 1 the session is not be defaulted on reset or power.
  • Page 42 NETWORK MANAGEMENT Auto OTA network join on start up CAUTION: Setting +NJM=2 causes the Dot to join immediately. Configure network settings and OTA mode before setting to AUTO_OTA mode. Peer-to-peer mode Command with Response Examples AT+NJM=1 AT+NJM? help AT+NJM AT+NJM: 0: Manual configuration, 1: OTA Network Join, 2: Auto OTA Network Join on start up, 3: Peer-to-Peer (default: 1) AT+NJM=? AT+NJM: (0-3)
  • Page 43: At+Join Join Network

    NETWORK MANAGEMENT AT+JOIN Join Network Join network. For US915 and EU868 models +NI, +NK must match gateway settings in order to join. US915 must also match +FSB setting. Syntax Command AT+JOIN help AT+JOIN AT+JOIN=? Parameters and Values None If Parameter1 is set to 1, a character string up to 128 characters. Error Messages Failed to join network –...
  • Page 44: At+Jr Join Retries

    NETWORK MANAGEMENT AT+JR Join Retries Enabling this setting allows the dot to search each sub-band when trying to join the Conduit when in AUTO_OTA mode. The dot can then recover if the Conduit changes sub-band after it detects the lost network connection with AT+LCT used with AT+LCC or AT+ACK.
  • Page 45 NETWORK MANAGEMENT Syntax Command AT+JD=<parameter1> help AT+JD AT+JD? AT+JD=? Parameters and Values Parameter1 1-15 seconds (Default is 5) Command with Response Examples AT+JD=1 AT+JD? help AT+JD AT+JD: Number of seconds before receive windows are opened for join (1 - 15) AT+JD=? AT+JD: (1-15) mDot...
  • Page 46: Over-The-Air Activation (Ota)

    NETWORK MANAGEMENT Over-the-Air Activation (OTA) LoRa allows OTA activation between a device and a network to generate session keys based on a pre-shared key. During OTA, the device exchanges Device and Network IDs with the server. If the Network ID matches the server’s configuration, session keys are generated using the pre-shared keys and random nonce values from the device and server.
  • Page 47: At+Nk Network Key

    NETWORK MANAGEMENT AT+NI=2,cd-d7-15-e5-2b-dd-a6-27 Set Protected AppEUI: cd-d7-15-e5-2b-dd-a6-27 AT+NI? 61-63-4d-b3-8a-2b-86-22 Passphrase: 'This string can be up to 128 characters long.' help AT+NI AT+NI: Configured Network EUI/Name (App EUI in LoraMac) AT+NI=0,hex AT+NI=1,network_name (Net ID = crc64(network_name)) (8 bytes) AT+NI=? AT+NI: (0,(hex:8)),(1,(string:128)) AT+NK Network Key Configures network key/passphrase.
  • Page 48: At+Enc Aes Encryption

    NETWORK MANAGEMENT Command with Response Examples AT+NK=0,88:99:AA:BB:CC:DD:EE:FF:00:11:22:33:44:55:66:77 Set Network Key: 88.99.aa.bb.cc.dd.ee.ff.00.11.22.33.44.55.66.77 AT+NK? 88.99.aa.bb.cc.dd.ee.ff.00.11.22.33.44.55.66.77 AT+NK=1,This String can be up to 128 characters long. Set Network Passphrase: This String can be up to 128 characters long. AT+NK=2,bc.0b.bb.99.9b.17.4c.36.38.8c.0f.cf.ea.68.f3.f8 Set Protected AppKey: bc.0b.bb.99.9b.17.4c.36.38.8c.0f.cf.ea.68.f3.f8 AT+NK? e1.07.15.95.06.50.46.80.89.cf.2e.6e.2b.ea.f9.cf Passphrase: 'This String can be up to 128 characters long.' help AT+NK...
  • Page 49: Manual Activation

    NETWORK MANAGEMENT Command AT+ENC? AT+ENC=? Parameters and Values Parameter1 Disabled Enabled (Default) Command with Response Examples AT+ENC=1 AT+ENC? help AT+ENC AT+ENC: Enable/disable AES encryption (0: off, 1: on) AT+ENC=? AT+ENC: (0,1) Manual Activation If supported by the network server, the Dot can be activated manually. To do this, configure the network address, network session key, and data session key.
  • Page 50: At+Nsk Network Session Key

    NETWORK MANAGEMENT Command help AT+NA AT+NA=<parameter1>,? AT+NA=? Parameters and Values Parameter1 For unicast: 4 bytes of hex data OR For multicast: Number of Multicast session [1-8] Parameter2 For multicast only: 4 bytes of hex data. Command with Response Examples AT+NA= 1,01:fa:b0:1c Set Network Address: 01:fa:b0:1c AT+NA=1,? 01:fa:b0:1c...
  • Page 51: At+Dsk Data Session Key

    NETWORK MANAGEMENT Command help AT+NSK AT+NSK=<parameter1>,? AT+NSK=? Parameters and Values Parameter1 For unicast, 16 bytes of hex data OR For multicast, Number of Mulitcast session [1-8]. Parameter2 For multicast only, 16 bytes of hex data. Command with Response Examples AT+NSK=1,00:11:22:33:44:55:66:77:88:99:AA:BB:CC:DD:EE:FF Set Network Session Key: 00.11.22.33.44.55.66.77.88.99.aa.bb.cc.dd.ee.ff AT+NSK=1,? 00.11.22.33.44.55.66.77.88.99.aa.bb.cc.dd.ee.ff...
  • Page 52: At+Ulc Uplink Counter

    NETWORK MANAGEMENT Command help AT+DSK AT+DSK=<parameter1>, ? AT+DSK= ? Parameters and Values Parameter1 For unicast, 16 bytes of hex data OR for multicast, Number of Multicast session [1-8] Parameter2 For multicast only, 16 bytes of hex data. Command with Response Examples AT+DSK=1,FF:EE:DD:CC:BB:AA:99:88:77:66:55:44:33:22:11:00 Set Multicast Application Session Key 1: ff.ee.dd.cc.bb.aa.99.88.77.66.55.44.33.22.11.00...
  • Page 53: At+Dlc Downlink Counter

    NETWORK MANAGEMENT Command AT+ULC=? Parameters and Values Parameter1 0-4294967295 (Default is 1). Command with Response Examples AT+ULC=1 AT+ULC? help AT+ULC AT+ULC: Get or set the uplink counter for the next packet AT+ULC=? AT+ULC: (0-4294967295) AT+DLC Downlink Counter A device using MANUAL join mode, it may reject downlink packets if they do not have the correct counter value. This setting is available for an application to manage this session parameter.
  • Page 54: At+Gk Generic App Key

    NETWORK MANAGEMENT Parameters and Values Parameter1 For Unicast, Value of the Downlink Counter, a 32-bit unassigned integer with a range of 0-4294967295 (Default is 1) OR For Multicast, Number of the Multicast session [1-8]. Parameter2 For Multicast only, Value of the Downlink Counter, a 32-bit unassigned integer with a range of 0- 4294967295 (Default is 1).
  • Page 55: Network Joining

    NETWORK MANAGEMENT 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00 AT+GK=bc.0b.bb.99.9b.17.4c.36.38.8c.0f.cf.ea.68.f3.f8 Set Gen App Key: bc.0b.bb.99.9b.17.4c.36.38.8c.0f.cf.ea.68.f3.f8 help AT+GK AT+GK: Configured generic app key Network Joining OTA Network Join After configuring the network ID and network key on the mDot, send a join packet with the device ID, network ID, and a dev-nonce value.
  • Page 56: At+Jn Join Nonces

    NETWORK MANAGEMENT Command AT+NJS? AT+NJS=? Parameters and Values Parameter1 Not joined. Joined Command with Response Examples AT+NJS AT+NJS? help AT+NJS AT+NJS: 0: Not joined, 1: Joined AT+NJS=? AT+NJS: (0,1) Pin Ouput Join status is also available on Associate Pin (mDot:A2, xDot:GPIO0). AT+JN Join Nonces Sets OTA Join Nonce.
  • Page 57: At+Jnv Enable Join Nonce Validation

    NETWORK MANAGEMENT Parameters and Values Parameter1 Dev Nonce (0-65535) Parameter2 App Nonce (0-16777215) Command with Response Examples AT+JN AT+JN=2,2 AT+JN? help AT+JN AT+JN: Set OTA Join Nonce AT+JN=? AT+JN: (0-65535),(0-16777215) AT+JNV Enable Join Nonce Validation Eanble or disable join app nonce validation in join accept from network. Default is enabled (1). Disable value is 0. NOTE: If you use disjoint join servers (multiple independent Conduits), then you will need a Lens Join Sever to ensure the join nonce counter works.
  • Page 58: At+Ping Send Ping

    NETWORK MANAGEMENT Parameters and Values Parameter1 Disable or Enable (0, 1) Default is 1, enabled Command with Response Examples AT+JNV AT+JNV=0 help AT+JNV AT+JNV: Enable/disable join nonce validation AT+JNV=? AT+JNV: (0,1) AT+PING Send Ping Sends a ping to the gateway. The gateway responds with a pong containing RSSI and SNR, which the end device displays.
  • Page 59: At+Ack Require Acknowledgment

    NETWORK MANAGEMENT ERROR help AT+PING AT+PING: Sends ping and displays the servers received rssi and snr AT+PING=? AT+PING: (-140-0),(-20.0-20.0) AT+ACK Require Acknowledgment The maximum number of times the end device tries to retransmit an unacknowledged packet. Options are from 1 to 15.
  • Page 60: At+Nlc Network Link Check

    NETWORK MANAGEMENT AT+ACK=? AT+ACK: (0-15) AT+NLC Network Link Check Performs a network link check. The first number in the response is the dBm level above the demodulation floor (not to be confused with the noise floor). This value is from the perspective of the signal sent from the end device and received by the gateway.
  • Page 61: At+Lcc Link Check Count

    NETWORK MANAGEMENT help AT+NLC AT+NLC: Perform network link check, displays dBm above floor, number of gateways in range and optional packet payload if received AT+NLC=? AT+NLC: (-20.0-20.0),(1-) AT+LCC Link Check Count Performs periodic connectivity checking. This feature is an alternative to enabling ACK for all packets in order to detect when the network is not available or the session information has been reset on the server.
  • Page 62: At+Lct Link Check Threshold

    NETWORK MANAGEMENT AT+LCC=? AT+LCC: (0:off,N:Packets (max 255)) AT+LCT Link Check Threshold Threshold for the number of consecutive link check or ACK failures to tolerate before setting the join status to not joined. Syntax Command AT+LCT=<parameter1> help AT+LCT AT+LCT? AT+LCT=? Parameters and Values Parameter1 Disabled (Default) 1-255...
  • Page 63: At+Cto Class C Timeout

    NETWORK MANAGEMENT Syntax Command AT+BTO=<paramter1> help AT+BTO AT+BTO=? Parameters and Values Parameter 1 Timeout period from 0-120 seconds. (Default is 8). Command with Response Examples (for setup of a Class B device) AT+BTO=10 help AT+BTO AT+BTO: Set Class B timeout (0-120 seconds) AT+CTO Class C Timeout Set the timeout the network expects to receive an ACK for a confirmed downlink received in a Class C window.
  • Page 64: Preserving, Saving, And Restoring Sessions

    NETWORK MANAGEMENT Preserving, Saving, and Restoring Sessions AT+SS Save Network Session Saves the network session information (join) over resets allowing for a session restore (AT+RS) without requiring a join. This command should be issued after the Dot has joined. See AT+PS if using auto join mode. Syntax Command AT+SS...
  • Page 65: At+Ps Preserve Session

    NETWORK MANAGEMENT Parameters and Values None Command with Response Examples AT+RS HELP AT+RS AT+RS: Restore network session info from flash AT+RS=? AT+RS: NONE AT+PS Preserve Session Preserves the network session information over resets when using auto join mode (AT+NJM). If not using auto join mode, use with the save session command (AT+SS).
  • Page 66: At&Wp Save Protected Settings

    NETWORK MANAGEMENT help AT+PS AT+PS: Save network session info through reset or power down in AUTO_OTA mode (0:off, 1:on) AT+PS=? AT+PS: (0,1) AT&WP Save Protected Settings Saves protected settings available in all firmware. This command creates a write protected configuration to flash (DevEUI, AppEUI, AppKey, and Frequency Band) Syntax Command...
  • Page 67: Chapter 4 - Sending And Receiving Packets

    SENDING AND RECEIVING PACKETS Chapter 4 – Sending and Receiving Packets Channels and Duty Cycles For reference, use the +TXCH command to display channels used with frequency hopping. Note: Europe 868 MHz deployments have a 1% duty cycle, meaning your devices can be on air only 1% of the time per hour.
  • Page 68: At+Txch Transmit Channel

    SENDING AND RECEIVING PACKETS AT+CHM 00FFFFFFFFFFFFFFFFFF AT+FSB=1 AT+CHM 000100000000000000FF AT+FSB=2 AT+CHM 0002000000000000FF00 EU868 AT+CHM=0,00FF AT+CHM 00FF AT+TXCH Transmit Channel With an US 951MHz model, lists the available channels in the current AT+FSB setting With an EU 868MHz model, lists the available channels, including additional channels sent by the network server with the JoinAccept message.
  • Page 69 SENDING AND RECEIVING PACKETS Syntax Command AT+TXCH help AT+TXCH AT+TXCH? AT+TXCH=? Parameters and Values None Command with Response Examples AT+FSB=1 AT+TXCH Index Frequency DR Max Min 902300000 902500000 902700000 902900000 903100000 903300000 903500000 903700000 903000000 923300000 AT+FSB=1 AT+TXCH Index Frequency DR Max Min 902300000 902500000...
  • Page 70 SENDING AND RECEIVING PACKETS 923300000 help AT+TXCH AT+TXCH: List Tx channel frequencies for sub-band AT+TXCH=? AT+TXCH: TABLE Note the following for US915: U : Uplink Channel for DR4:SF8BW500 R2 : Frequency and datarate for second receive window In public mode, R2 defaults to 923.3 DR8 In private mode, R2 is defaulted by AT+FSB setting 1:923.3,2:923.9,...
  • Page 71: At+Lbt Listen Before Talk

    SENDING AND RECEIVING PACKETS 869525000 EU868 After Join AT+TXCH Index Frequency DR Max Min 868100000 868300000 868500000 866100000 866300000 866500000 866700000 866900000 869525000 AT+LBT Listen Before Talk Enables or disables the Listen Before Talk function. Syntax Command AT+LBT=<parameter1>,<parameter2> help AT+LBT AT+LBT? AT+LBT=? Parameters and Values...
  • Page 72: At+Txn Transmit Next

    SENDING AND RECEIVING PACKETS Command with Response Examples AT+LBT=? AT+LBT: time(0-65535 us),threshold(-127-128 dBm)(0,0: disable, time,threshold: enable) Get current LBT configuration: 0,0 means it is disabled: AT+LBT Set LBT to -65dB threshold and 5ms sample time: AT+LBT=5000,-65 Verify configuration: AT+LBT 5000,-65 These settings also appear in the AT&V results.
  • Page 73: At+Toa Time On Air

    SENDING AND RECEIVING PACKETS Command with Response Examples AT+TXN AT+TXN? help AT+TXN AT+TXN: Get time in ms until next free channel AT+TXN=? AT+TXN: (0-2793000) AT+TOA Time On Air Displays the amount of on air time, in milliseconds, required to transmit the number of bytes specified at the current data rate.
  • Page 74: At+Fo Frequency Offset

    SENDING AND RECEIVING PACKETS ERROR help AT+TOA AT+TOA: Get time in ms of packet tx with current datarate AT+TOA=? AT+TOA: (0-242) AT+FO Frequency Offset Used to adjust TX frequency offset. Syntax Command AT+FO=<parameter1> help AT+FO AT+FO? AT+FO=? Parameters and Values Parameter1 Transmit frequency offset in Hz (-32768,32768) Command with Response Examples...
  • Page 75: Configuring

    SENDING AND RECEIVING PACKETS Configuring AT+MAC Inject MAC Command When used without a parameter the MAC command buffer to be sent with the next packet is displayed. The MAC command buffer can be cleared by passing an argument of '0'. Changes made by MAC commands through this command or made by the server can be saved with AT+SS and restored with AT+RS.
  • Page 76 SENDING AND RECEIVING PACKETS RxParamSetupReq Format: ID (1) | DLSettings (1) | Frequency (3) Example: 050468E28C ? RX1O: 0 RX2: 5 FREQ: 923300000 MAC command ID DLSettings Datarate offset for RX1 and datarate index for RX2 Frequency 3 bytes of frequency in 100 Hz (LSB) DevStatus Format: ID (1) Example: 06...
  • Page 77: At&V Settings And Status

    SENDING AND RECEIVING PACKETS Help help AT+MAC AT+MAC: Inject MAC command to MAC layer or read uplink MAC command buffer, pass '0' argument to clear buffer AT&V Settings and Status Displays device settings and status in a tabular format. Syntax Command AT&V help AT&V...
  • Page 78 SENDING AND RECEIVING PACKETS Preserve Session: Join Byte Order: Join Delay: Join Rx1 DR Offset Join Rx2 Datarate: DR8 - SF12BW500 Join Rx2 Frequency: 923300000 App Port: Listen Before Talk: Link Check Threshold: Link Check Count: Error Correction: 1 bytes ACK Retries: Packet Repeat: Encryption:...
  • Page 79: At+Dc Device Class

    SENDING AND RECEIVING PACKETS Serial Clear On Error: Wake Mode: INTERVAL Wake Interval: 10 s Wake Delay: 100 ms Wake Timeout: 20 ms Wake Pin: Log Level: help AT&V AT&V: Displays current settings and status AT&V=? AT&V: TABLE AT+DC Device Class Sets the device class.
  • Page 80: At+Urc Unsolicited Response Code

    SENDING AND RECEIVING PACKETS Command AT+DC=? Parameters and Values Parameter1 Class A device. (Default) Class B device. Class C device.(Not supported in Version 2.0 or older.) Command with Response Examples AT+DC=A help AT+DC AT+DC: Device class (A,B,C) AT+DC=? AT+DC: (A,B,C) AT+URC Unsolicited Response Code Enable or disable unsolicited response codes.
  • Page 81: At+Ap Application Port

    SENDING AND RECEIVING PACKETS AT+URC=1 help AT+URC AT+URC: Output packets to terminal when received AT+URC=? (0:disable,1:enable) AT+AP Application Port Sets the port used for application data. Each LoRaWAN packet containing data has an associated port value. Port 0 is reserved for MAC commands, ports 1-223 are available for application use, and port 233-255 are reserved for future LoRaWAN use.
  • Page 82: At+Txp Transmit Power

    SENDING AND RECEIVING PACKETS AT+AP=? AT+AP: (1-223) AT+TXP Transmit Power Configures the output power of the radio in dBm, before antenna gain. The mac layer will attempt to reach this output level but limit any transmission to the local regulations for the chosen frequency. Note: Refer to AT+ANT to configure antenna gain.
  • Page 83: At+Txi Transmit Inverted

    SENDING AND RECEIVING PACKETS AT+TXI Transmit Inverted Deprecated Sets TX signal inverted. Note: Transmitted signals are inverted so motes/gateways do not see other mote/gateway packets. Syntax Command AT+TXI=<parameter1> help AT+TXI AT+TXI? AT+TXI=? Parameters and Values Parameter1 Not inverted (Default) Inverted Command with Response Examples AT+TXI=0 AT+TXI?
  • Page 84: At+Rxd Receive Delay

    SENDING AND RECEIVING PACKETS Syntax Command AT+RXI=<parameter1> help AT+RXI AT+RXI? AT+RXI=? Parameters and Values Parameter1 Receive signal not inverted Receive signal inverted (Default) Command with Response Examples AT+RXI=1 AT+RXI? help AT+RXI AT+RXI: Set Rx signal inverted, (default:on) AT+RXI=? AT+RXI: (0,1) AT+RXD Receive Delay Allows the dot to use non-default rx windows, if required by the network it is attempting to communicate with.
  • Page 85: At+Fec Forward Error Correction

    SENDING AND RECEIVING PACKETS Command help AT+RXD AT+RXD? AT+RXD=? Parameters and Values Parameter1 1-15 seconds (Default) Command with Response Examples AT+RXD=1 AT+RXD? help AT+RXD AT+RXD: Number of seconds before receive windows are opened (1 - 15) AT+RXD=? AT+RXD: (0,1) AT+FEC Forward Error Correction Deprecated Sends redundant data to compensate for unreliable communication with the goal of reducing the need to...
  • Page 86: At+Crc Cyclical Redundancy Check

    SENDING AND RECEIVING PACKETS Sends 5 bits to represent 4 bits. Sends 6 bits to represent 4 bits. Sends 7 bits to represent 4 bits. Sends 8 bits to represent 4 bits. Command with Response Examples AT+FEC=1 AT+FEC? help AT+FEC AT+FEC: Configure Forward Error Correction bytes (1 to 4) AT+FEC=? AT+FEC: (1-4)
  • Page 87: At+Adr Adaptive Data Rate

    SENDING AND RECEIVING PACKETS AT+CRC? help AT+CRC AT+CRC: Enable/disable CRC (0: off, 1: on) AT+CRC=? AT+CRC: (0,1) AT+ADR Adaptive Data Rate Enable or disable adaptive data rate for your device. For more information on Adpative Data Rate, refer to your device's Developer Guide.
  • Page 88 SENDING AND RECEIVING PACKETS AT+ADR=? AT+ADR: (0,1) mDot AT Command Reference Guide...
  • Page 89: At+Txdr Tx Data Rate

    SENDING AND RECEIVING PACKETS AT+TXDR TX Data Rate Sets the current data rate to use, DR0-DR15 can be entered as input in addition to (7-12) or (SF_7-SF_12). Output has changed as shown in the following table: From AT+TXDR AT+TXDR SF_12 DR0 - SF12BW125 Note: Data rate is directly related to spreading factor.
  • Page 90 SENDING AND RECEIVING PACKETS IN 865 Data Rates Max Payload (bytes) DR0 : 51 DR1 : 51 DR2 : 51 DR3 : 115 DR4 : 242 DR5 : 242 DR7 : 242 Note: There is no DR6 for India. AS 923 Data Rates Max Payload (bytes) No Dwell Dwell DR0 :...
  • Page 91: At+Sdr Session Data Rate

    SENDING AND RECEIVING PACKETS AT+SDR Session Data Rate Display the current data rate the LoRaMAC layer is using. It can be changed by the network server if ADR is enabled. Syntax Command AT+SDR help AT+SDR AT+SDR? AT+SDR=? Parameters and Values None Command with Response Examples AT+SDR...
  • Page 92: Sending Packets

    SENDING AND RECEIVING PACKETS Syntax Command AT+REP=<parameter1> help AT+REP AT+REP? AT+REP=? Parameters and Values Parameter1 0-15 Number of send attempts. (Default) Command with Response Examples AT+REP AT+REP? HELP AT+REP AT+REP: Configure number of times to repeat a packet AT+REP=? AT+REP: (0-15) Sending Packets AT+SEND Send...
  • Page 93 SENDING AND RECEIVING PACKETS US 915 MHz Device EU 868MHz Device +SEND commands response is significantly impacted by the AT+ACK setting. The following table shows the theoretical worst case timing from +SEND to OK or ERROR response using a 915Mhz device. Retransmit delay is random 1-3s delay before a retransmit if an ACK has not been received.
  • Page 94: At+Sendb Send Binary

    SENDING AND RECEIVING PACKETS Command with Response Examples AT+SEND=<data to send> <data received from the gateway/network server> AT+SEND <data to send> (the “=” sign is optional) <data received from the gateway/network server> AT+SEND=This is a test with SF10 Data exceeds datarate max payload ERROR AT+SEND (sends an empty packet and opens a receive window) <data received from the gateway/network server>...
  • Page 95: Receiving Packets

    SENDING AND RECEIVING PACKETS Parameters and Values Parameter1 String of up to 242 eight bit hexadecimal values. Each value may range from 00 to FF. Command with Response Examples AT+SENDB=6174 (sends the letter a and t) <data received from the gateway/network server> help AT+SENDB AT+SENDB: Sends supplied binary (hex) packet data one time and return response AT+SENDB=?
  • Page 96: At+Rxo Receive Output

    SENDING AND RECEIVING PACKETS AT+RECV: Receive and display one packet. AT+RECV=? AT+RECV: (string:242) or (hex:242) Pin Output Rx Packet pin is brought high when packet is received. When you issue a new command, the pin is reset (mDot:D12, xDot:GPIO1). AT+RECV retrieves the packet and resets the pin. AT+RXO Receive Output Formats the receive data output.
  • Page 97: At+Dp Data Pending

    SENDING AND RECEIVING PACKETS Used to send payloads in serial data mode. Extended Hexadecimal format Command with Response Examples AT+RXO=0 AT+RXO? help AT+RXO AT+RXO: Set the Rx output type (0:hexadecimal, 1:raw, 2:serial, 3:extended_hex) AT+RXO=? AT+RXO: (0,1,2,3) AT+DP Data Pending Indicates there is at least one packet pending on the gateway for this end device. This indication is communicated to the end device in any packet coming from the server.
  • Page 98: At+Txw Transmit Wait

    SENDING AND RECEIVING PACKETS help AT+DP AT+DP: Indicator of data in queue on server AT+DP=? AT+DP: (0,1) AT+TXW Transmit Wait Enables or disables waiting for RX windows to expire after sending. Note: Non-blocking operation may disrupt the Dot's ability to receive downlink packets. Syntax Command AT+TXW=<parameter1>...
  • Page 99: At+Mcrx Multicast Rx Parameters

    SENDING AND RECEIVING PACKETS AT+TXW=? AT+TXW: (0,1) AT+MCRX Multicast Rx parameters Query or set the multicast receive (Rx) parameters which include index, datarate, frequency, and period. For period, if you set the value to -1 then Class C is configured. For all other values (1-8), Class B is set. Note: Multicast session is part of the session.
  • Page 100: Statistics

    SENDING AND RECEIVING PACKETS AT+MCRX: Multicast Rx Settings AT+MCRX=? AT+MCRX: (1-8),(DR0-DR15),(FREQ),(-1-7:PERIOD,-1:CLASS_C) Statistics AT&R Reset Statistics Resets device statistics. Note: Reset includes all statistics displayed with the AT&S command. Syntax Command AT&R help AT&R AT&R=? Parameters and Values None Command with Response Examples AT&R help AT&R AT&R: Reset statistics...
  • Page 101: At+Rssi Signal Strength

    SENDING AND RECEIVING PACKETS Syntax Command AT&S help AT&S AT&S=? Parameters and Values None Command with Response Examples AT&S Join Attempts: Join Fails: Up Packets: Down Packets: Missed Acks: help AT&S AT&S: Display statistics AT&S=? AT&S: TABLE AT+RSSI Signal Strength Displays signal strength information for all packets received from the gateway since the last reset.
  • Page 102: At+Lbtrssi Listen Before Talk Signal Strength

    SENDING AND RECEIVING PACKETS Command AT+RSSI=? Parameters and Values None Command with Response Examples AT+RSSI -54, -54, -50, -52 AT+RSSI? 0, 0, 0, 0 help AT+RSSI AT+RSSI: Displays signal strength information for received packets: last, min, max, avg AT+RSSI=? AT+RSSI: (-140-0),(-140-0),(-140-0),(-140-0) AT+LBTRSSI Listen Before Talk Signal Strength Read the LBTRSSI.
  • Page 103: At+Snr Signal To Noise Ratio

    SENDING AND RECEIVING PACKETS AT+LBTRSSI? 0, 0, 0, 0 help AT+LBTRSSI AT+LBTRSSI: AT+LBTRSSI=? AT+LBTRSSI: (-140-0),(-140-0),(-140-0),(-140-0) AT+SNR Signal to Noise Ratio Displays signal to noise ratio for all packets received from the gateway since the last reset. There are four signal to noise ratio values, which, in order, are: last packet SNR, minimum SNR, maximum SNR and average SNR.
  • Page 104: Serial Data Mode

    SENDING AND RECEIVING PACKETS AT+SNR=? AT+SNR: (-20.0-20.0),(-20.0-20.0),(-20.0-20.0),(-20.0-20.0) Serial Data Mode AT+SD Serial Data Mode Reads serial data, sends packets, and then sleeps using wake settings. The escape sequence is +++. There are one second guard times for +++. After sending data and before entering +++, you must wait one second.
  • Page 105: At+Smode Startup Mode

    SENDING AND RECEIVING PACKETS AT+SMODE Startup Mode Configures which operation mode the end device powers up in, either AT command mode or serial data mode. AT Command mode: The end device powers up or resets in command mode. AT commands are used to send and receive data.
  • Page 106 SENDING AND RECEIVING PACKETS In serial data mode, the dot wakes periodically to received data on the serial pins and transmit out the radio. If the data cannot be sent, this setting indicates the how device handles the buffered data. Data can either be kept in the buffer to be resent until successful or be discarded.
  • Page 107: Chapter 5 - Power Management

    POWER MANAGEMENT Chapter 5 – Power Management AT+SLEEP Sleep Mode Puts the end device in sleep mode. The end device wakes on interrupt or interval based on AT+WM setting. Once awakened, use AT+SLEEP again to return to sleep mode. Note: Deep sleep is not available for mDot devices.
  • Page 108: At+As Auto Sleep

    POWER MANAGEMENT AT+SLEEP: NONE AT+AS Auto Sleep Deprecated This command has been deprecated in version 3.2. Use the Mbed sleep manager. Syntax Command AT+AS=<parameter1> help AT+AS AT+AS? AT+AS=? Parameters and Values Parameter1 Disable auto sleep (Default) Enable auto sleep Command with Response Examples AT+AS=0 help AT+AS AT+AS: Set auto sleep (0: DISABLE, 1: ENABLE)
  • Page 109: At+Wm Wake Mode

    POWER MANAGEMENT AT+WM Wake Mode Configures the end device to wake from sleep mode either on a time interval (set by AT+WI) or by an interrupt. For details on interval mode, refer to +WI. For details on interrupt mode, refer to +WP. Syntax Command AT+WM=<parameter1>...
  • Page 110: At+Wi Wake Interval

    POWER MANAGEMENT AT+WI Wake Interval When using wake mode set to interval, use this command to configure the number of seconds the end device sleeps when in sleep mode. Upon waking, it waits +WD amount of time for an initial character then +WTO amount of time for each additional character.
  • Page 111: Syntax

    POWER MANAGEMENT Syntax Command AT+WD=<parameter1> help AT+WD AT+WD? AT+WD=? Parameters and Values Parameter1 2-2147483647 milliseconds (Default is 100) Command with Response Examples AT+WD=100 AT+WD? help AT+WD AT+WD: Time to wait for data after wakeup signal (milliseconds) AT+WD=? AT+WD: (2-2147483647) ms AT+WTO Wake Timeout Configures the amount of time that the device waits for subsequent characters following the first character...
  • Page 112: Parameters And Values

    POWER MANAGEMENT Parameters and Values Parameter1 0-65000 milliseconds (Default is 20) Command with Response Examples AT+WTO=20 AT+WTO? help AT+WTO AT+WTO: Read serial data until timeout (milliseconds) AT+WTO=? AT+WTO: (0-65000) ms AT+ANT Antenna Gain Allows a non-default antenna to be used while still adhering to transmit power regulations. Syntax Command AT+ANT=<parameter1>...
  • Page 113 POWER MANAGEMENT AT+ANT? help AT+ANT AT+ANT: Gain in dBi of installed antenna (-128-127) AT+ANT=? AT+ANT: (-128-127) mDot AT Command Reference Guide...
  • Page 114: Chapter 6 - Testing And Compliance

    TESTING AND COMPLIANCE Chapter 6 – Testing and Compliance AT+RXDR Receive Data Rate Sets the receive data rate. Used to configure the receive data rate that AT+RECVC uses for receiving packets. Note: This command is used for compliance testing. It is not intended for the typical end user. Syntax Command AT+RXDR=<parameter1>...
  • Page 115: At+Rxf Receive Frequency

    TESTING AND COMPLIANCE SF_12 AT+RXF Receive Frequency Deprecated Note: Beginning in firmware version 3.2, this command has been removed from production firmware. It will remain available in de-bug firmware. Configures the frequency that +RECVC listens to for received packets. Note: This command is used for compliance testing.
  • Page 116: At+Recvc Receive Continuously

    TESTING AND COMPLIANCE AT+RECVC Receive Continuously Deprecated Note: Beginning in firmware version 3.2, this command has been removed from production firmware. It will remain available in de-bug firmware. Causes the device to receive packets continuously on the frequency configured via AT+RXF and at the data rate configured via AT+RXDR.
  • Page 117: Parameters And Values

    TESTING AND COMPLIANCE Command AT+SENDC=? Parameters and Values Parameters <paramet Timeout er1> <paramet Frequency er2> <paramet Power er3> Command with Response Examples AT+SENDC=<data to send> <data received from the gateway/network server> help AT+SENDC AT+SENDC: Sends packet data continuously (max:242 bytes) AT+SEND=? AT+SEND: (string:242) AT+SENDI...
  • Page 118: Command With Response Examples

    TESTING AND COMPLIANCE Parameter2 Up to 242 bytes of data or the max payload size based on the spreading factor (see AT+TXDR) Command with Response Examples AT+SENDI=1000,<data to send> <data received from the gateway/network server> AT+SENDI Invalid arguments ERROR help AT+SENDI AT+SENDI: Sends supplied packet data on interval between sends, output any recevied packets (escape sequence: +++) AT+SENDI=?
  • Page 119: Command With Response Examples

    TESTING AND COMPLIANCE Command with Response Examples AT+TXF=902123456 help AT+TXF AT+TXF: Set Tx frequency AT+TXF? 902123456 US 915MHz AT+TXF=? AT+TXF: (0,902000000-928000000) EU 868 MHz AT+TXF=? AT+TXF: (0,863000000-870000000) mDot AT Command Reference Guide...
  • Page 120: Chapter 7 - Examples

    EXAMPLES Chapter 7 – Examples Network Configuration and Joining Configure Network ID and Network Key with either a hexadecimal value or name/passphrase. To configure with a hexadecimal value, provide a first argument of 0: AT+NI=0,0011223344556677 AT+NK=0,00112233445566770011223344556677 To configure with a name/passphrase value provide a first argument of 1: AT+NI=1,MTS-LORA-1 AT+NK=1,MTS-LORA-PASSPHRASE US 915MHz - Frequency Sub-band...
  • Page 121: Join Mode

    EXAMPLES Join Mode The Dot supports both OTA and manual provisioning or joining. See OTA Activation in Chapter 3 Network Management. To configure for OTA join mode and connect to the network: AT+NJM=1 AT+JOIN To configure for AUTO OTA join mode and connect to the network, if you are not already joined, a join attempt will be made: AT+NJM=2 Joining Network...
  • Page 122: Ensuring Network Connectivity

    EXAMPLES Ensuring Network Connectivity To ensure the Dot is still connected to the network, request a response from the server. One method is to require ACKs for each packet, but under a heavy load, the server may not be able to respond to every packet. The other option is to periodically require an ACK using AT+LCC, this maintains join status without overburdening the network server.
  • Page 123: Serial Mode

    EXAMPLES AT+LCC=2 AT+LCT=1 AT+SEND=message [Gateway Powered Off] AT+SEND=message AT+NJS AT+SEND=message Network Not Joined ERROR AT+NJS Serial Mode Configure the device to wake periodically or on interrupt, wait for data on serial port, send data out, and go back to sleep. Refer to Chapter 5, Power Management for more information. Configure the device to wake up after 10 seconds of sleep and send data from the serial port: AT+WM=0 AT+WI=10...
  • Page 124 EXAMPLES Device resets into Serial Mode. Peer to Peer mDots using 1.0.8 AT Firmware or Library can be configured for Peer to Peer communication. To allow communication between mDots, configure two or more mDots with the same network settings. Enabling ACKs guarantees packet delivery;...
  • Page 125 EXAMPLES Peer-to-Peer Throughput mDot AT Command Reference Guide...

Table of Contents