Skip to content

Commit 88cbce9

Browse files
authored
Ethernet::MACAddress() implementation
Use Mbed's `macAddress()` implementation for Arduino `MACAddress()` The Mac Address seems to be stable/valid only after `::begin()`, However, I can't explain myself why my Portenta H7's OUI `2B:00:1B` cannot be found on the various OUI databases available on internet.
1 parent d815e98 commit 88cbce9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

libraries/Ethernet/src/Ethernet.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,4 +84,9 @@ unsigned long arduino::EthernetClass::getTime() {
8484
return 0;
8585
}
8686

87+
void arduino::EthernetClass::MACAddress(uint8_t *mac_address)
88+
{
89+
macAddress(mac_address);
90+
}
91+
8792
arduino::EthernetClass Ethernet;

0 commit comments

Comments
 (0)