DCS_TEAM / GSM_Library

Fork of GSM_Library by Danilo Bustamante

Revision:
17:360afa1e6809
Parent:
16:6807d437cd48
Child:
22:a5adf9331032
diff -r 6807d437cd48 -r 360afa1e6809 GSMLibrary.h
--- a/GSMLibrary.h	Fri Mar 06 22:14:50 2015 +0000
+++ b/GSMLibrary.h	Sat Mar 07 23:35:12 2015 +0000
@@ -23,8 +23,11 @@
 //Initialize DMA data transfer, and UART3.
 void gsm_initialize();
 
+//returns 1 for eady to send again, 0 for busy.
+bool gsm_ready();
+
 //begin message transmission
-void gsm_send_sms();
+void gsm_send_sms(char message[]);
 
 //Brings state machine back to initialize state (notice this is different than initialize function)
 //this will set flags to initial values and prepare gsm to work anew.