I just installed and set up the Particle Workbench (https://www.particle.io/workbench/). I signed in, and I’m trying to flash my code to send OTA firmware updates to my electron. But whenever I flash my code, my terminal says this
@spe, the flash command in Workbench only flashes via USB, not OTA. For OTA, you can do a Cloud Flash command. You can also launch the Particle CLI and use it to flash the .bin file you compiled to the device. The file can be found somewhere under the target directory. You would need to specify the path in your particle flash command
@spe, in Workbench, hit the SHIFT + CTRL + P keys and type Particle. You will get a list of Particle commands so look for the Particle: Cloud Flash command and select it.
For the CLI, you will notice on the LHS side of the Workbench screen, just above the project.properties file, there is the target directory. Expand it until you find the project .bin file. Assuming you open the Particle CLI from the Workbench command menu, you would type something like particle flash deviceid .\target\..path..\project.bin.