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

Password machinery #65

Open
juangallostra opened this issue Feb 26, 2019 · 1 comment
Open

Password machinery #65

juangallostra opened this issue Feb 26, 2019 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@juangallostra
Copy link
Member

juangallostra commented Feb 26, 2019

Feature / Bug description

  1. Allow the user to set a password for the Mosquito that has been connected via USB. This is to prevent other users with access to the Mosquito WiFi from executing the missions loaded in a specific Mosquito. The MSP message ID used to do so is 213 and the password will consist in 4 characters, which will be the payload of the message (4 bytes).

  2. Allow the user to validate a password. Once the password has been set several actions will require the user to enter the password of the Mosquito. Once this password has been entered the firmware should validate it. To trigger this action, an MSP message with ID 214 and a payload of 4 bytes - containing the entered password - will be used.

  3. Enable retrieving the result of the password validation. A third MSP message (ID 117) will be used to retrieve the result of the validation performed in 2. This MSP message will have a payload of 1 byte. A value of 0 will indicate that validation failed and a value of 1 that the validation was successful.

Expected behavior

  1. A password can be set for each Mosquito.
  2. Password validation can be performed.
  3. The result of a password validation request can be retrieved.

Related bonadrone platform issue

https://bitbucket.org/bonadrone_project/platform/issues/6/release-2-set-drone-password

@juangallostra juangallostra added the enhancement New feature or request label Feb 26, 2019
@juangallostra juangallostra self-assigned this Feb 26, 2019
@juangallostra
Copy link
Member Author

Maybe we should implement the following logic: in order to execute any command received through WiFi the password must have been validated first.

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
None yet
Development

No branches or pull requests

1 participant