arduino-libraries / MKRGSM

GNU Lesser General Public License v2.1
55 stars 51 forks source link

Changed Available return's values #107

Closed Rocketct closed 4 years ago

Rocketct commented 4 years ago

This changefix the negative value returned by GSMUDP::available()

fix: https://github.com/arduino-libraries/MKRGSM/issues/105 and https://github.com/arduino-libraries/MKRGSM/issues/106

cc:/ @facchinm i have check and seems that the UDP's buffer is not a ring buffer than this change should be enough to fix this two issue could simple take a look if i'm right about the buffer?