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

What is the best setup for nRF52840 for my use case?

Hello, 

I would like to ask for guidance, as I am at the very start of a human interface device (HID) controller development, considering BLE nRF52840.

The use case I would like to cover is:

  • A device (via HID profile ideally) that would be controlling actions on macOS or Windows
  • A custom app on macOS or Windows will update the LED of the HID device and as well could update LEDs on some remote devices in the surroundings, but with different values, under different events than updating HID device.

Below are 2 example images of how I think about it.

  • What would be the recommended approach, and how to configure it? Would it use GATT and MESH, or some combinations?  What would be a Client and what would be a Server?
  • Would it be all in Mesh network? or HID device would be a proxy to Remote devices?
  • Can be MacOs/Win part of the mesh, even if it is not using Nordicsemi HW like the other nodes?

The experience I would like to achieve is, that users will see and connect only 1 HID device (like a mouse, or keyboard) and the other remote devices will be connected and updated automatically in the background.

Many thanks,

Parents
  • Hi

    Do you have any idea how many remote devices you would be looking to have in this network? You might not need a mesh network if the amount of remote devices is limited.

    For convenience sake I personally would go for example 2 here I think. As example 1 would need the HID device to take care of all communication from the remote devices, which might make the HID experience falter if it's a lot of data to process simultaneously as acting as a HID device, while the computer should be able to handle multiple peripherals. This would have the computer be the client and the HID device and all remote devices be servers.

    Please check out the HID examples in our SDK, and something like the BLE Blinky or heart rate application for an example of how the remote devices could be used.

    Best regards,

    Simon

  • Hey Simon Wave tone1 

    Thank you so much for your guidance and examples!

    To answer your question, the number of remote devices will be limited, typical 1-3, updated 30-60min, so there won't be too much frequent communication happening.

    I like example 2 as well, as it will be more flexible for configuration and future updates — no need to update HW, just the app on Mac or Win. Btw. good point on the HID overload, I did not think about it that way, that it could be a bottleneck.

    Have a great day,

    Cheers,
    Tom

Reply
  • Hey Simon Wave tone1 

    Thank you so much for your guidance and examples!

    To answer your question, the number of remote devices will be limited, typical 1-3, updated 30-60min, so there won't be too much frequent communication happening.

    I like example 2 as well, as it will be more flexible for configuration and future updates — no need to update HW, just the app on Mac or Win. Btw. good point on the HID overload, I did not think about it that way, that it could be a bottleneck.

    Have a great day,

    Cheers,
    Tom

Children
No Data
Related