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.
Dependencies: mbed FXOS8700CQ MODSERIAL
Revision 79:ff3014b3637e, committed 2016-08-15
- Comitter:
- fkellermavnet
- Date:
- Mon Aug 15 22:40:14 2016 +0000
- Parent:
- 78:00cca62e5d9f
- Child:
- 80:d635c0eddd6e
- Commit message:
- Been timing the URL resolve, it can take a long time sometime for the WNC to reply back with an IP or sometimes an error.; ; I increased the timeout for the dns resolve from 15 to 60 seconds. This is one more step toward better.
Changed in this revision
| wnc_control.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/wnc_control.cpp Mon Aug 15 21:46:21 2016 +0000
+++ b/wnc_control.cpp Mon Aug 15 22:40:14 2016 +0000
@@ -562,7 +562,7 @@
string * pRespStr;
string str(s);
str = "AT@DNSRESVDON=\"" + str + "\"";
- if (send_wnc_cmd(str.c_str(), &pRespStr, 15000) == 0)
+ if (send_wnc_cmd(str.c_str(), &pRespStr, 60000) == 0)
{
size_t pos_start = pRespStr->find(":\"") + 2;
size_t pos_end = pRespStr->rfind("\"") - 1;