How to get the Mac-Id of the particle photon

How can get my particle photon board mac-Id using particle CLI and as well as in the firmware is that any API provided to get the mac-id of the particle photon. if yes, please let me know

@ScruffR @rickkas7 @peekay123

Thanks in advance

You can always find out what CLI offers by use of the --help switch
e.g.

particle serial --help

will give you this

But if you were looking for an API then you’d probably want to look at the reference docs :wink:

https://docs.particle.io/reference/device-os/firmware/photon/#macaddress-

yeah i used this WiFi.macAddress(mac), API to get the mac Address in live