mDot Serial Data Mode
- This topic has 1 reply, 2 voices, and was last updated 9 years, 2 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Tagged: mDot Serial Data Mode
I have the latest firmware on both the Gateway and mDot and its working perfectly except in serial mode. If I enter serial mode (at+sd) it waits a few seconds then reboots. Nothing gets sent over the air. The rest of these at commands just don’t exists ie: AT+SDWI, AT+SDTO, AT+SDWD. All return: Command not found!
Serial data mode options
Command Description Details
AT+SD Enter serial data mode Reads serial data and sends Lora packets
AT+SDWI Serial wake interval Serial data wakeup interval to generate wake signal
(milliseconds)
AT+SDTO Serial receive timeout Read serial data until timeout (milliseconds)
AT+SDWD Serial Wake Delay Time to wait for data after wakeup signal (milliseconds)
Lewis,
Checkout the latest Developer Guide on
http://www.multitech.com/models/94557148LF.
See “Sleep/Serial Data Mode Options” section as the sleep configuration of the commands have changed.
The Serial Data mode is designed to work in conjunction with sleep.
The use case is when you want the mDot to wake-up periodically, signal a host, read data from the serial port and send it over the radio. Future enhancements will allow serial mode to be entered and escaped from the command line without entering the sleep cycle.
You can also type “help” or “?” to list the commands available in the firmware. Type “help
The basic setup is as follows after configuring network settings:
0) See Wake mode help
> help AT+WM
AT+WM: Wakeup mode, INTERRUPT uses DIO7 as wake-up pin (0:INTERVAL,1:INTERRUPT)
1) Set to wake-up on interval (0:INTERVAL, 1:INTERRUPT)
> AT+WM=0
2) Set wake interval for 10 minutes
> AT+WI=600
3) Wait for serial data for 500 ms
> AT+WD=500
4) Timeout reading serial if no character for 20 ms
> AT+WTO=20
5) Enable auto-join mode to join on start and save session info in flash
> AT+NJM=2
6) Configure ACK’s or set LCC to send periodic link checks
> AT+ACK=4 (make 4 attempts to get response from server)
or
> AT+LCC=5 (request response every 5 packets)
7) Set number of missed responses to consider link dead and rejoin
> AT+LCT=10
5) Configure the mDot to start in Serial Data mode
> AT+SMODE=1
6) Save changes
> AT&W
Now if you issue AT+SD or ATZ the mDot will enter the wake-read-send-sleep cycle and monitor responses from the server to stay connected.