In production, we use a batch file to flash a Photon, get its ID, add it to the product, and grab the mac address. I recently ran the script with an up to date version of the cli, and it now says Could not get MAC address: Not supported. I get this error listening mode on or off.
This is something I would still like to be able to access for our current Photons going into the field. Is there a new replacement for this, or a reason why it got removed? These Photons are on 1.4.4 if that makes a difference.
I believe you will need to roll back to an older version of the Particle CLI and stay on that version for accessing those Photons. I think the problem is that the current CLI uses USB control requests to get the MAC address, but Photons running Device OS 1.4.4 don't support the control request to get the MAC address.
Older versions of the Particle CLI used commands essentially typed at the device in in listening mode using USB CDC and read the response.