GSM library for nucleo L152RE

Dependencies:   Adafruit_GSM

Dependents:   Full-Project

Revision:
3:922cf54e97ec
Parent:
1:9e13d8a84808
--- a/GSM_Wrapper.h	Sat Dec 05 07:33:10 2015 +0000
+++ b/GSM_Wrapper.h	Mon Dec 07 00:05:29 2015 +0000
@@ -1,9 +1,18 @@
 #include "Adafruit_FONA.h"
 #include "main.h"
+#include "storage.h"
+
+#define FONA_BAUD_RATE 9600     // FONA baud rate
+#define ENABLE_GPRS_ATTEMPTS 5  // Number of attempts to enable GPRS if it fails
 
 #ifndef _GSM_WRAPPER_CLASS
 #define _GSM_WRAPPER_CLASS
 
+/* Class: GSM_Sensor
+ * -----------------
+ * A "wrapper" class for the GSM library, abstracting
+ * the Adafruit GSM library for use in this project.
+ */
 class GSM_Sensor {
     public:
         GSM_Sensor(): fona(FONA_TX, FONA_RX, FONA_RST, FONA_RI), key(FONA_KEY) {}