This mDot firmware will allow USB to directly utilize AT command without the need the use of RS232 DB9 port.
Dependencies: MTS-Serial libmDot mbed-rtos mbed
Fork of mDot_USB_AT_firmware by
doc/mDot-AT-commands.txt@14:eecf7851d6ff, 2016-10-19 (annotated)
- Committer:
- ahario
- Date:
- Wed Oct 19 10:26:54 2016 +0000
- Revision:
- 14:eecf7851d6ff
- Parent:
- 6:e27eaad36a0c
Update from libmDot has overwritten the orginal main.cpp; ; Main.cpp has been updated again to allow AT command to be accessed via USB
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Mike Fiore |
6:e27eaad36a0c | 1 | # vim: expandtab sts=8 sw=8 ts=8 |
Mike Fiore |
6:e27eaad36a0c | 2 | Command Name Description |
Mike Fiore |
6:e27eaad36a0c | 3 | |
Mike Fiore |
6:e27eaad36a0c | 4 | General commands |
Mike Fiore |
6:e27eaad36a0c | 5 | ---------------- |
Mike Fiore |
6:e27eaad36a0c | 6 | Command Name Description |
Mike Fiore |
6:e27eaad36a0c | 7 | |
Mike Fiore |
6:e27eaad36a0c | 8 | AT Attention Attention |
Mike Fiore |
6:e27eaad36a0c | 9 | ATI Request Id Request Identification |
Mike Fiore |
6:e27eaad36a0c | 10 | ATZ Reset CPU Reset the CPU |
Mike Fiore |
6:e27eaad36a0c | 11 | ATE0/1 Enable/Disable Echo ATE0: disable, ATE1: enable |
Mike Fiore |
6:e27eaad36a0c | 12 | ATV0/1 Enable/Disable Verbose ATV0: disable, ATV1: enable |
Mike Fiore |
6:e27eaad36a0c | 13 | AT&F Reset Factory Defaults Reset current configuration to factory defaults |
Mike Fiore |
6:e27eaad36a0c | 14 | AT&W Save Configuration Save configuration to flash memory |
Mike Fiore |
6:e27eaad36a0c | 15 | AT&V Display Settings Displays current settings and status |
Mike Fiore |
6:e27eaad36a0c | 16 | AT&S Display Stats Display statistics |
Mike Fiore |
6:e27eaad36a0c | 17 | AT&R Reset Stats Reset statistics |
Mike Fiore |
6:e27eaad36a0c | 18 | AT+IPR Serial Baud Rate Set serial baud rate, default: 115200 |
Mike Fiore |
6:e27eaad36a0c | 19 | AT+DIPR Debug Baud Rate Set debug serial baud rate, default: 115200 |
Mike Fiore |
6:e27eaad36a0c | 20 | AT+SMODE Start Up Mode 0: AT command mode, 1: Serial data mode |
Mike Fiore |
6:e27eaad36a0c | 21 | AT+LOG Debug Log Level Enable/disable debug logging. (0: off, 1:Fatal - 6:Trace) |
Mike Fiore |
6:e27eaad36a0c | 22 | |
Mike Fiore |
6:e27eaad36a0c | 23 | Network/Addressing commands |
Mike Fiore |
6:e27eaad36a0c | 24 | --------------------------- |
Mike Fiore |
6:e27eaad36a0c | 25 | |
Mike Fiore |
6:e27eaad36a0c | 26 | AT+FREQ Frequency Band Configured Frequency Band '868' or '915' |
Mike Fiore |
6:e27eaad36a0c | 27 | AT+FSB Frequency Sub-band Set the frequency sub-band for US 915, (0:ALL, 1-8) |
Mike Fiore |
6:e27eaad36a0c | 28 | AT+PN Public Network Enable/disable public network mode. (0: off, 1: on) |
Mike Fiore |
6:e27eaad36a0c | 29 | AT+DI Device ID Device EUI (unique, set at factory) (8 bytes) |
Mike Fiore |
6:e27eaad36a0c | 30 | AT+NA Network Address Network address (devAddr in LoraMac) (4 bytes) |
Mike Fiore |
6:e27eaad36a0c | 31 | AT+NSK Network Session Key Network session encryption key (16 bytes) |
Mike Fiore |
6:e27eaad36a0c | 32 | AT+DSK Data Session Key Data session encryption key (16 bytes) |
Mike Fiore |
6:e27eaad36a0c | 33 | 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) |
Mike Fiore |
6:e27eaad36a0c | 34 | 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) |
Mike Fiore |
6:e27eaad36a0c | 35 | AT+JOIN Join Network Join network (acquire network address and session keys) |
Mike Fiore |
6:e27eaad36a0c | 36 | AT+JR Join Retries Number of times to retry joining the network in an attempt (0 - 255) |
Mike Fiore |
6:e27eaad36a0c | 37 | AT+JBO Join Byte Order Send EUI's in join request with configured byte ordering |
Mike Fiore |
6:e27eaad36a0c | 38 | AT+NJM Network Join Mode 0: Manual configuration, 1: OTA Network Join, 2: Auto OTA Network Join on start up (default: 1) |
Mike Fiore |
6:e27eaad36a0c | 39 | AT+NJS Network Join Status 0: Not joined, 1: Joined |
Mike Fiore |
6:e27eaad36a0c | 40 | AT+NLC Network Link Check Perform network link check, displays dBm above floor, number of gateways in range and optional packet payload if received |
Mike Fiore |
6:e27eaad36a0c | 41 | AT+LCC Link Check Count Set number of packets between each link check if ACK's are disabled |
Mike Fiore |
6:e27eaad36a0c | 42 | AT+LCT Link Check Threshold Set threshold for number of link check of ACK failures to tolerate, (0: off, N: number of failures) |
Mike Fiore |
6:e27eaad36a0c | 43 | AT+ENC AES Encryption Enable/disable AES encryption (0: off, 1: on) |
Mike Fiore |
6:e27eaad36a0c | 44 | AT+RSSI Signal Strength Displays signal strength of received packets, last,min,max,avg |
Mike Fiore |
6:e27eaad36a0c | 45 | AT+SNR Signal To Noise Ratio Display signal to noise ratio received packets last,min,max,avg |
Mike Fiore |
6:e27eaad36a0c | 46 | AT+DP Data Pending Indicator of data in queue on server |
Mike Fiore |
6:e27eaad36a0c | 47 | AT+PING Send Ping Sends ping, displays RSSI and SNR from gateway on pong |
Mike Fiore |
6:e27eaad36a0c | 48 | |
Mike Fiore |
6:e27eaad36a0c | 49 | Radio Configuration |
Mike Fiore |
6:e27eaad36a0c | 50 | ------------------- |
Mike Fiore |
6:e27eaad36a0c | 51 | |
Mike Fiore |
6:e27eaad36a0c | 52 | AT+TXDR Tx Data Rate Set the Tx data rate for all channels |
Mike Fiore |
6:e27eaad36a0c | 53 | AT+TXP Tx Power Set the Tx power for all channels |
Mike Fiore |
6:e27eaad36a0c | 54 | AT+TXF Tx Frequency Set Tx frequency |
Mike Fiore |
6:e27eaad36a0c | 55 | AT+TXI Set Tx inverted Set Tx signal inverted, (default:off) |
Mike Fiore |
6:e27eaad36a0c | 56 | AT+TXW Tx Wait Enable/disable waiting for rx windows to expire after send. (0: off, 1: on) |
Mike Fiore |
6:e27eaad36a0c | 57 | AT+TXCH Tx Channels List Tx channel frequencies for sub-band |
Mike Fiore |
6:e27eaad36a0c | 58 | AT+RXDR Rx Data Rate Set the Rx data rate |
Mike Fiore |
6:e27eaad36a0c | 59 | AT+RXF Rx Frequency Set the Rx frequency for +RECV,+RECVC |
Mike Fiore |
6:e27eaad36a0c | 60 | AT+RXO Rx Output Set the Rx output type (0:hexadecimal, 1:raw) |
Mike Fiore |
6:e27eaad36a0c | 61 | AT+RXI Set Rx inverted Set Rx signal inverted, (default:on) |
Mike Fiore |
6:e27eaad36a0c | 62 | AT+FEC Error Correction Configure Forward Error Correction bytes (1 to 4) |
Mike Fiore |
6:e27eaad36a0c | 63 | AT+CRC CRC Checking Enable/disable CRC checking of received packets. (0: off, 1: on) |
Mike Fiore |
6:e27eaad36a0c | 64 | AT+ADR Adaptive Data Rate Enable/disable Adaptive Data Rate (0: off, 1: on) |
Mike Fiore |
6:e27eaad36a0c | 65 | |
Mike Fiore |
6:e27eaad36a0c | 66 | |
Mike Fiore |
6:e27eaad36a0c | 67 | Send/Receive |
Mike Fiore |
6:e27eaad36a0c | 68 | ------------ |
Mike Fiore |
6:e27eaad36a0c | 69 | |
Mike Fiore |
6:e27eaad36a0c | 70 | AT+ACK Require ACK Enable to require send acknowledgment (0: off, N: number of retries until ACK recevied) |
Mike Fiore |
6:e27eaad36a0c | 71 | AT+SEND Send Once Sends supplied packet data one time and return response, (max:240 bytes) |
Mike Fiore |
6:e27eaad36a0c | 72 | AT+SENDH Send Once High BW Sends supplied packet data one time and return response using High Bandwidth channel, (max:240 bytes) |
Mike Fiore |
6:e27eaad36a0c | 73 | AT+SENDB Send Binary Sends supplied binary (hex) packet data one time and return response |
Mike Fiore |
6:e27eaad36a0c | 74 | AT+SENDI Send Continuous Sends supplied packet data on interval between sends, output any received packets (escape sequence: +++) |
Mike Fiore |
6:e27eaad36a0c | 75 | AT+RECV Receive Once Display last received packet |
Mike Fiore |
6:e27eaad36a0c | 76 | AT+RECVC Receive Continuous Continuously receive and display packets, optional timeout in ms overrides configured Rx Timeout. (escape sequence: +++) |
Mike Fiore |
6:e27eaad36a0c | 77 | AT+TXN Tx Next Get time in ms until next free channel |
Mike Fiore |
6:e27eaad36a0c | 78 | AT+TOA Time on air Get time in ms of packet tx with current datarate |
Mike Fiore |
6:e27eaad36a0c | 79 | |
Mike Fiore |
6:e27eaad36a0c | 80 | |
Mike Fiore |
6:e27eaad36a0c | 81 | Sleep/Serial data mode options |
Mike Fiore |
6:e27eaad36a0c | 82 | ------------------------ |
Mike Fiore |
6:e27eaad36a0c | 83 | |
Mike Fiore |
6:e27eaad36a0c | 84 | AT+SD Serial Data Mode Reads serial data, sends Lora packets, then sleeps |
Mike Fiore |
6:e27eaad36a0c | 85 | AT+SLEEP Sleep Mode Put mDot into sleep mode, (0:stop,1:standby) |
Mike Fiore |
6:e27eaad36a0c | 86 | AT+WM Wake Mode Wakeup mode (0:INTERVAL,1:INTERRUPT) |
Mike Fiore |
6:e27eaad36a0c | 87 | AT+WI Wake Interval Wakeup interval (seconds) |
Mike Fiore |
6:e27eaad36a0c | 88 | AT+WP Wake Pin Wakeup DIO pin of sleep mode (default: DI8), deep-sleep uses DIO7 |
Mike Fiore |
6:e27eaad36a0c | 89 | AT+WD Wake Delay Time to wait for data after wakeup signal (milliseconds) |
Mike Fiore |
6:e27eaad36a0c | 90 | AT+WTO Wake Timeout Read serial data until timeout (milliseconds) |
Mike Fiore |
6:e27eaad36a0c | 91 | |
Mike Fiore |
6:e27eaad36a0c | 92 | |
Mike Fiore |
6:e27eaad36a0c | 93 | MultiTech Debug |
Mike Fiore |
6:e27eaad36a0c | 94 | --------------- |
Mike Fiore |
6:e27eaad36a0c | 95 | AT+SENDC Send Continuous Send un-modulated data continuously |
Mike Fiore |
6:e27eaad36a0c | 96 | AT+DREGS Dump Regs Dump the SX1272 register values |
Mike Fiore |
6:e27eaad36a0c | 97 | AT+ERASE Erase entire flash Erase all configurations saved in flash memory |
Mike Fiore |
6:e27eaad36a0c | 98 | AT&WP Write Protected Config Write protected config to flash (DeviceId and Frequency Band) |
Mike Fiore |
6:e27eaad36a0c | 99 | |
Mike Fiore |
6:e27eaad36a0c | 100 | |
Mike Fiore |
6:e27eaad36a0c | 101 | Possible Future commands |
Mike Fiore |
6:e27eaad36a0c | 102 | ------------------------ |
Mike Fiore |
6:e27eaad36a0c | 103 | AT+DIO0 Read/write DIO pins (conform to Xbee?) |
Mike Fiore |
6:e27eaad36a0c | 104 | AT+AD0 Read analog input pins |
Mike Fiore |
6:e27eaad36a0c | 105 | AT+SRS Serial receive size Read N bytes at a time for serial data mode |
Mike Fiore |
6:e27eaad36a0c | 106 | Peer to Peer mode |