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

HID over GATT Client or UART Service

So I'm just getting started with NRF51822 and BLE in general; I have built a simple prototype with the BLE Nano using Arduino+BLEPeripheral library. I have converted that to the NRF51 DevKit using the SDK and have a HID over GATT peripheral working great with PC's. However, my use case calls for bonding my peripheral with a PC and/or a custom device that I'd like to use another nrf51822 for (though not simultaneously.) A couple questions:

  1. Is it possible to store the bonding information for both simultaneously?

  2. What's the best way to go about implementing the custom device? From looking over the Bluetooth HOGP specs it seems to indicate I would need to implement a complete report parser, which seems a daunting task. Would it be better/easier to implement the UART service to provide communication with the custom device?

Parents
  • Hi Dashus,

    1. Yes, if you use device manager module, you can store several bond information and the module will detect the central and choose the correct bond information to be used.

    2. I think for your case if you don't plan to implement HID report parser on the central side on the custom device, you can simply use UART service. You would need to add UART service into the peripheral as well. You will have both HID service and UART service at the same time. There is no problem doing so.

Reply
  • Hi Dashus,

    1. Yes, if you use device manager module, you can store several bond information and the module will detect the central and choose the correct bond information to be used.

    2. I think for your case if you don't plan to implement HID report parser on the central side on the custom device, you can simply use UART service. You would need to add UART service into the peripheral as well. You will have both HID service and UART service at the same time. There is no problem doing so.

Children
Related