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

nRF51822 s120 ble_central sample with hids

Hello.

I'm using nRF51822, nRF51_SDK_8.1.0, and looking for same useful sample code for ble central with HoGP (HID over GATT Profile).

please let me know where is it.

Parents Reply Children
  • Dear Hung Bui san,

    I clearly understood your answer but may I ask you something? May I know if there is any documents or something else to help and guide us how to make the code when we have to creat it by ourselves?

  • Hi Kasai san,

    I'm sorry for late response. I would say that the ble_app_hids_keyboard, and ble_app_hids_mouse for the peripheral side would be a good source or referral. You basically have to study how we construct the HID report on the peripheral side. From that you can reversely parse the report and get the data on the central side.

    However, if you are looking for the detailed information about HID report, I would suggest you to have a look at the definition of the HID report on USB.org website here. And the HID over Gatt specification here.

    May I ask which applications are you planing to create ?

  • Dear Hung Bui san,

    Good morning. Thank you very much for your comment and sorry for my late reply. I understand that we should study the definition of the HID report on USB.org website and the HID over Gatt specifications to know what format to be constructed. However, the problem currently facing to is we can not buid up the connection between central and peripheral. By the way, application is a portable peripheral device and USB dongle to communicate each other by BLE.

  • Hi Kasai-san,

    Could you let me know more on the peripheral and USB dongle you are using ? And what kind of application you are planing to make ?

    If you are planing to connect a nRF51 board that act as HoGP peripheral to a PC, then I don't think building a HoGP central on the dongle would be good idea. You can simply use any third party BLE dongle or the PC internal BLE to connect to the peripheral. From Windows 8.0, HoGP is supported natively on the PC same with OSX (from Mavericks)

    If you want to support Windows 7, there will be more challenge, but you can think of using our solution to combine gazell and BLE in one peripheral to support both BLE and gazell (proprietary) as we do in our Desktop 2 here.

Related