
Chapter 2 – AT Commands
Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360H) 30
SW29 Write PIN Lock Mode
The command configures the PIN lock setting.
Format: ATSW29,<PIN>,<Lock Mode>
Parameters:
• PIN: 16 alphanumeric characters MAX (Caps Sensitive, includes spaces)
• Lock Setting:
0 = In Normal operation ATOP is disabled
1 = Allow ATOP through UART only
2 = Allow ATOP through UART and over RF Link
Factory Default: 0
EXAMPLE:
TYPE: ATSW29,default,1<cr>
REPLY: <cr_lf>OK<cr_lf>
OR
<cr_lf>ERROR<cr_lf>
Read Using: ATSI,15
Note: This command enables ATOP, described in the Security PIN Settings section.
SW30 Write Deep Sleep Mode
This command configures the deep sleep mode.
Format: ATSW30,<Deep Sleep Mode>
Parameters:
• Deep Sleep Mode:
0 = Normal Operation never go into deep sleep
1 = Go into deep sleep whenever possible (While idle, page scan or sniff mode)
Factory Default: 0
EXAMPLE:
TYPE: ATSW30,1<cr>
REPLY: <cr_lf>OK<cr_lf>
OR
<cr_lf>ERROR<cr_lf>
Read Using: ATSI,16
Notes:
• When the radio is in deep sleep you can not discover or connect to it.
• The UART RX line needs to be pulled high if not active before power is applied to the
radio module.
• If there is an active UART RF link the device will need Sniff Mode enabled to allow it to
drop into sleep mode when there is no traffic.
• When in deep sleep, the UART will miss the first character while waking up. Send a
preamble byte to allow it to wake up and immediately thereafter send the AT Command
or data in less than 1 second or the device will go back to deep sleep again. If you are
using PIO(3) CPU interrupt a preamble byte is not needed.
• No bytes are lost if sending commands down over the remote RF link side.
• This setting is stored in flash and does not require a reset to take affect. Takes approx. 1
second before the current will drop down to 25-50uA. Allow 5msec. for the CPU unit to
come out of deep sleep.
• ATSW21,4096,18,4096,18 settings along with enabling Deep Sleep Mode will result in an
unconnected slave current draw of ≈ 350uA average.
Comentarios a estos manuales