Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: GPS MODSERIAL mbed-rtos mbed
You are viewing an older revision! See the latest version
Homepage
Note: This is just a prototype. Currently the GPRS shield is switched on manually, and should be done about 10 seconds before powering the mbed/GPS in order to keep the buffer clean during start up. This could easily be fixed by switching the GPRS shield with the mbed at start up, waiting the 10 seconds, then flush the buffer. Also the phone number is set in main.cpp, however we do retrieve the SMS index from the notification so retrieving the senders number and message can be done quite easily.
Some things to save debug time....
Don't use
memset(GPRSbuffer, '\0', 512);
Instead use use
memset(GPRSbuffer, '0', 512);
Allow time for an instruction to be processed and "$$OK$$" to return before overwriting GPRSbuffer.
The Seeed GPRS shield http://www.seeedstudio.com/depot/gprs-shield-p-779.html?cPath=132_134
The Adafruit Ultimate GPS http://www.adafruit.com/products/746