ESP32 Crashed while assigning elemnt of first array with other array

naitik
Posts: 19
Joined: Thu Apr 22, 2021 2:04 pm

ESP32 Crashed while assigning elemnt of first array with other array

Postby naitik » Sat May 08, 2021 10:46 am

Hello,
I am trying to Extract specific Part of array and in order to do that i wrote simple array shift function which crashes at following line:

Code: Select all

tmp[i] = value[i+1];
 
both value are Char* datatype.
I am using the ESP-IDF. Kindly let me know what wrong with this code?
Thanks.

ns1668
Posts: 50
Joined: Tue Mar 16, 2021 2:00 pm

Re: ESP32 Crashed while assigning elemnt of first array with other array

Postby ns1668 » Fri May 21, 2021 9:40 am

Sounds like the array access is out of bounds, do you have some example code?

Who is online

Users browsing this forum: awegel, Bing [Bot], StanInexeon and 112 guests