.sl . Sleep
This command puts the unit into sleep mode. This will disconnect any active Bluetooth® connections. If auto-reconnect (ar) is on, when woken-up, the unit will attempt to reconnect to the previously connected device or if connect mode (cm) is off, remember the next device.
Android | iOS | .NET |
---|---|---|
link coming soon | link coming soon | SleepCommand |
Parameters
Identifier | Values | Description |
---|---|---|
-ar | on/off | turn bluetooth auto reconnect, on wake up, on or off |
-cm | off/rfc/iap | reconnection mode (only off and iap currently supported) |
-ma | xx:xx:xx:xx:xx:xx | Set the Bluetooth® mac address to reconnect to |
-rb | yes | Cold reboot (2128/2166/2173) |
-n | No action, just set the parameters | |
-p | List the parameters and their current values | |
-x | Reset the parameters to defaults |
Parameter detail
-ar
turn bluetooth auto reconnect, on wake up, on or off
Type | Enum |
---|---|
Value | on/off |
Range | on/off |
Order In Interpretation | 2 |
Default Value | off |
-cm
reconnection mode (only off and iap currently supported)
Type | Enum |
---|---|
Value | off/rfc/iap |
Range | off/rfc/iap |
Order In Interpretation | 3 |
Default Value | off |
-ma
Set the Bluetooth® mac address to reconnect to
Type | Other |
---|---|
Value | xx:xx:xx:xx:xx:xx |
Range | |
Order In Interpretation | 4 |
Default Value |
-rb
Cold reboot (2128/2166/2173)
Type | Yes |
---|---|
Value | yes |
Range | yes |
Order In Interpretation | 5 |
-n
No action, just set the parameters
Type | Switch |
---|---|
Value | |
Range | |
Order In Interpretation | 7 |
-p
List the parameters and their current values
Type | Switch |
---|---|
Value | |
Range | |
Order In Interpretation | 6 |
-x
Reset the parameters to defaults
Type | Switch |
---|---|
Value | |
Range | |
Order In Interpretation | 1 |
Parameter Interpretation Order
-x, -ar, -cm, -ma, -rb, -p, -n
Parameter Defaults
-ar off, -cm off, -ma
Response Headers
Examples
Command | Response | Action | |||
.sl | CS: .sl
OK: | Unit goes to sleep | |||
.sl -x -p | CS: .sl -x -p
PR: -ar off -cm off -ma -n -p -x OK: | .sl defaults loaded
and reported. Unit goes to sleep | |||
.sl -n -p | CS: .sl -n -p
PR: -ar on -cm iap -ma 00:07:80:41:a4:c6 -n -p -x OK: | Current values are reported.
Unit stays awake | |||
.sl -ar on -cm off | CS: .sl -ar on -cm off
OK: | Unit goes to sleep
No reconnect on wakeup, but will remember next connection | |||
.sl -ar off -cm off | CS: .sl -ar off -cm off
OK: | Unit goes to sleep
No reconnect on wakeup, nor will it remember future connections |