Datasheet
indicate the keys were released!
Modifier Values
The modifier byte can have one or more of the following bits set:
Bit 0 (0x01): Left Control
Bit 1 (0x02): Left Shift
Bit 2 (0x04): Left Alt
Bit 3 (0x08): Left Window
Bit 4 (0x10): Right Control
Bit 5 (0x20): Right Shift
Bit 6 (0x40): Right Alt
Bit 7 (0x80): Right Window
Codebase Revision: 0.5.0
Parameters: A set of hexadecimal values separated by a hyphen ('-'). Note that these are
HID scan code values, not standard ASCII values!
Output: None
A list of HID keyboard codes can be found here (see section 7).
AT+BLEHIDEN
This command will enable GATT over HID (GoH) support, which allows you to emulate a
HID key code values don't correspond to ASCII key codes! For example, 'a' has an
HID keycode value of '04', and there is no keycode for an upper case 'A' since you
use the modifier to set upper case values. For details, google 'usb hid keyboard
scan codes', and see the example below.
# send 'abc' with shift key --> 'ABC'
AT+BLEKEYBOARDCODE=02-00-04-05-06-00-00
OK
# Indicate that the keys were released (mandatory!)
AT+BLEKEYBOARDCODE=00-00
OK
© Adafruit Industries https://learn.adafruit.com/adafruit-feather-m0-bluefruit-le Page 152 of 238










