I have 2 questions about mass deployment of the Photon:
Can I change the default WiFi name of the device (i.e. Photon-XXXX) to “MyProduct-XXXX”?
When I press the setup button to enter the listening mode, there’s a way of select which antenna
(chip or external) will be used to connect to the WiFi router? I need to be sure that the buyers will
be able of complete the WiFi setup even if they are at certain distance of the router.
I’m successfully using an external antenna (and switch to it in my code), but it seem that the listening
mode reverts to the chip one.
Your help will be very appreciated.
Thank you and happy weekend!
Thank you @Moors7 and @ScruffR for your great reply.
I successfully changed the soft AP name, entered listen mode and sent credentials to
the device. Before I entered listen mode I switched to the external antenna and I can configure
the Photon over a nice distance.
@ScruffR - You mentioned to use this System.set(SYSTEM_CONFIG_SOFTAP_PREFIX, "MyName"); sparingly to avoid flash wear. Does this mean we shouldn’t be calling this every boot? Even if the prefix does not change?
AFAIK the risk of flash wear isn’t that big anymore as it seems that there now won’t be rewrites as long the content doesn’t change, but it’s still good practice to avoid doing things that are not necessary.