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

Several devices with same device role

I would like to connect more than 8 devices to a single host. Therefore I would have to set the same role to multiple devices.

What are the implications of using the same device role regarding packet loss?

I assume that my system supports a reasonable amount of packet loss.

Parents
  • I'm assuming the role number is the pipe number, and you add this virtual address in the payload so that the host can distinguish between different devices using the same pipe.

    In general there is no problem for devices to share a a pipe, but it depends on how much data you plan to send, and how much packet loss your application can live with. So if each device sends some data once in a while, you should be fine.

    If the devices are sending data regurarly, you could try to use frequency hopping, so that the devices don't disturbe eachother.

    If you have two devices sharing a pipe you could for example give the host two channels, and one channel to each of the two devices, or give the host four channels, and two channels to each of the two devices. Then the devices can synchronize to the channels in the host.

Reply
  • I'm assuming the role number is the pipe number, and you add this virtual address in the payload so that the host can distinguish between different devices using the same pipe.

    In general there is no problem for devices to share a a pipe, but it depends on how much data you plan to send, and how much packet loss your application can live with. So if each device sends some data once in a while, you should be fine.

    If the devices are sending data regurarly, you could try to use frequency hopping, so that the devices don't disturbe eachother.

    If you have two devices sharing a pipe you could for example give the host two channels, and one channel to each of the two devices, or give the host four channels, and two channels to each of the two devices. Then the devices can synchronize to the channels in the host.

Children
No Data
Related