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

CSR generation example does not work on Arduino Nano IoT 33 #23

Open
thebigredgeek opened this issue Apr 26, 2020 · 0 comments
Open

CSR generation example does not work on Arduino Nano IoT 33 #23

thebigredgeek opened this issue Apr 26, 2020 · 0 comments
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@thebigredgeek
Copy link

thebigredgeek commented Apr 26, 2020

The example, as is, does not work on the IoT 33. Serial.println(csr); pushes an empty string out through serial. To get this to work, I had to prime the String instance and/or the Serial singleton by calling Serial.println(csr.length()) immediately before Serial.println(csr) in order for the CSR cert to output via Serial. Otherwise, the output would be an empty string. If I simply call csr.length() without passing the result to Serial.println, this also does not work. Seems like a weird state issue, maybe?

@per1234 per1234 added type: imperfection Perceived defect in any part of project topic: code Related to content of the project itself labels Sep 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

2 participants