Unique ID for every MKR wifi 1010

I was wondering if there is a unique ID in this device that can be extracted and placed into a database as a form of registering this device uniquely?

If not, I could make one but I would have to generate a new one for every device which could get tedious even if it is automated.

Why not using its MAC address? (Even if I don't remember if it is possible to read it, but Ithink so).

Regards
Davide

Well, after writing this question, I have come to realize I need it to be truly unique so generating my own might be the way to go. It might not be so bad either. Also, I don't know anything about MAC addresses or how to access them.

Wifinina MAC address

It is an 48 bit unique ID of the WiFi module, that means another MKR1010 chip will have a different MAC

You can also read the MAC address using your home router. Just connect your MKR1010 with a sketch to your WiFi network and then have a look in the menu of your router. Every router is different look for pages that contain all connected devices and click on them. They usually tell you the IP address (can change) and the MAC address.

The MAC addresses of your NINA modules are unique. No need for you to generate a unique number yourself. They need to be unique because they are used in the Medium Access Control protocol (part of the data link layer see OSI model) of your network to identify the module in the network. And because nobody knows which devices could end up in a network together manufacturers of network electronics get MAC address blocks allocated by IEEE. So, they are pretty much guaranteed to be unique for the next couple of decades.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.