Pathfindr / Mbed OS mbed-os-PF-UWBBEACON_v1_dev

Dependencies:   aconno_I2C Lis2dh12 WatchdogTimer

Revision:
27:fa76f5a08195
Parent:
26:fa3579737329
Child:
30:7e90ddd7ed12
--- a/modem.cpp	Sun Dec 23 21:13:19 2018 +0000
+++ b/modem.cpp	Sun Dec 23 22:37:25 2018 +0000
@@ -81,11 +81,14 @@
             ATwaitForWord("OK",ATTIMEOUT_SHORT);
             
             //PRIORITISE 2G connection (reason being uses less power in some instances and can get cell tower tirangulation)
-            ATsendCMD("AT+QCFG=\"nwscanseq\",1");
+            ATsendCMD("AT+QCFG=\"nwscanseq\",1"); //2G priority
+            //ATsendCMD("AT+QCFG=\"nwscanseq\",2"); //3G priority
+            //ATsendCMD("AT+QCFG=\"nwscanseq\",0"); //AUTO
             ATwaitForWord("OK",ATTIMEOUT_SHORT);
             
-            //2G only
-            //ATsendCMD("AT+QCFG=\"nwscanmode\",1");
+            //CONNECTION TYPE
+            //ATsendCMD("AT+QCFG=\"nwscanmode\",1"); //2G only connection
+            //ATsendCMD("AT+QCFG=\"nwscanmode\",2"); //3G only connection
             //ATwaitForWord("OK",ATTIMEOUT_SHORT);
             
             return true;