paulfer
Member
Maybe Shawn can help me?
I want to use a unique ID on the Teensy. Does the PHY chip on the T4.1 have a unique MAC address?
I see one can get the MAC as follows:
Failing that, I can make a UID from the UNix time. But I am just curious.
Regards.
I want to use a unique ID on the Teensy. Does the PHY chip on the T4.1 have a unique MAC address?
I see one can get the MAC as follows:
Code:
uint8_t mac[6];
Ethernet.macAddress(mac); // This is informative; it retrieves, not sets
printf("MAC = %02x:%02x:%02x:%02x:%02x:%02x\r\n",
mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]);
Failing that, I can make a UID from the UNix time. But I am just curious.
Regards.