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

Crashes when overloaded with "scan" commands #4

Open
jurc192 opened this issue Mar 28, 2022 · 3 comments
Open

Crashes when overloaded with "scan" commands #4

jurc192 opened this issue Mar 28, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@jurc192
Copy link
Contributor

jurc192 commented Mar 28, 2022

A python scripts that spits out scan commands in a loop, without any delays, will crash the firmware after couple of seconds.

@jurc192 jurc192 added the bug Something isn't working label Mar 28, 2022
@exchrotek
Copy link

Is the fear that a user could spam scan from the CLI?

@jurc192
Copy link
Contributor Author

jurc192 commented Jun 1, 2022

I don't think users will be the main problem, but automated scripts could be. In any case, I believe that firmware should be robust enough not to crash when the frequency of messages increases, right? Didn't have the chance to dive into it, I am sure that the cli module can be polished quite a lot :)

@exchrotek
Copy link

Makes sense, was trying to get a sense of the origin of the concern! I definitely don't disagree with the notion that the firmware should be as robust as possible :).

Since I don't actually have the hardware, I can't be too helpful here, but maybe I can be your rubber duck that asks questions lol.

I'm curious if you could elaborate one what you mean by the firmware "crashing"? Does that mean the Arduino gets locked up and then the watchdog kicks in and resets it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants