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 WncControllerLibrary by
Diff: WncController.h
- Revision:
- 29:69ada8524b4a
- Parent:
- 28:eece2151e1e5
- Child:
- 31:5db38ccccd1d
diff -r eece2151e1e5 -r 69ada8524b4a WncController.h
--- a/WncController.h Fri Sep 23 03:14:34 2016 +0000
+++ b/WncController.h Fri Sep 23 05:00:00 2016 +0000
@@ -426,6 +426,7 @@
static const uint16_t WNC_APNSET_TIMEOUT_MS = 60000; // How long to wait for the WNC to respond to setting the APN string.
static const uint16_t WNC_PING_CMD_TIMEOUT_MS = 60000; // Amount of time to wait for the WNC to respond to AT@PINGREQ (with cmd default params for timeout, does not change WNC cmd's timeout)
static const int WNC_REINIT_MAX_TIME_MS = 60000; // How long to wait for the WNC to reset after it was already up and running after power-up.
+ static const uint16_t WNC_SOCK_CLOSE_RETRY_CNT = 3; // How many times to try to close the socket if the WNC gives an error.
static const char * const INVALID_IP_STR; // Just a string set to an IP address when DNS resolve fails.
struct WncSocketInfo_s {
