Retrieve Photon Softap Name

You can retrieve this only from the device

You could try

char buf[128];
System.get(SYSTEM_CONFIG_SOFTAP_PREFIX, buf, 128);
// and 
System.get(SYSTEM_CONFIG_SOFTAP_SUFFIX, buf, 128);

Update:
Oops, unfortunately not. System.get() is not available for user code.

This thread might be interesting tho’