EasyManua.ls Logo

Swarm M138 - $SL - Sleep Mode

Swarm M138
77 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
$SL - Sleep mode
This command puts the device into a low-power sleep mode.
$SL [S=<seconds>|U=<[YYYY-MM-DD ]hh:mm:ss>]*xx
Parameter
Description
S=<seconds>
Sleep for this many seconds
U=<[YYYY-MM-DD ]hh:mm:ss>
Sleep until date (optional) and time
Returns one of:
Value
Description
$SL OK*xx
Sleep period accepted, device is now
non-responsive
$SL WAKE,<cause>*xx
Device has woken from selected sleep mode
$SL ERR,TIMENOTSET*xx
Time not yet set from GPS
$SL ERR,BADPARAM*xx
Invalid number of seconds or date/time value
$SL ERR,NOCOMMAND*xx
No S or U parameter is present
$SL ERR,NOTIME*xx
Attempt to sleep before time is set
The S parameter is the number of seconds to sleep. This value may range from 5 to 31536000
(approximately 1 year) seconds. A value not within this range will return $SL ERR,BADPARAM. If
the command is accepted, the device will emit $SL OK and enter sleep mode for the requested
duration.
The U parameter is a time and optional date the device should sleep until and then wake. If the
date is not specified and the time to sleep until is less than the current time, the time is
presumed to be the next day. For example, if the current time is 11:00:00 and $SL
U=09:00:00 is issued, the device will wake 22 hours from now. If a date and time are specified,
and that date/time is before the current date/time, $SL WAKE will be immediately issued.
November 2021 Swarm M138 Modem Manual - Rev 1.00 67/77