Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[xToys]: Create a Message Queue for OSSM actions #111

Open
AJ-Koenig opened this issue Aug 14, 2024 · 0 comments
Open

[xToys]: Create a Message Queue for OSSM actions #111

AJ-Koenig opened this issue Aug 14, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@AJ-Koenig
Copy link
Collaborator

To deliver on our xToys integration we must be able to handle a stream of messages intelligently on the device.

In conversations with the xToys team, we've decided on building a message queue with prioritization, so that even if xToys is spamming OSSM with many commands, the OSSM can intelligently enqueue and ignore these based on the current state, and the priority.

Here are some examples of the sorts of messages we'd like to be able to process:

  • P0 - Emergency Stop.
  • P1 - Increase or Decrease Speed / Depth / Sensation
  • P1 - Start Playing a pattern
  • P1 - Pause a pattern
  • P2 - [Positional Streaming] Move to a new location and hold
  • P2 - [Pattern Building] Append or Subtract an oscillation point (ex. The device may have N oscillation points set up, this will an N+1 point to the list)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Ready
Development

No branches or pull requests

1 participant