Sorry for modifying my question but after doing more debugging, I see a SOS with 9 red blinks, 1 red blinks, 9 red blinks, 1 red blink and reset of systems.
From the status led reference page, it said SPI over-run. Any idea how to debug a SPI over-run? Does SPI over-run cause a reset?
My situation is everything works without WIFI and with a stable WiFi but with a flaky wifi, SOS happen fellow by reset. When I debug my code its when I do a check wifi connection with Particle.connected().
Any suggestion will be great. Thanks