Program the Photon directly over serial

Hi, probably a silly question but is it possible to program the Photon locally

What I want it to do is just try and connect to a network, turn off for say 10 minutes, try again turn off. It will never have access to the internet, however the routers will be aware of it

Yes, that’s possible.

If your computer where you program has internet, you can use any way of building and just upload the resulting binary via CLI.
If you want to build offline too, you’ll need a local toolchain.

1 Like

For completeness, that’s how it’d be done

# in DFU mode
particle flash --usb <yourFirmware.bin>
# or (less reliable) in Listening mode
particle flash --serial <yourFirmware.bin>
1 Like