Skip to content

Simultaneous multi peripheral support #3

@MorGuux

Description

@MorGuux

Requires some bandwidth testing on:

  • Serial communication for relaying led/screen data (should be more than adequate)
  • Wireless data transmission capacity

Speeds highly depend on the type of devices used. For example, a dozen button boxes require very little transmission bandwidth, as data is only sent on button presses. A few screens and LEDs would use much more bandwidth, so this needs some testing.

Full duplex isn't possible without two nrf modules per device. Thus there are two ways of enabling half duplex support:

  • Switch module from RX to TX, send message, then switch back (can be slow and miss messages during inactivity)
  • Use ack payloads to achieve call response, so no switching of module

The second method seems to be the most suited way currently, as if a screen/LEDs is used, and s button is pressed, a response can be returned within 1/60th of a second (since the data is 60hz).

There may be issues when multiple peripherals are used, with noticeable lag / delay, but this will have to be tested. For now, button boxes should function fine, screen/led units should function fine, but mixing both input and output into one device might cause slowdown.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions