AT Command Set mDot firmware with updated libmDot, to fix endian problem with joining LoRaWAN network

Dependencies:   MTS-Serial libmDot mbed-rtos mbed-src

Fork of mDot_AT_firmware by MultiTech

Committer:
mfiore
Date:
Thu Jun 25 14:52:56 2015 +0000
Revision:
0:e2b8246361bc
initial commit, main, debug, version, wakeup, doc

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mfiore 0:e2b8246361bc 1 # vim: expandtab sts=8 sw=8 ts=8
mfiore 0:e2b8246361bc 2 Command Name Description
mfiore 0:e2b8246361bc 3
mfiore 0:e2b8246361bc 4 General commands
mfiore 0:e2b8246361bc 5 ----------------
mfiore 0:e2b8246361bc 6 Command Name Description
mfiore 0:e2b8246361bc 7
mfiore 0:e2b8246361bc 8 AT Attention Attention
mfiore 0:e2b8246361bc 9 ATI Request Id Request Identification
mfiore 0:e2b8246361bc 10 ATZ Reset CPU Reset the CPU
mfiore 0:e2b8246361bc 11 ATE0/1 Enable/Disable Echo ATE0: disable, ATE1: enable
mfiore 0:e2b8246361bc 12 ATV0/1 Enable/Disable Verbose ATV0: disable, ATV1: enable
mfiore 0:e2b8246361bc 13 AT&F Reset Factory Defaults Reset current configuration to factory defaults
mfiore 0:e2b8246361bc 14 AT&W Save Configuration Save configuration to flash memory
mfiore 0:e2b8246361bc 15 AT&V Display Settings Displays current settings and status
mfiore 0:e2b8246361bc 16 AT+IPR Serial Baud Rate Set serial baud rate, default: 115200
mfiore 0:e2b8246361bc 17 AT+DIPR Debug Baud Rate Set debug serial baud rate, default: 115200
mfiore 0:e2b8246361bc 18 AT+SMODE Start Up Mode 0: AT command mode, 1: Serial data mode
mfiore 0:e2b8246361bc 19 AT+LOG Debug Log Level Enable/disable debug logging. (0: off, 1:Fatal - 6:Trace)
mfiore 0:e2b8246361bc 20
mfiore 0:e2b8246361bc 21 Network/Addressing commands
mfiore 0:e2b8246361bc 22 ---------------------------
mfiore 0:e2b8246361bc 23
mfiore 0:e2b8246361bc 24 AT+FREQ Frequency Band Configured Frequency Band '868' or '915'
mfiore 0:e2b8246361bc 25 AT+FSB Frequency Sub-band Set the frequency sub-band for US 915, (0:ALL, 1-8)
mfiore 0:e2b8246361bc 26 AT+PN Public Network Enable/disable public network mode. (0: off, 1: on)
mfiore 0:e2b8246361bc 27 AT+DI Device ID Device EUI (unique, set at factory) (8 bytes)
mfiore 0:e2b8246361bc 28 AT+NA Network Address Network address (devAddr in LoraMac) (4 bytes)
mfiore 0:e2b8246361bc 29 AT+NSK Network Session Key Network session encryption key (16 bytes)
mfiore 0:e2b8246361bc 30 AT+DSK Data Session Key Data session encryption key (16 bytes)
mfiore 0:e2b8246361bc 31 AT+NK Network Key Configured network key/passphrase (App Key in LoraMac) ## AT+NK=0,hex AT+NK=1,passphrase (Net key = cmac(passphrase)) (16 bytes)
mfiore 0:e2b8246361bc 32 AT+NI Network ID Configured Network EUI/Name (App EUI in LoraMac) AT+NI=0,hex AT+NI=1,network_name (Net ID = crc64(network_name)) (8 bytes)
mfiore 0:e2b8246361bc 33 AT+JOIN Join Network Join network (acquire network address and session keys)
mfiore 0:e2b8246361bc 34 AT+NJM Network Join Mode 0: Manual configuration, 1: OTA Network Join, 2: Auto OTA Network Join on start up (default: 1)
mfiore 0:e2b8246361bc 35 AT+NJS Network Join Status 0: Not joined, 1: Joined
mfiore 0:e2b8246361bc 36 AT+NLC Network Link Check Perform network link check, displays dBm above floor, number of gateways in range and optional packet payload if received
mfiore 0:e2b8246361bc 37 AT+LCC Link Check Count Set number of packets between each link check if ACK's are disabled
mfiore 0:e2b8246361bc 38 AT+ENC AES Encryption Enable/disable AES encryption (0: off, 1: on)
mfiore 0:e2b8246361bc 39 AT+RSSI Signal Strength Displays signal strength of received packets, last,min,max,avg
mfiore 0:e2b8246361bc 40 AT+SNR Signal To Noise Ratio Display signal to noise ratio received packets last,min,max,avg
mfiore 0:e2b8246361bc 41 AT+DP Data Pending Indicator of data in queue on server
mfiore 0:e2b8246361bc 42 AT+PING Send Ping Sends ping, displays RSSI and SNR from gateway on pong
mfiore 0:e2b8246361bc 43
mfiore 0:e2b8246361bc 44 Radio Configuration
mfiore 0:e2b8246361bc 45 -------------------
mfiore 0:e2b8246361bc 46
mfiore 0:e2b8246361bc 47 AT+TXDR Tx Data Rate Set the Tx data rate for all channels
mfiore 0:e2b8246361bc 48 AT+TXP Tx Power Set the Tx power for all channels
mfiore 0:e2b8246361bc 49 AT+TXF Tx Frequency Set Tx frequency
mfiore 0:e2b8246361bc 50 AT+TXI Set Tx inverted Set Tx signal inverted, (default:off)
mfiore 0:e2b8246361bc 51 AT+TXCH Tx Channels List Tx channel frequencies for sub-band
mfiore 0:e2b8246361bc 52 AT+RXDR Rx Data Rate Set the Rx data rate
mfiore 0:e2b8246361bc 53 AT+RXF Rx Frequency Set the Rx frequency for +RECV,+RECVC
mfiore 0:e2b8246361bc 54 AT+RXO Rx Output Set the Rx output type (0:hexadecimal, 1:binary)
mfiore 0:e2b8246361bc 55 AT+RXI Set Rx inverted Set Rx signal inverted, (default:on)
mfiore 0:e2b8246361bc 56 AT+FEC Error Correction Configure Forward Error Correction bytes (1 to 4)
mfiore 0:e2b8246361bc 57 AT+CRC CRC Checking Enable/disable CRC checking of received packets. (0: off, 1: on)
mfiore 0:e2b8246361bc 58 AT+ADR Adaptive Data Rate Enable/disable Adaptive Data Rate (0: off, 1: on)
mfiore 0:e2b8246361bc 59
mfiore 0:e2b8246361bc 60
mfiore 0:e2b8246361bc 61 Send/Receive
mfiore 0:e2b8246361bc 62 ------------
mfiore 0:e2b8246361bc 63
mfiore 0:e2b8246361bc 64 AT+ACK Require ACK Enable to require send acknowledgement (0: off, N: number of retries until ACK recevied)
mfiore 0:e2b8246361bc 65 AT+SEND Send Once Sends supplied packet data one time and return response, (max:240 bytes)
mfiore 0:e2b8246361bc 66 AT+SENDH Send Once High BW Sends supplied packet data one time and return response using High Bandwidth channel, (max:240 bytes)
mfiore 0:e2b8246361bc 67 AT+SENDB Send Binary Sends supplied binary (hex) packet data one time and return response
mfiore 0:e2b8246361bc 68 AT+SENDI Send Continuous Sends supplied packet data on interval between sends, output any recevied packets (escape sequence: +++)
mfiore 0:e2b8246361bc 69 AT+RECV Receive Once Receive and display one packet, optional timeout in ms overrides configured Rx Timeout.
mfiore 0:e2b8246361bc 70 AT+RECVC Receive Continuous Continously receive and display packets, optional timeout in ms overrides configured Rx Timeout. (escape sequence: +++)
mfiore 0:e2b8246361bc 71 AT+TXN Tx Next Get time in ms until next free channel
mfiore 0:e2b8246361bc 72
mfiore 0:e2b8246361bc 73 Serial data mode options
mfiore 0:e2b8246361bc 74 ------------------------
mfiore 0:e2b8246361bc 75
mfiore 0:e2b8246361bc 76 AT+SD Serial Data Mode Reads serial data and sends Lora packets (escape sequence: +++)
mfiore 0:e2b8246361bc 77 AT+SDWI Serial Wake Interval Serial data wakeup interval to generate wake signal (seconds)
mfiore 0:e2b8246361bc 78 AT+SDWD Serial Wake Delay Time to wait for data after wakeup signal (milliseconds)
mfiore 0:e2b8246361bc 79 AT+SDTO Serial Receive Timeout Read serial data until timeout (milliseconds)