arduino / nina-fw

Firmware for u-blox NINA W102 WiFi/BT module
133 stars 116 forks source link

Remove packet parsing from availDataTcp() function to avoid packets corruption #49

Closed giulcioffi closed 4 years ago

giulcioffi commented 4 years ago

This modification is intended to solve issues (#48 and #WIFININA/108) related to corruption of udp packets, in particular with Uno WiFi Rev2. Indeed, when the packets frame rate was high, sooner or later the packets started to be corrupted. This problem was due to the fact that parsePacket() (the function to parse a new UDP packet) was called in 2 places:

Here is the link to the Firmware Updater: https://github.com/arduino/FirmwareUpdater/releases/tag/0.0.6 Here is the binary: NINA_W102_unowifirev2.bin.zip

This fixes #48.