Page 167 of 195
AT.s LE Command Set v5.1.1b
Copyright © 2002-2021 BlueRadios, Inc.
200 S. Wilcox St., Unit 158 • Castle Rock, CO 80104 • USA • 303-957-1003 •
8.14.4.4
Remote Command Mode (ATMRC)
REMOTE COMMAND MODE
Function:
Attempts to put the module into Remote Command Mode. In Remote Command Mode all
UART data is sent to the remote device using the BRSP service for LE connections. On the remote
device the data is then interpreted as an AT command, executed on the remote device, and then
responded to over the air.
Command Format:
ATMRC,<Conn_Handle>
Command Parameter(s):
▪
Conn_Handle:
Connection handle to enter remote command mode on. If only one connection is
active the connection handle does not have to be specified.
Example(s):
▪
A connection is made to ECFE7E000001 using ATDMLE. ATMRC is then used to put the
module into Remote Command Mode. Once in Remote Command Mode, the BRSP,0,2 event is
fired, after this an ATA is sent and the address from the remote device is returned.
COMMAND:
ATDMLE,ECFE7E000001:0,0
<cr>
RESPONSE:
<cr_lf>
OK
<cr_lf>
EVENT:
<cr_lf>
CONNECT,0,2,0,ECFE7E000001:0
<cr_lf>
COMMAND:
ATMRC
<cr>
RESPONSE:
<cr_lf>
OK
<cr_lf>
EVENT:
<cr_lf>
BRSP,0,2,0,0
<cr_lf>
COMMAND:
ATA
<cr>
RESPONSE:
<cr_lf>
OK
<cr_lf>
<cr_lf>
ECFE7E000001:0
<cr_lf>
Note(s):
▪
The module must be connected to use this command.
▪
Remote command mode is enabled by default, allowing AT commands to be sent to the
device over the air. If you do not want remote command mode enabled, it can be disabled
using ATSBRSP.