I am trying to update particle photon device firmware , realised the when I plugin to usb the led on photon becomes turns to cyan
$ particle list
my_photon [xxxxxxxxxxxxxxxxxxxx] (Photon) is online
and after some time it reports offline:
$ particle list
my_photon [xxxxxxxxxxxxxxxxxxxx] (Photon) is offline
and
just checked device via usb
ls /dev/cu.usb*
returned: /dev/cu.usbmodem1421
then when I try to screen /dev/cu.usbmodem1421 pressing i returned: isDSTactive() tz 0.000000 dayofMonth 25 dayOfWeek 6 month 4 hour 13 why is this happening ?
I manage to blink it yellow by first both setup and reset key pressed and then release reset and when yellow light appeared i released setup but no photon hotspot appeared.
Would be a misunderstanding
This is not how you engage Listening Mode but DFU Mode, which won't expose SoftAP.
Listening Mode is entered by press/holding the MODE/SETUP button after the device has started up already.
That would probably be called blocking code.
Presumably your code keeps the flow trapped in a loop or so and hence prevents the device OS from servicing the cloud connection which will then break after 10-20 seconds.
That would be called applying known to be good code