I was tinkering with changing the soft AP name, and didn’t realize the Photon app uses that name to identify when connected to a Photon.
I changed it via a System.set(SYSTEM_CONFIG_SOFTAP_PREFIX call, and would like to change it back so I can connect to wifi.
I attempted to use DFU mode to change it back to “Photon”, as described here: Change Photon SSID
However, that doesn’t seem to do it. DFU-util gives me some trouble, so I’m not sure it’s even working. The Photon is blinking yellow when trying to run this, but the error seems like it’s not actually in DFU mode. I tried to reset into safe mode after, which theoretically would not run my code that changes the soft AP prefix, but it’s still set to my own prefix.
Here’s a run of dfu-util and and a hexdump of the ssid info I’m using (which should set it back to Photon). Thanks!
[ben@Cray-1:~]$ dfu-util -l
dfu-util 0.8
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2014 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org
Found Runtime: [05ac:8290] ver=0114, devnum=3, cfg=1, intf=5, alt=0, name="UNKNOWN", serial="UNKNOWN"
[ben@Cray-1:~]$ dfu-util -d 05ac:8290 -a 0 -s 1826 -D ssid_prefix
dfu-util 0.8
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2014 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org
dfu-util: File too short for DFU suffix
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
Opening DFU capable USB device...
ID 05ac:8290
Run-time device DFU version 0038
Claiming USB DFU Runtime Interface...
Determining device status: state = appDETACH, status = 0
Device really in Runtime Mode, send DFU detach request...
dfu-util: error detaching
Resetting USB...
dfu-util: Lost device after RESET?
[ben@Cray-1:~]$ hexdump ssid_prefix
0000000 06 50 68 6f 74 6f 6e
0000007
[ben@Cray-1:~]$