Search found 4 matches

by Feelfree
Fri Feb 10, 2017 4:38 pm
Forum: ESP32 IDF
Topic: Wierdly encoded characters when receiving data.
Replies: 6
Views: 2212

Re: Wierdly encoded characters when receiving data.

And I ported this to PC, linux. This code works correctly here. Looks like its something with lwip/esp32. https://gist.github.com/feelfreelinux/9 ... 44a9ae6186
by Feelfree
Fri Feb 10, 2017 11:06 am
Forum: ESP32 IDF
Topic: Wierdly encoded characters when receiving data.
Replies: 6
Views: 2212

Re: Wierdly encoded characters when receiving data.

Ok, updated gist.
by Feelfree
Thu Feb 09, 2017 10:34 am
Forum: ESP32 IDF
Topic: Wierdly encoded characters when receiving data.
Replies: 6
Views: 2212

Re: Wierdly encoded characters when receiving data.

Hi Feelfree, You don't seem to have tried fixing the buffer overflow issue that I mentioned on github (receiving the full size of the buffer doesn't leave space for a terminating null byte, so you can't treat it as a string). Are you sure that's not the problem? Angus Forgot to update gist - resize...
by Feelfree
Wed Feb 08, 2017 7:40 pm
Forum: ESP32 IDF
Topic: Wierdly encoded characters when receiving data.
Replies: 6
Views: 2212

Wierdly encoded characters when receiving data.

Hi! I'm writing IRC bouncer on esp32. Implemented basic functionality, but when I receive data, I'm randomly getting characters replaced like ToggleSwitchWid�Ž�Žû?�gû?�, cherryh.freenode.net @�û?Í352 - Hmm, maybe its something with this buffer to string operation? Thanks! https://gist.github.com/fee...

Go to advanced search