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 (http://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
You must be connected to another device for this command to execute
# 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
TX FIFO Buffer Handling
Starting with firmware version 0.6.7, when the TX FIFO buffer is full a 200ms blocking delay will be used to see if any free space becomes
available in the FIFO before returning ERROR. The exact process is detailed in the flow chart below:
© Adafruit Industries
https://learn.adafruit.com/introducing-the-adafruit-bluefruit-le-uart-
friend
Page 76 of 115