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:
6:007cec5e96c0
Parent:
5:72212beb817c
Child:
7:08771e4906bb
--- a/WizFi310/WizFi310_msg.cpp	Mon Jun 26 00:17:10 2017 +0000
+++ b/WizFi310/WizFi310_msg.cpp	Mon Jun 26 00:21:58 2017 +0000
@@ -305,7 +305,7 @@
     int cid;
 
     //if(buf[12] < '0' || buf[12] > '8' || buf[13] != ']')    return;
-    if( isdigit (buf[9])) return;
+    if( isdigit (buf[12])) return;
 
     cid = x2i(buf[12]);
     _con[cid].connected = false;
@@ -338,7 +338,7 @@
     int cid;
 
     //if(buf[8] < '0' || buf[8] > '8' || buf[9] != ']')   return;
-    if( isdigit (buf[9])) return;
+    if( isdigit (buf[8])) return;
 
     cid = x2i(buf[8]);
     _state.cid = cid;
@@ -410,7 +410,7 @@
     char *c;
 
 //    if( (buf[0] < '0' || buf[0] > '8') )    return;
-    if( isdigit (buf[9])) return;
+    if( isdigit (buf[0])) return;
 
     cid = x2i(buf[0]);
     if( cid != _state.cid )                 return;