Datasheet
OK
# Hold the backward mouse button for 200 milliseconds (OS dependent)
AT+BLEHIDMOUSEBUTTON=B,hold,200
OK
AT+BLEHIDCONTROLKEY
Sends HID media control commands for the bonded device (adjust volume, screen brightness, song selection, etc.).
Codebase Revision: 0.6.6
Parameters: The HID control key to send, followed by an optional delay in ms to hold the button
The control key string can be one of the following values:
System Controls (works on most systems)
BRIGHTNESS+
BRIGHTNESS-
Media Controls (works on most systems)
PLAYPAUSE
MEDIANEXT
MEDIAPREVIOUS
MEDIASTOP
Sound Controls (works on most systems)
VOLUME
MUTE
BASS
TREBLE
BASS_BOOST
VOLUME+
VOLUME-
BASS+
BASS-
TREBLE+
TREBLE-
Application Launchers (Windows 10 only so far)
EMAILREADER
CALCULATOR
FILEBROWSER
Browser/File Explorer Controls (Firefox on Windows/Android only)
SEARCH
HOME
BACK
FORWARD
STOP
REFRESH
BOOKMARKS
You can also send a raw 16-bit hexadecimal value in the '0xABCD' format. A full list of 16-bit 'HID Consumer Control Key Codes' can be found
here (http://adafru.it/cQV)(see section 12).
Output: Normally none.
If you are not bonded and connected to a central device, this command will return ERROR. Make sure you are connected and HID support is
enabled before running these commands.
# Toggle the sound on the bonded central device
AT+BLEHIDCONTROLKEY=MUTE
OK
# Hold the VOLUME+ key for 500ms
AT+BLEHIDCONTROLKEY=VOLUME+,500
OK
# Send a raw 16-bit Consumer Key Code (0x006F = Brightness+)
AT+BLEHIDCONTROLKEY=0x006F
OK
AT+BLEHIDGAMEPADEN
© Adafruit Industries
https://learn.adafruit.com/introducing-the-adafruit-bluefruit-le-uart-
friend
Page 81 of 115