This library can be used in mbed driver or mbed OS2. So If you want to use WizFi310 on mbed OS5, You have to use another WizFi310 library(wizfi310-driver). That is git repository for wizfi310-driver. - https://github.com/ARMmbed/wizfi310-driver
Dependents: KT_IoTMakers_WizFi310_Example WizFi310_STATION_HelloWorld WizFi310_DNS_TCP_HelloWorld WizFi310_Ubidots ... more
This library can be used in mbed driver or mbed OS2. So If you want to use WizFi310 on mbed OS5, You have to use another WizFi310 library(wizfi310-driver).
That is git repository for wizfi310-driver. - https://github.com/ARMmbed/wizfi310-driver
Revision 2:04c8d61984a3, committed 2017-04-10
- Comitter:
- kaizen
- Date:
- Mon Apr 10 09:54:34 2017 +0000
- Parent:
- 1:16e57103a7dd
- Child:
- 3:dae9a0924a73
- Commit message:
- Modified Socket Blocking Problem
Changed in this revision
| WizFi310Interface.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/WizFi310Interface.cpp Mon Oct 10 05:12:51 2016 +0000
+++ b/WizFi310Interface.cpp Mon Apr 10 09:54:34 2017 +0000
@@ -182,7 +182,7 @@
struct wizfi310_socket *socket = (struct wizfi310_socket *)handle;
int32_t recv = _wizfi310.recv(socket->id, (char*)data, size);
- if (recv < 0) {
+ if (recv <= 0) {
return NSAPI_ERROR_WOULD_BLOCK;
}
Wiznet Wi-Fi WizFi310