Datasheet
OK
# Get the current mode for pin 14
AT+HWPGIOMODE=14
0
OK
AT+HWI2CSCAN
Scans the I2C bus to try to detect any connected I2C devices, and returns the address of devices that were found during the scan process.
Codebase Revision: 0.3.0
Parameters: None
Output: A comma-separated list of any I2C address that were found while scanning the valid address range on the I2C bus, or nothing is no
devices were found.
# I2C scan with two devices detected
AT+HWI2CSCAN
0x23,0x35
OK
# I2C scan with no devices detected
AT+HWI2CSCAN
OK
AT+HWVBAT
Returns the main power supply voltage level in millivolts
Codebase Revision: 0.3.0
Parameters: None
Output: The VBAT level in millivolts
AT+HWVBAT
3248
OK
AT+HWRANDOM
Generates a random 32-bit number using the HW random number generator on the nRF51822 (based on white noise).
Codebase Revision: 0.4.7
Parameters: None
Output: A random 32-bit hexadecimal value (ex. '0x12345678')
AT+HWRANDOM
0x769ED823
OK
AT+HWMODELED
Allows you to override the default behaviour of the MODE led (which indicates the operating mode by default).
Codebase Revision: 0.6.6
Parameters: LED operating mode, which can be one of the following values:
disable or DISABLE or 0 - Disable the MODE LED entirely to save power
mode or MODE or 1 - Default behaviour, indicates the current operating mode
hwuart or HWUART or 2 - Toggles the LED on any activity on the HW UART bus (TX or RX)
bleuart or BLEUART or 3 - Toggles the LED on any activity on the BLE UART Service (TX or RX characteristic)
spi or SPI or 4 - Toggles the LED on any SPI activity
manual or MANUAL or 5 - Manually sets the state of the MODE LED via a second comma-separated parameter, which can be on, off,
or toggle.
© Adafruit Industries
https://learn.adafruit.com/introducing-the-adafruit-bluefruit-le-uart-
friend
Page 68 of 115