ezieragabriel / arduino

Automatically exported from code.google.com/p/arduino
Other
0 stars 0 forks source link

WiFi library multi-byte WiFiClient::read seems broken #1029

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Looking at the code, part of the problem seems to be that it returns 0 for 
success and -1 for failure, rather than the number of bytes read (which is what 
EthernetClient does)

However, trying to amend the WiFiClient code to return the number of bytes also 
didn't fix the issue.  I haven't had chance to dig into it further yet.

Original issue reported on code.google.com by adrian.m...@gmail.com on 3 Sep 2012 at 5:23

GoogleCodeExporter commented 9 years ago
Are there any examples of multi-byte read that work?

Original comment by crhoffma...@gmail.com on 18 Nov 2012 at 12:22