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

HID Keyboard Example Not Recognized by iPad

I programmed a PCA10001 with the HID Keyboard example and changed the preprocessor code from NRF6310 to PCA10001. The functions were tested according to the online HID Keyboard Application notes and everything worked as expected. (Note: The Application notes used were flagged as "old documentation" but it still worked.)

I then tried to connect the HID to an iPad. After enabling BT in Settings on the iPad the HID was not recognized. I thought the problem might be that the Company ID needed to be changed from Nodic's (x59) to Apple's (4C) but answers from a previous post say that the HID does not use Company ID so this should not be a problem. I installed the LightBlue app on the iPad and it does find the HID. Why can I not link to the iPad directly?

Parents
  • I changed #define IS_SRVC_CHANGED_CHARACT_PRESENT 1 (was 0) in main.c but it still will not connect to the iPad (in Settings) unless the NRF MCP app is run and connected first.

    Also, when restarting the program in Debug, must connect through NRF MCP (does not automatically reconnect).

    After connecting the "hello" characters are not received by the iPad. This worked several days ago. The only changes from the original HID Keyboard example code for this test are: (1) changed board in preprocessor to PCA10001 and (2) changed IS_SRVC_CHANGED_CHARACT_PRESENT to 1.

    Runs through ble_hids_inp_rep_send() in ble_hids.c with good err_code (not DATA_SIZE, INVALID_STATE, or INVALID_PARAM errors).

Reply
  • I changed #define IS_SRVC_CHANGED_CHARACT_PRESENT 1 (was 0) in main.c but it still will not connect to the iPad (in Settings) unless the NRF MCP app is run and connected first.

    Also, when restarting the program in Debug, must connect through NRF MCP (does not automatically reconnect).

    After connecting the "hello" characters are not received by the iPad. This worked several days ago. The only changes from the original HID Keyboard example code for this test are: (1) changed board in preprocessor to PCA10001 and (2) changed IS_SRVC_CHANGED_CHARACT_PRESENT to 1.

    Runs through ble_hids_inp_rep_send() in ble_hids.c with good err_code (not DATA_SIZE, INVALID_STATE, or INVALID_PARAM errors).

Children
No Data
Related