arduino-frskysp icon indicating copy to clipboard operation
arduino-frskysp copied to clipboard

sniffer - buffer overflow

Open pan-sattan opened this issue 4 years ago • 3 comments

Hi, I am using R9m (smartport + GND) connected to arduino pin10 + GND

image

pan-sattan avatar Oct 19 '20 08:10 pan-sattan

I have the same issue, did you manage to solve it?

jendib avatar Dec 22 '20 16:12 jendib

I sometimes also have this issue. For me, simply unplugging and replugging the device does the job, even though this is not a satisfying solution. I'll probably look deeper into it in the upcoming weeks and will let you know if I find anything.

TannerGilbert avatar Jan 02 '21 20:01 TannerGilbert

I looked into the issue and found out that once the buffer overflow error occurs, it gets stuck because the buffer never gets cleared, and therefore you're stuck in the else if. I fixed the issue by throwing away all the wrong bits if the error occurred #7.

TannerGilbert avatar Jan 11 '21 14:01 TannerGilbert