Tracks GPS coordinates of an asset. Uses: GPS GSM Accelerometer mbed
Dependencies: mbed MODSERIAL ADXL345 MODGPS
sms.h@0:4415987ca08f, 2012-05-04 (annotated)
- Committer:
- gsulc
- Date:
- Fri May 04 14:11:45 2012 +0000
- Revision:
- 0:4415987ca08f
v0.5
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
gsulc | 0:4415987ca08f | 1 | // Library for sending GSM SMS Messages |
gsulc | 0:4415987ca08f | 2 | |
gsulc | 0:4415987ca08f | 3 | #ifndef _SMS_H_ |
gsulc | 0:4415987ca08f | 4 | #define _SMS_H_ |
gsulc | 0:4415987ca08f | 5 | |
gsulc | 0:4415987ca08f | 6 | #include "mbed.h" |
gsulc | 0:4415987ca08f | 7 | #include "MODSERIAL.h" |
gsulc | 0:4415987ca08f | 8 | #include <string> |
gsulc | 0:4415987ca08f | 9 | |
gsulc | 0:4415987ca08f | 10 | #define SUB 0x1A // substition char for Ctrl+Z |
gsulc | 0:4415987ca08f | 11 | |
gsulc | 0:4415987ca08f | 12 | void GSM_init(); |
gsulc | 0:4415987ca08f | 13 | void send_SMS(string phoneNumber, string text); |
gsulc | 0:4415987ca08f | 14 | void check_SMS(); |
gsulc | 0:4415987ca08f | 15 | int messageProcess(); |
gsulc | 0:4415987ca08f | 16 | void messageReceive(MODSERIAL_IRQ_INFO *q); |
gsulc | 0:4415987ca08f | 17 | |
gsulc | 0:4415987ca08f | 18 | #endif |