I have two LoPy4, one acting as a master, one a slave.
The master sends out a broadcast message every few seconds.
The slave receives the message and sends back a response to the master.
At the moment I only have the one slave device so no issue with clashing responses from multiple slaves.
All works fine for a while - sometimes quite a while (10's of minutes)
Then, seemingly randomly, either the master or the slave can throw the following exception:
Board information:
I am using the code from https://github.com/pycom/pycom-libraries/tree/master/pymesh/pymesh_frozen as my starting point and have built up code around this and modified a little.
I have two LoPy4, one acting as a master, one a slave. The master sends out a broadcast message every few seconds. The slave receives the message and sends back a response to the master. At the moment I only have the one slave device so no issue with clashing responses from multiple slaves.
All works fine for a while - sometimes quite a while (10's of minutes) Then, seemingly randomly, either the master or the slave can throw the following exception:
(this on the master)
(this on the slave)
The actual send is being handled in mesh_internal.py in the code from github - here:
After the exception the LoPy4 reboots and communication is re-established.
How can I debug this exception? What does it mean?