Photon softAP usage?

Yes that works, but is less comfortable and a bit more difficult to remember IMHO than using above statements in a normal firmware code.
As said above - these commands are shown in the same thread, just a few posts down from yours

This way you could even have a Particle.function() to do that remotely :wink:
Not that easy via dfu-util