Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of WizFi310Interface_Legacy by
Diff: WizFi310/WizFi310_ifc.cpp
- Revision:
- 1:e08ea0ee2788
- Parent:
- 0:774ff1e8b26b
diff -r 774ff1e8b26b -r e08ea0ee2788 WizFi310/WizFi310_ifc.cpp
--- a/WizFi310/WizFi310_ifc.cpp Wed Apr 19 00:46:44 2017 +0000
+++ b/WizFi310/WizFi310_ifc.cpp Tue May 02 00:31:36 2017 +0000
@@ -29,7 +29,10 @@
{
reset();
- cmdAT();
+ for(int i=0;i<10;i++)
+ {
+ if( cmdAT() == 0 ) break;
+ }
if( cmdMECHO(false) == -1) return false;
//if( cmdMECHO(true) == -1) return false;
if(_cts != NULL && _rts != NULL)
