This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

HID Keyboard demo apears as joystick on Android device, not acting as HID on IOS

Dear Nordic,

I have managed to modify the HID Keyboard demo (SDK10/nRF51 DK) to have both keyboard and consumer control functions. Works fine on Android, however it shows as Joystick instead of keyboard, why? Second problem is that I can pair it with iOS device, but it won't see it as an input device, the key pressed have no effect. I use the encryption for the hid init: BLE_GAP_CONN_SEC_MODE_SET_ENC_NO_MITM

I already searched the forum, without any usefull post. Any input is welcomed.

Best regards, Laszlo

later update: main.c attached: main.c

Parents
  • Yes, I call the sd_ble_gap_appearance_set(BLE_APPEARANCE_HID_KEYBOARD);

    I can't copy paste the report map here, I used the example from the SDK10, even with the origianal main.c the device was appearing as joystick. I modified to have the consumer control in, and it works on android, on iOS doesn't... Will have to check the IOS version too, maybe has some correlation.

Reply
  • Yes, I call the sd_ble_gap_appearance_set(BLE_APPEARANCE_HID_KEYBOARD);

    I can't copy paste the report map here, I used the example from the SDK10, even with the origianal main.c the device was appearing as joystick. I modified to have the consumer control in, and it works on android, on iOS doesn't... Will have to check the IOS version too, maybe has some correlation.

Children
No Data
Related