i use cubcell De-board for a lora raingauge. My software is based on ext_interrupt example. After a few hours to days the software hangs and I do not receive lora packets anymore. I have to reset the board with reset switch to get it working again. The board is powered with battery and solar cell (also tested without solar cell). I have rgb led activated for tests and it does not flash so it is not a gateway issue. After reset the board work again, so I don not think it is a battery problem.
My current software can be found at https://github.com/schenlap/Lora_raingauge
How can I debug to find the root cause?