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

[Feat] Socket communication between plotter and server #5

Open
angel-penchev opened this issue Mar 17, 2022 · 0 comments
Open

[Feat] Socket communication between plotter and server #5

angel-penchev opened this issue Mar 17, 2022 · 0 comments
Assignees
Labels
api Tasks regarding the API feature New feature request

Comments

@angel-penchev
Copy link
Member

Describe the feature you'd like
Using Socket.io implement a mechanism which tracks which plotter devices are connecting/disconnecting from the server.

On device connect:

  • Generates a random 6-digit connection code and check if the code is not already taken by another device
  • Store the Socket.io session id with the 6-digit connection code in the plotters database table

On device disconnect:

  • Remove the session id - connection code pair from the plotters database table

Additional context

@angel-penchev angel-penchev added feature New feature request api Tasks regarding the API labels Mar 17, 2022
@angel-penchev angel-penchev added this to the FMI{Codes} 2022 - MVP milestone Mar 17, 2022
@angel-penchev angel-penchev moved this to 📌 Todo in Intero ✨ Mar 17, 2022
@simo1209 simo1209 self-assigned this Mar 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Tasks regarding the API feature New feature request
Projects
Status: 📌 Todo
Development

No branches or pull requests

2 participants