GSMA version

Dependencies:   FXOS8700CQ mbed sfh7779

Fork of StarterKit by Rick McConney

Files at this revision

API Documentation at this revision

Comitter:
elmkom
Date:
Mon Jan 09 18:25:31 2017 +0000
Parent:
45:fe90f1fcb4e0
Commit message:
republish starterkit shelf code

Changed in this revision

Wnc.cpp Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r fe90f1fcb4e0 -r 319a3f1e8ba9 Wnc.cpp
--- 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();
diff -r fe90f1fcb4e0 -r 319a3f1e8ba9 main.cpp
--- a/main.cpp	Wed Nov 30 14:50:16 2016 +0000
+++ b/main.cpp	Mon Jan 09 18:25:31 2017 +0000
@@ -469,13 +469,13 @@
      char modem_string[512];                
         
 #if PROXIMITYON == 1 
-/*           
-        if(count >= 5*120)
+           
+        if(count >= 5*30)
         {
             stripChanged[0] = true;
             stripChanged[1] = true;
         }
- */     
+    
         if(sw2 == 0)
         {
             stripChanged[0] = true;