Datasheet
AT Commands
The Bluefruit LE modules use a Hayes AT-style command set to configure the device.
The advantage of an AT style command set is that it's easy to use in machine to machine
communication, while still being somewhat user friendly for humans.
Test Command Mode '=?'
'Test' mode is used to check whether or not the specified command exists on the system or
not.
Certain firmware versions or configurations may or may not include a specific command, and
you can determine if the command is present by taking the command name and
appending '=?' to it, as shown below
If the command is present, the device will reply with 'OK'. If the command is not present, the
device will reply with 'ERROR'.
Write Command Mode '=xxx'
'Write' mode is used to assign specific value(s) to the command, such as changing the radio's
transmit power level using the command we used above.
To write a value to the command, simple append an '=' sign to the command followed by
any paramater(s) you wish to write (other than a lone '?' character which will be interpretted
as tet mode):
If the write was successful, you will generally get an 'OK' response on a new line, as shown
below:
AT+BLESTARTADV=?
AT+BLESTARTADV=?
OK\r\n
AT+MISSINGCMD=?
ERROR\r\n
AT+BLEPOWERLEVEL=-8
© Adafruit Industries https://learn.adafruit.com/adafruit-feather-m0-bluefruit-le Page 114 of 238










