Table of Contents

.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

TypeEnum
Valueon/off
Rangeon/off
Order In Interpretation2
Default Valueoff

-cm

reconnection mode (only off and iap currently supported)

TypeEnum
Valueoff/rfc/iap
Rangeoff/rfc/iap
Order In Interpretation3
Default Valueoff

-ma

Set the Bluetooth® mac address to reconnect to

TypeOther
Valuexx:xx:xx:xx:xx:xx
Range
Order In Interpretation4
Default Value

-rb

Cold reboot (2128/2166/2173)

TypeYes
Valueyes
Rangeyes
Order In Interpretation5

-n

No action, just set the parameters

TypeSwitch
Value
Range
Order In Interpretation7

-p

List the parameters and their current values

TypeSwitch
Value
Range
Order In Interpretation6

-x

Reset the parameters to defaults

TypeSwitch
Value
Range
Order In Interpretation1

Parameter Interpretation Order

-x, -ar, -cm, -ma, -rb, -p, -n

Parameter Defaults

-ar off, -cm off, -ma

Response Headers

CS ER ME PR OK

Examples

CommandResponseAction
.slCS: .sl

OK:

Unit goes to sleep
.sl -x -pCS: .sl -x -p

PR: -ar off -cm off -ma -n -p -x

OK:

.sl defaults loaded

and reported.

Unit goes to sleep

.sl -n -pCS: .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 offCS: .sl -ar on -cm off

OK:

Unit goes to sleep

No reconnect on wakeup, but will remember next connection

.sl -ar off -cm offCS: .sl -ar off -cm off

OK:

Unit goes to sleep

No reconnect on wakeup, nor will it remember future connections