6 Digit Particle Photon WiFi Code (P1)

photon
Tags: #<Tag:0x00007fe223321088>

#1

Hi All,

We got a few boards in with the Particle P1 chips soldered to them and I’m getting a 6 digit particle WiFi code:

It seems we can sort of fix it by resetting the device, but when we do that both the short and long version of the code show up. E.g. for the photon in the screenshot we would see “Photon-B2UG4X” and “Photon-B2UG” show up.

If we try to connect to the long particle WiFi code the pairing process loops infinitely.

Anyone else experiencing this at all? I’ve checked a few boards and it’s happening on all of them

Regards,

Chris.


#2

The 6-digit code has been introduced quite a while back - that’s the current default.
What device OS version are you running?
Are you using the most recent mobile app and/or mobile SDK?


#3

Interesting to know. We’ve had to downgrade all of our devices to Particle version 6.3.0 because of incompatibilities in the firmware that we flash onto the device (7.0.0 ended up soft-bricking the devices).

So if we downgrade first then the WiFi codes should go back to 4 digits I assume?

Regards,

Chris.


#4

You can also set the suffix to whatever string you want:

// Change the SSID suffix in listening mode
System.set(SYSTEM_CONFIG_SOFTAP_SUFFIX, "ABC");

https://docs.particle.io/reference/device-os/firmware/photon/#system-config-set-


#5

Yes, that change came with 0.7.0
See here


#6

Gotcha,

Thanks for your help @ScruffR and @nrobinson2000

Regards,

Chris.