Join GitHub today
PJONMaster - Arduino reboots when packet delivery fails #106
When MAX_ATTEMPTS reached arduino goes into reboot.
It looks like it happens because
(not sure if the same is valid for
I think separate error handler field in
Another thing I noticed that may cause trouble:
Ciao @elusive-code I have run a fast test without oscilloscope not having enough time to run an extended analysis. What I see is that:
What it is not nominal, is that after error the slave for some reason is forced to drop its id and get a new one, creating a bad chain reaction :). Maybe was this behaviour forcing to think about a reset?
So, I will get the code, some time and the oscilloscope and will debug this.
I agree with you that the error is not the best implementation possible (consider that those two classes are experimental and for this reason still not documented), feel free to propose a better solution!
Hi, @gioblu, sorry, I wasn't clear in the report.
Here is a code I used to configure master: