Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement native code helper to generate a new Guid #129

Closed
nfbot opened this issue Aug 30, 2017 · 2 comments · Fixed by nanoframework/nf-interpreter#804
Closed

Implement native code helper to generate a new Guid #129

nfbot opened this issue Aug 30, 2017 · 2 comments · Fixed by nanoframework/nf-interpreter#804

Comments

@nfbot
Copy link
Member

nfbot commented Aug 30, 2017

From nf-interpreter created by josesimoes : nanoframework/nf-interpreter#323

From nanoframework/nf-class-libraries#40

This is GenerateNewGuid___STATIC__SZARRAY_U1.

The method should return an array with 16 random byte, ready to generate a valid Guid.

@networkfusion
Copy link
Member

Is this also done for stm32 devices? I saw no mention of it in the PR?

@josesimoes
Copy link
Member

Is this also done for stm32 devices? I saw no mention of it in the PR?

Yes it is.

Granted, the mention to ESP32 in the PR comment is probably misleading... 😅 What was added in the PR was the code to generate the GUID AND the random generator implementation for ESP32 (which was missing until now). 😜

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants