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

HID, report_map_data[] what is it needed for?

Hi!

I use HID example and try to understand in a hid service init for why report_map_data[] with a table.

What is do this array? If I use keyboard example, I should get event in the on_hids_evt(). But this array for what?

Parents Reply
  • It depends on what you are trying to do. If you want it to be a keyboard, you should just leave it as it is. 

    Not sure what you mean by "this ble HID", do you mean the HID Keyboard example from the SDK? If so, yes the example that implements the HID over GATT profile for keyboard. Yes it should send some keys out, have a look at how you can test the example here.

    What you mean by receive data? What kind of data?

Children
Related