This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

UUID

Hi,

Is there a UUID generator available for the C6678 or do I have to port/make one?


Thanks,

brandy

  • Hi Brandy,

    Since the query falls on C6000 Multi core forum, let me move your post to C6000 Multi core forum to address your query in a better way.

     

    Thanks & regards,

    Sivaraj K

  • Hi Brandy,

    I have some folks looking into if this is a particular App that we have example code for, but I do not believe we would have native code for this feature.  Most people would use the MAC address of the device if they required a unique identifier.

    I'll report back if I find any more information.

    Best Regards,
    Chad 

  • Sivaraj, thanks - I didn't notice I clicked on the wrong forum.

    Chad,

    Yes, I think I could make the algorithm.  I just was wondering if there was a library with the most efficient way.  I supposed I would need the clock cycles, a random number generator and my mac address.  There is a C++ native but I couldn't find it in our compiler.  There problem, I see, is that clock cycles always start at zero, so it makes my situation slightly less random and I have a higher probability of repeating numbers.

    Anyhow, if you have something that would be great and save me some time.

    Thanks,
    brandy

  • Brandy,

    After checking with colleagues I do not believe we have a specific UUID code in any of our libraries and it would need to be created by you.  If you're connected to a network, you may want to use the time from it instead of from the DSP timer.

    Best Regards,

    Chad