How do I generate a UUID in Micropython? #15728
Unanswered
Razboinicul
asked this question in
Libraries & Drivers
Replies: 2 comments
-
Perhaps you can use the following? >>> import machine
>>> machine.unique_id().hex() |
Beta Was this translation helpful? Give feedback.
0 replies
-
I have an outstanding PR micropython/micropython-lib#504 that can generate version 1,3, 4 and 5 UUIDs. It still need to be tidied up before merging but it's probably usable as-is. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to generate a UUID automatically on my ESP32.
Beta Was this translation helpful? Give feedback.
All reactions