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

Make the Pi verify the project name matches #292

Open
Phlosioneer opened this issue Mar 2, 2018 · 0 comments
Open

Make the Pi verify the project name matches #292

Phlosioneer opened this issue Mar 2, 2018 · 0 comments
Assignees

Comments

@Phlosioneer
Copy link
Collaborator

Add code that checks the arduino's project name against the project that owns the arduino's hardware ID. If there's a mismatch, two projects have swapped arduinos, and a new device entry should be made in the DB. The old device entry will have its hardwareId set to NULL.

TODO: There should be some way to merge current devices and old, NULLed devices. This would be useful when a researcher swaps one arduino board for another; currently, they count as totally separate devices.

@Phlosioneer Phlosioneer self-assigned this Mar 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant