atc1441 / E-Paper_Pricetags

GNU General Public License v3.0
230 stars 39 forks source link

Send loop breaks - slot gets stuck #51

Open Hades32 opened 2 years ago

Hades32 commented 2 years ago

After a few days of continuous operation, the access point doesn't work anymore. The status pane on the local webserver shows that it always stays on slot 0 and even when I try to send something it shows 0 bytes left to send. A reboot fixes the issue

atc1441 commented 2 years ago

That sounds like a hard to find bug :-/ cant remember if i had it back then. Its a while since i used the system

Hades32 commented 2 years ago

Oh, I see. Any hints on where I could start debugging?

atc1441 commented 2 years ago

It sounds like it could be in a wrong mode or the interrupt chain stoped somehow.

Normaly it should recover from it https://github.com/atc1441/E-Paper_Pricetags/blob/main/Custom_PriceTag_AccesPoint/ESP32_Async_PlatformIO/RFV3/RFV3.ino#L97

You could try to let it print more variables for debugging and see what value is not as it should be