Search found 23 matches

by Munque
Wed May 13, 2020 7:00 pm
Forum: ESP32 Arduino
Topic: Questions on Secure Boot & Flash Encryption -- Step by Step using only CLI
Replies: 0
Views: 221

Questions on Secure Boot & Flash Encryption -- Step by Step using only CLI

I'm attempting to get a comprehensive understanding of the Secure Boot & Flash Encryption in step-by-step form using only CLI. Reasons for the CLI-only method: - To have control over the process and automate it for consistency, accuracy, flexibility depending on how the overall production workflow e...
by Munque
Tue May 12, 2020 1:52 pm
Forum: ESP32 Arduino
Topic: Unable to convert a JS JSON.stringify'd array to a C++ ArduinoJson equivalent -- empty array
Replies: 6
Views: 465

Re: Unable to convert a JS JSON.stringify'd array to a C++ ArduinoJson equivalent -- empty array

> my recommendation is to follow examples that don't use strings. Agreed. It's just taking a while to figure out how convert from a String mindset to the char array approach. There are a variety procedures I can execute fluently with Strings that require extra steps the land of char, and I'm not yet...
by Munque
Mon May 11, 2020 3:15 pm
Forum: ESP32 Arduino
Topic: Unable to convert a JS JSON.stringify'd array to a C++ ArduinoJson equivalent -- empty array
Replies: 6
Views: 465

Re: Unable to convert a JS JSON.stringify'd array to a C++ ArduinoJson equivalent -- empty array

Problem resolved: The issue was actually on the Node JS side where the array was accidentally JSON.stringify'd twice. So for the most part this is an issue unrelated to C++ Strings and char arrays. The significant relevance to C++ is this... Beginning on the JS Side: JSON.stringy(); //gives the stri...
by Munque
Mon May 11, 2020 1:29 pm
Forum: ESP32 Arduino
Topic: Unable to convert a JS JSON.stringify'd array to a C++ ArduinoJson equivalent -- empty array
Replies: 6
Views: 465

Re: Unable to convert a JS JSON.stringify'd array to a C++ ArduinoJson equivalent -- empty array

In attempting to test (and learn more about how to work with) char arrays I tried the following addition to the original code: Serial.println(arrayStr); // All working to this point. Result is "[\"Test1\",\"Test2\"]"; //char array test int arrayLgth=arrayStr.length(); char arrayChar[arrayLgth + 1]; ...
by Munque
Mon May 11, 2020 1:05 pm
Forum: ESP32 Arduino
Topic: Unable to convert a JS JSON.stringify'd array to a C++ ArduinoJson equivalent -- empty array
Replies: 6
Views: 465

Re: Unable to convert a JS JSON.stringify'd array to a C++ ArduinoJson equivalent -- empty array

myString = myString + "my new String"; I'd read somewhere that a) Don't use strings, and b) But if you do, don't use myString + "my new String", but the concat() method. completely different topic / Stop using Strings and try to do the things using chars[] Actually per this question that's right on...
by Munque
Mon May 11, 2020 3:59 am
Forum: ESP32 Arduino
Topic: Unable to convert a JS JSON.stringify'd array to a C++ ArduinoJson equivalent -- empty array
Replies: 6
Views: 465

Unable to convert a JS JSON.stringify'd array to a C++ ArduinoJson equivalent -- empty array

I'm using a WiFiClient to download an array (JSON.stringify(["Test1", "Test2"]) from a Node JS server and have it converted on the C++ side into an ArduinoJson array. The problem: The array ends up empty. void GetListFromServerUsingArduinoJson(){ WiFiClient client; //Skipping some code here: client....
by Munque
Thu May 07, 2020 4:09 pm
Forum: Report Bugs
Topic: Is this still a security bug? "Pwn the ESP32 Forever: Flash Encryption and Sec. Boot Keys Extraction"
Replies: 6
Views: 905

Re: Is this still a security bug? "Pwn the ESP32 Forever: Flash Encryption and Sec. Boot Keys Extraction"

ESP_Angus , thank you for the detailed response. Much appreciated. RE esp v2.8 -- good to know. RE Ethernet. Very cool Did not know about that. So far we've been working with ESP8266 & ESP32 WROOM on projects where security is of no concern. There's an upcoming project, however, that would involve ...
by Munque
Wed May 06, 2020 11:22 pm
Forum: Report Bugs
Topic: Is this still a security bug? "Pwn the ESP32 Forever: Flash Encryption and Sec. Boot Keys Extraction"
Replies: 6
Views: 905

Re: Is this still a security bug? "Pwn the ESP32 Forever: Flash Encryption and Sec. Boot Keys Extraction"

Thanks ESP_igrr So it looks like the current resolution to the issue involves the either the ESP32-ECO3 (aka "ESP32v3" according to this link ) or the ESP32S2 ( according to this link ) Trying to figure out whether to buy, where to buy, at what price points... ended up raising more questions: 1 - Is...

Go to advanced search