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.

RTOS/CC3220: Getting the UDID

Part Number: CC3220

Tool/software: TI-RTOS

In the documentation for the CC3220 there is a "Device identity - Unmodifiable unique 128-bit number that TI stores in the device during production. (UDID)" mentioned.

See:

SimpleLink™ CC3120, CC3220 Wi-Fi® Internet-on-a-chip™ Solution Built-In Security Features (swra509a.pdf)

Understanding security features for SimpleLink™ Wi-Fi® CC3x20 MCUs (swpb015.pdf)

I'm thinking of using this value as a unique identifier for the device.

How can I retrieve this UDID using code? I can't find this in the CC3220 SDK-documentation.

  • Hi,

    I did not check by myself, but I think you should look to sl_DeviceGet() and SL_DEVICE_IOT option SL_DEVICE_IOT_UDID. Unfortunately I did not find further information about this option.

    Jan
  • Thank you! That must be it.

    I can't find the expected struct returned from sl_DeviceGet() in the device.h-file. Hopefully the result is just the 16 bytes (128 bits) UDID. I can check if the result is 16 bytes by checking the pConfigLen-out-parameter.

    I'm not able to test it right now, so I will mark this as resolved and will reopen or open a new issue if it doesn't work as expected.