How to go in listening mode from cellular off mode if called in app?

how to go in listening mode from cellular off mode if called in app?

i created a app used SYSTEM_MODE(MANUAL); device is in cellular off mode . but now i need to change the app
device not goes in listening if i press mode button if it goes in listening mode i can change app

Are you sure you want Listening mode?
Do you want to flash via USB or OTA?
If USB, via particle flash --usb firmware.bin (=DFU Mode, preferable) or particle flash --serial firmware.bin (=Listening Mode).

The docs do help in either case
https://docs.particle.io/reference/firmware/electron/#listen-
https://docs.particle.io/reference/firmware/electron/#particle-connect-
https://docs.particle.io/reference/firmware/electron/#dfu-

And for external access
https://docs.particle.io/reference/firmware/electron/#begin--1

and 14400 for DFU Mode

BTW, you can also go into Safe Mode and then the MODE button should work again too

1 Like

thank u very much ScruffR

i used particle flash --usb firmware.bin (=DFU Mode, preferable)

i got this reply and running another app successfully

Opening DFU capable USB device…
ID 2b04:d00a
Run-time device DFU version 011a
Claiming USB DFU Interface…
Setting Alternate Setting #0
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 4096
DfuSe interface name: "Internal Flash "
Downloading to address = 0x08080000, size = 12780
Download [=========================] 100% 12780 bytes
Download done.
File downloaded successfully
Invalid DFU suffix signature
A valid DFU suffix will be required in a future dfu-util release!!!

but what precautions should be take when we use SYSTEM_MODE(MANUAL); as device was not connecting
to network in earlier app?

That depends on your needs.
If you have physical access to the device you can always use any of above ways.
But I would add some functionality to trigger Particle.connect() to allow for OTA update if needed.

1 Like