I took P1 and cleared its memory via ST-link (since I changed a lot of system functions before :
Code
SYSTEM_MODE(SEMI_AUTOMATIC);
SYSTEM_THREAD(ENABLED);
STARTUP(System.enableFeature(FEATURE_RETAINED_MEMORY));
STARTUP(softap_set_application_page_handler(myPage, nullptr));
STARTUP(WiFi.selectAntenna(ANT_AUTO));).
Flashed to 1.5.2. Reset it to factory condition(as I think) with the help of a particle doctor. Then I flashed Tinker. And here’s what I noticed: when the device is connected to the WiFi, but the network is without the Internet, then the device flashes cyan for a while and then red twice (SOS). Moreover, when I turn on logs:
Logs
0000028513 [hal.wlan] INFO: Using auto antenna
0000028561 [hal.wlan] INFO: Joining vlad
0000028563 [hal.wlan] TRACE: Free RAM connect: 36144
0000031662 [hal.wlan] INFO: Bringing WiFi interface up with DHCP
0000051897 [hal.wlan] TRACE: connect cancel
0000051903 [hal] TRACE: 20015b04 socket list: 0 active sockets closed
0000051903 [hal] TRACE: 20015b0c socket list: 0 active sockets closed
The same happens on Photon. I don’t have a completely new device, but I think there is the same problem.
This is not a problem when the device has small firmware. But in my case it sometimes leads to device reboots.
Tell me please, am I doing something wrong or is it a system error?