MediaTek-Labs / Arduino-Add-On-for-LinkIt-SDK

Arduino board support package for LinkIt 7697
https://docs.labs.mediatek.com/resource/linkit7697-arduino/en
34 stars 33 forks source link

WiFiUdp::parsePacket() behavior is incorrect when called consecutively #26

Open pablosun opened 7 years ago

chengc843988 commented 6 years ago

not as same as other MCU's API returning value. so , Just call it once.

while ((result=WiFiUdp::parsePacket())==0) { .delay(...); }

if(result) { ... }