GSMA version
Dependencies: FXOS8700CQ mbed sfh7779
Fork of StarterKit by
Diff: Wnc.cpp
- Revision:
- 46:319a3f1e8ba9
- Parent:
- 45:fe90f1fcb4e0
--- a/Wnc.cpp Wed Nov 30 14:50:16 2016 +0000 +++ b/Wnc.cpp Mon Jan 09 18:25:31 2017 +0000 @@ -393,15 +393,15 @@ reply = send("AT%PDNSET?", WNC_WAIT_TIME_MS); - // pc.printf("Wiating ...\r\n"); - // wait(10); + //pc.printf("Wiating ...\r\n"); + //wait(10); reply = send("AT@INTERNET=1", WNC_WAIT_TIME_MS); // Internet services enabled if(cmdFailed(reply,"Failed to start INTERNET")) { return false; } - reply = send("AT@SOCKDIAL=1", WNC_WAIT_TIME_MS); + reply = send("AT@SOCKDIAL=1", 4*WNC_WAIT_TIME_MS); if(cmdFailed(reply,"SOCKDIAL Failed")) { // passthrough();