|
|
@ -533,8 +533,7 @@ bool adafruit_ble_enable_keyboard(void) {
|
|
|
|
// Disable command echo
|
|
|
|
// Disable command echo
|
|
|
|
static const char kEcho[] PROGMEM = "ATE=0";
|
|
|
|
static const char kEcho[] PROGMEM = "ATE=0";
|
|
|
|
// Make the advertised name match the keyboard
|
|
|
|
// Make the advertised name match the keyboard
|
|
|
|
static const char kGapDevName[] PROGMEM =
|
|
|
|
static const char kGapDevName[] PROGMEM = "AT+GAPDEVNAME=" STR(PRODUCT);
|
|
|
|
"AT+GAPDEVNAME=" STR(PRODUCT) " " STR(DESCRIPTION);
|
|
|
|
|
|
|
|
// Turn on keyboard support
|
|
|
|
// Turn on keyboard support
|
|
|
|
static const char kHidEnOn[] PROGMEM = "AT+BLEHIDEN=1";
|
|
|
|
static const char kHidEnOn[] PROGMEM = "AT+BLEHIDEN=1";
|
|
|
|
|
|
|
|
|
|
|
|