MXZZ / Netgotchi

reversed pwnagotchi : netgotchi lives to protect your network
GNU General Public License v3.0
194 stars 11 forks source link

Patch stack exception for ESP8266 #10

Closed dj1ch closed 1 month ago

dj1ch commented 1 month ago

Long story short, someone in the discord server got a stack exception upon connecting to a Wifi network when the Netgotchi starts.

I then decoded the stack exception and found that the issue lies somewhere within the string processing of the functions within network.ino. The fix I did was change the SerialPrintLn message to allow any sort of data type since one of the problems seemed to be the printing of the IP address, that way I can print the IP address's data type without having to convert it to a string.

In the process of doing that, I also saw that Arduino IDE doesn't open up the sketch files, so I had to move the files into a netgotchi folder.

MXZZ commented 1 month ago

thank you @dj1ch ! :-)

dj1ch commented 1 month ago

No problem! Happy to help👍