I’m using Photons with DeviceOS 1.2.1 and doing frequent HTTP requests with them, everything works fine until I encounter weak WiFi signal where the device may lose network connection.
When the device starts to reconnect to the cloud/network there is a 50/50 chance it will either connect sucessfully or encounter a panic (or even worse hang up completely). I have been trying to workaround this by prechecking network availability using WiFi.connecting/WiFi.ping/etc but alas to no avail, it still results in panic when reconnection has begun. The panic SOS seems to indicate a hard fault.
I can reproduce the problem with the minimal HTTP get example from https://github.com/nmattisson/HttpClient, using a few second period, and bringing the WiFi signal strength down until the device disconnects the network, and then restoring signal strength allowing the device to reconnect.
I’m using semi automatic system mode with system thread enabled.
Does anyone have any hints as to what may be the cause to the panic or how it could be avoided without sacrificing offline application processing?