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

Which HID device type to use?

We are upgrading an existing product to use Bluetooth instead of the parallel port.

It must support >20kbit/sec communications between the device and the host PC.

We are considering the nRF52832 because of it's local processing power.

I currently have the PCA10040 developer kit board.

Question: what service do you recommend? I looked at the HID keyboard example and it is running fine after building it in eclipse. However, having multiple keyboards on a customer computer might cause problems. Assuming a HID device profile is the best way to connect, which profile would you recommend?

Thank you for your time!

Parents
  • Hi

    This sounds like an application that is better suited to a custom BLE profile (similar to the ble_app_uart example), giving you more control over the data format, and less overhead compared to packing data in HID reports.

    Android shouldn't have an issue receiving 200 packet per second, but the GUI might not be able to keep up. Usually you can receive and process much more data than you can display directly.

    Windows and BLE support is a bit of a sad chapter. Until Windows 8.1 there were no standardized BLE API's, and you needed a driver from the dongle manufacturer. With 8.1 a standard API was provided, but the only person in Nordic who might have used it is currently on vacation.

    Do you require a continuous data stream to use the CNC machine?
    The speed of the wireless link will be highly phone and environment dependent, so you should try to make the application adapt to the available bandwidth.

    Best regards

Reply
  • Hi

    This sounds like an application that is better suited to a custom BLE profile (similar to the ble_app_uart example), giving you more control over the data format, and less overhead compared to packing data in HID reports.

    Android shouldn't have an issue receiving 200 packet per second, but the GUI might not be able to keep up. Usually you can receive and process much more data than you can display directly.

    Windows and BLE support is a bit of a sad chapter. Until Windows 8.1 there were no standardized BLE API's, and you needed a driver from the dongle manufacturer. With 8.1 a standard API was provided, but the only person in Nordic who might have used it is currently on vacation.

    Do you require a continuous data stream to use the CNC machine?
    The speed of the wireless link will be highly phone and environment dependent, so you should try to make the application adapt to the available bandwidth.

    Best regards

Children
No Data
Related