Datasheet
BLE Services
The following commands allow you to interact with various GATT services present on Bluefruit LE modules when
running in Command Mode.
AT+BLEUARTTX
This command will transmit the specified text message out via the UART Service (https://adafru.it/iCn) while you are
running in Command Mode.
Codebase Revision: 0.3.0
Parameters: The message payload to transmit. The payload can be up to 240 characters (since AT command strings
are limited to a maximum of 256 bytes total).
Output: This command will produce an ERROR message if you are not connected to a central device, or if the internal
TX FIFO on the Bluefruit LE module is full.
As of firmware release 0.6.2 and higher, AT+BLEUARTTX can accept a limited set of escape code sequences:
\r = carriage return
\n = new line
\t = tab
\b = backspace
\\ = backward slash
As of firmware release 0.6.7 and higher, AT+BLEUARTTX can accept the following escape code sequence since
AT+BLEUARTTX=? has a specific meaning to the AT parser:
\? = transmits a single question mark
As of firmware release 0.7.6 and higher, AT+BLEUARTTX can accept the following escape code sequence:
\+ = transmit a single '+' character without having to worry about `+++` mode switch combinations
# Send a string when connected to another device
AT+BLEUARTTX=THIS IS A TEST
OK
# Send a string when not connected
AT+BLEUARTTX=THIS IS A TEST
ERROR
ESCAPE SEQUENCE NOTE: If you are trying to send escape sequences in code via something like
'ble.print("...");' please note that you will need to send a double back-slash for the escape code to arrive as-
intended in the AT command. For example: ble.println("AT+BLEUARTTX=Some Test\\r\\n");
You must be connected to another device for this command to execute
© Adafruit Industries https://learn.adafruit.com/adafruit-feather-32u4-bluefruit-le Page 112 of 211










