Modified example with AT command traces for AT%MEAS, AT%PCONI and AT%CGEQOS. Loading times calculated for each cloud transfer
Dependencies: FXOS8700CQ MODSERIAL mbed
Fork of Avnet_ATT_Cellular_IOT by
Diff: wnc_control.cpp
- Revision:
- 19:f89baed3bd6f
- Parent:
- 10:df54436ecd38
- Child:
- 22:41e6c417ace1
diff -r b08471eb1d1c -r f89baed3bd6f wnc_control.cpp --- a/wnc_control.cpp Wed Jul 13 15:57:38 2016 +0000 +++ b/wnc_control.cpp Wed Jul 13 17:35:14 2016 +0000 @@ -62,6 +62,8 @@ { do { + at_at_wnc(); + at_at_wnc(); WNC_MDM_ERR = WNC_OK; at_sockopen_wnc(MyServerIpAddress, MY_PORT_STR); if (WNC_MDM_ERR == WNC_NO_RESPONSE) @@ -214,6 +216,12 @@ } } +void at_at_wnc(void) +{ + string * pRespStr; + send_wnc_cmd("AT", &pRespStr, WNC_TIMEOUT_MS); // Heartbeat? +} + void at_init_wnc(void) { string * pRespStr;