Unique ID for Sending & Receiving [solved]

I’m looking for a way to ensure packets recieved come from a paired unit, so that several pairs in close proximity do not recieve incorrect data. Is there a way to create unique ID for the receiving unit to check before storing packet data?


Sorry for not checking LoRa.SetSyncWord() documentation thoroughly first

Thanks for the responses

Maybe you can take advantage of the ESP32’s Chip ID?

1 Like

I use the following command (arduino environment) to get the mac address which is unique to the board:

String ID = WiFi.macAddress();