GUID Creation

timothyka wrote on Friday, July 23, 2010:

Hi,

I am looking for a good way to create a (16 byte) GUID under FreeRTOS. Has anyone a good hint where to start?

Thanks
-timo

davedoors wrote on Friday, July 23, 2010:

Globally unique for the product, or per device. If its for the product then some compilers can be configured to generate a checksum (IAR for example can do that). If its globally unique for the device, like a MAC address might be, then often that would be loaded from an external eeprom.

timothyka wrote on Friday, July 23, 2010:

Actually a real globally unique id (like calling CoCreateGuid() on Windows). So, it must be done at runtime. I can, of course, start creating my own code involving the serial number of the device, time information plus current sysclock etc, but I hoped that someone already has a good and approved solution for this common problem.