Page 166 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 •
Note(s):
▪
The three escape characters will not be passed through to the remote module.
▪
The escape character can be changed using the ATSSP command.
8.14.4.3
Data Mode (ATMD)
DATA MODE
Function:
Puts the module into Data Mode. In Data Mode all UART data is sent to the remote device
using the BRSP service for LE connections. Any data sent from the remote device will be sent out of the
module’s UART.
Command Format:
ATMD,<Conn_Handle>
Command Parameter(s):
▪
Conn_Handle:
Connection handle to enter data mode on. If only one connection is active the
connection handle does not have to be specified.
Example(s):
1. A connection is made to ECFE7E000001 using ATDMLE. ATMD is then used to put the module
into Data Mode. Once in Data Mode, the BRSP,0,1 event is fired, after this the message
“HELLO” is sent to the remote device.
COMMAND:
ATDMLE,ECFE7E000001:0,0
<cr>
RESPONSE:
<cr_lf>
OK
<cr_lf>
EVENT:
<cr_lf>
CONNECT,0,2,0,ECFE7E000001:0
<cr_lf>
COMMAND:
ATMD
<cr>
RESPONSE:
<cr_lf>
OK
<cr_lf>
EVENT:
<cr_lf>
BRSP,0,1,0,0
<cr_lf>
TXDATA:
HELLO
Note(s):
▪
The module must be connected to use this command.