Tracks GPS coordinates of an asset. Uses: GPS GSM Accelerometer mbed
Dependencies: mbed MODSERIAL ADXL345 MODGPS
Diff: sms.h
- Revision:
- 0:4415987ca08f
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sms.h Fri May 04 14:11:45 2012 +0000 @@ -0,0 +1,18 @@ +// Library for sending GSM SMS Messages + +#ifndef _SMS_H_ +#define _SMS_H_ + +#include "mbed.h" +#include "MODSERIAL.h" +#include <string> + +#define SUB 0x1A // substition char for Ctrl+Z + +void GSM_init(); +void send_SMS(string phoneNumber, string text); +void check_SMS(); +int messageProcess(); +void messageReceive(MODSERIAL_IRQ_INFO *q); + +#endif \ No newline at end of file