Pathfindr / Mbed OS mbed-os-PF-UWBBEACON_v1_dev

Dependencies:   aconno_I2C Lis2dh12 WatchdogTimer

Revision:
22:810425eb76e1
Parent:
21:e0b866630c27
Child:
23:a3b0ccf75ca5
diff -r e0b866630c27 -r 810425eb76e1 modem.h
--- a/modem.h	Thu Dec 20 22:04:45 2018 +0000
+++ b/modem.h	Sat Dec 22 19:33:35 2018 +0000
@@ -8,6 +8,9 @@
     #define UC20_BAUDRATE       115200
     #define SIM7600_BAUDRATE    115200
     #define USSD_MAXLENGTH      160
+    #define ATTIMEOUT_SHORT      5000
+    #define ATTIMEOUT_MED       10000
+    #define ATTIMEOUT_LONG      20000
     
     class Modem
     {
@@ -24,7 +27,7 @@
             bool USSDsend(char* message, int maxAttempts);
             char* USSDreceive(int messageIndex);
             char* USSDmessage(char* message, bool needResponse, int maxAttempts, char* api);
-            void getLocation(bool gps, bool cellLocate, uint8_t accuracy, uint16_t timeout_seconds); //accuracy is 1,2,3   low, med, high
+            char* getLocation(uint8_t accuracy, uint16_t timeout_seconds); //accuracy is 1,2,3   low, med, high
             
             //AT
             void flushSerial(void);