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

HID Keyboard not shown on IOS8

Hi

Currently I have a device with the following details: Ic Version - 2, Variant - CE AA , Build Code - D0, Hardware Id - 004d I am using the softdevice s110_nrf51822_7.0.0_softdevice.hex , nRF SDK 6.1.

I am trying to test

HID keyboard App

I am able to connect to the Ipad but I am not seeing any HID keyboard when I open a note pad.

Can you please help me how to select HID keyboard and receive key events on IOS8.

Kind Regards, Ven

  • Wait. What happens if you use the original HID Keyboard example? Does the notepad shows "hello" as expected?

    The reason why I'm asking this is to see if your's code of UART is okay.

    If you sent "hello" while using the original HID keyboard example,

    then we should consider that the UART code of yours need correction.

    /**********/

    One more thing.

    The original question was to pop up the hidden keyboard after connection.

    Did you solved this by adding the consumer report?

  • Sorry for delayed response.Since I was waiting for the push button device to test the original HID. Here is my observation.

    1. The original HID keyboard, did not work and I am getting 0x00003401 error (verified using debug), Then I tried to test with MasterControlPanel to see if I get the same issue. I was not able to connect to the device in the control panel even though it discovers the device.

    2. So I decided to test HID with consumer report using MasterControlPanel. I am able to receive "hello" in MasterControlPanel. So I paired the device in the ipad and tried see if I receive any key. When I try sent h(any letter) ,no key is received and the Noric_keybozrd device is getting disconnected in my ipad. /**/ 3)Regarding Pop up the hidden keyboard after connection problem did not solve.Can you please send me the screenshot how the keyboard looks.Is it the same keyboard used in notepad or do we get any option to select ble keyboard. I have not seen any ble keyboard.

    3. Regarding testing with other devices, I have not tested with any other android or iOS device and I am need get them and test.

    4. Thank for the UART Table. I will try to add the conversion.

  • That error number (0x3401) is returned when System Attributes are missing.

    It is defined at ble_gatts.h.

    #define BLE_ERROR_GATTS_SYS_ATTR_MISSING   (NRF_GATTS_ERR_BASE + 0x001)
    

    While debugging, can you tell which function (it will be a svcall) is returning this?

    +++++++++

    Also, did you changed your SDK to 7.2 or are you using 6.1?

    I received a report from the dev team that SDK 6.1 has a bug on device manager.

    So, if you cannot eventually find the cause, try it with the SDK 7.2's example.

    Can you also tell me the result after applying the HID Keyboard from SDK 7.2?

    I hope you a good luck.

  • Thank you for the detailed info. The following is the method that is returning the error.

    err_code = ble_hids_inp_rep_send(p_hids, INPUT_REPORT_KEYS_INDEX, INPUT_REPORT_KEYS_MAX_LEN, data);
    

    Looks like someone got similar error here BLE_ERROR_GATTS_SYS_ATTR_MISSING error

    I am still using SDK 6.1. Unfortunately I cannot use SDK 7.2 as my board variant is CEAA(i.e IC version 2). The latest SDK I can use with IC 2 chip as for the compatibility matrix is SDK 6.1. I will try to test with SDK 5.2 and see what happens.

  • I see you considered the compatibility matrix. I'm aware but I have once used the Rev.2 chip (QFAA).

    While using, I accidentally used the SDK 7.2 + S110 7.1 on that.

    Well, it did worked. It didn't showed big issue with me.

    So, I guess that you are using that board for some test.

    How about giving a try? :D

    If you are trying to verify your project with that board and make your own custom product later on,

    I think it is not a bad idea to use the SDK 7.2 with S110 7.1 for now.

Related