Get MAC address using espefuse
Posted: Mon Apr 22, 2024 2:47 pm
Hi, I can get the MAC address using espefuse but it means extracting it from the output using sed or some similar pattern matching tool. This isn't ideal as the format of the output from espefuse isn't guaranteed. Is there a method to get the MAC address in a more defined way?
Thanks,
Charlie.
For reference, the output from espefuse summary contains this fragment:
[/code]
Thanks,
Charlie.
For reference, the output from espefuse summary contains this fragment:
Code: Select all
MAC (BLOCK1) MAC address
= ec:da:3b:51:bb:a4 (OK) R/W
CUSTOM_MAC (BLOCK3) Custom MAC
= 00:00:00:00:00:00 (OK) R/W