Is there a way to retrieve the PHOTON-XXXX value from a device (e.g. cli/cloud api)?
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’