Sam Clarke / Mbed 2 deprecated GPS-GPRS_Tracker

Dependencies:   GPS MODSERIAL mbed-rtos mbed

Revision:
2:2b2c785c6627
Parent:
1:00c7dc0c1761
Child:
3:a5df4bd224ad
diff -r 00c7dc0c1761 -r 2b2c785c6627 main.cpp
--- a/main.cpp	Sun Oct 07 02:01:51 2012 +0000
+++ b/main.cpp	Sun Oct 07 02:05:15 2012 +0000
@@ -46,7 +46,7 @@
     GPRS.printf("AT+CMGF=1\r\n");
     wait(1);
     // Set the phone number
-    GPRS.printf("AT+CMGS=\"+61435404829\"\r\n");
+    GPRS.printf("AT+CMGS=\"+614<<NUMBER>>\"\r\n");
     wait(1);
     // Write out the GPS data in a message
     GPRS.printf("Time: %4.2f \nAltitude: %3.2fm\nSpeed: %3.2f Kn\nHeading: %3.2f Deg\nValidity: %c\nFix: %s\nSatellites: %d", gps.time, gps.altitude, gps.speed, gps.heading,gps.validity,gps.fixtype,gps.satellites);
@@ -56,7 +56,7 @@
     wait(3);
     GPRS.printf("AT+CMGF=1\r\n");
     wait(1);
-    GPRS.printf("AT+CMGS=\"+61435404829\"\r\n");
+    GPRS.printf("AT+CMGS=\"+614<<NUMBER>>\"\r\n");
     wait(1);
     GPRS.printf("Find me at....\n %s%f,%f%s", GoogleChunk, gps.latitude, gps.longitude, GoogleExtras);
     wait(1);