Datasheet
History
This page tracks additions or changes to the AT command set based on the firmware version number (which you can obtain via the 'ATI'
command):
Version 0.7.7
The following AT commands and features were added in the 0.7.7 release:
Added AT+BLEUARTTXF (F for force) to immediately send the specified data out in an BLE UART packet (max 20 bytes), bypassing any
FIFO delays and avoiding packets potentially being transmitted in two transactions.
Adjusted BLE UART service to use min connection interval as the tx interval
Added AT+DFUIRQ to enable using the DFU Pin for IRQ purposes when there is a supported event on the nRF51822
Enabled the internal pullup resistor on the CS pin for Bluefruit SPI boards
Added AT+MODESWITCHEN to enable/disable +++ mode switching from the local (serial or SPI) or BLE UART side. By default local =
enabled, ble = disabled, meaning commands can only be executed via the local interface by default.
Implemented a '\+' escape code to immediately send '+' chars without trigger the +++ delay waiting for further similar input
Added AT+BLEHIDGAMEPADEN to separately enable HID Gamepad, since iOS/OSX has a conflict with gamepad devices causing HID
keyboard to not working properly.
The following bugs were fixed in release 0.7.7:
Fixed a factory reset issue when a long delay occurs in app_error_handler()
Fixed an issue where strings were being truncated at 64 chars in UART
Fixed HID keyboard support not working with iOS 9 & 10
Version 0.7.0
The following AT commands were added in the 0.7.0 release:
AT+BAUDRATE
Change the HW UART baudrate
AT+UARTFLOW
Enable or disable HW UART flow control
AT+BLEMIDIEN=on/off/0/1
Enable/disable MIDI service, requires a reset to take affect
AT+BLEMIDITX
Send a MIDI event
AT+BLEMIDIRX
Receive an available MIDI event
AT+GATTCHARRAW
Added this read only command to read binary (instead of ASCII) data from a characteristic. It is non-printable but less overhead and easier
for writing library in Arduino
AT+NVMWRITE=offset,datatype,data
Writes data to 256 byte user NVM. Datatype must be STRING (1), BYTEARRAY (2), or INTEGER (3)
AT+NVMREAD=offset,size,datatype
Reads data back from 256 bytes user NVM
AT+NVMREADRAW=offset,size binary data
Binary data (instead of ASCII) is returned, ending with "OK\r\n". It is non-printable but less overhead and easier to use in some situations.
AT+BLEHIDGAMEPAD=x,y,buttons
X is LEFT, RIGHT: X=-1 LEFT is pressed, X=1 RIGHT is pressed, X=0 no pressed
Y is UP, DOWN: Y=-1 i UP, Y=1 is DOWN, Y=0 no pressed
Button [0x00-0xFF] is a bit mask for 8 button 0-7
AT+GAPCONNECTABLE=on/off/1/0
Allow/disallow connection to the device
AT+EDDYSTONESERVICEEN
Add/remove EddyStone service to GATT table (requires reset)
AT+EDDYSTONEBROADCAST=on/off/0/1
Start/stop broadcasting url using settings from NVM
AT+BLEBATTEN=on/off/1/0
Enable battery service. Reset required due to the service change.
AT+BLEBATTVAL=percent
Updates the Battery level, percent is 0 to 100
© Adafruit Industries
https://learn.adafruit.com/introducing-the-adafruit-bluefruit-le-uart-
friend
Page 96 of 115