Version using RawSerial instead of Serial (thread safe)

Fork of FONA_Cellphone_Library by Dream Team

Revision:
4:243ae42bfd65
Parent:
3:7916fb0cc4b0
--- a/Adafruit_FONA.cpp	Tue Jul 04 08:40:08 2017 +0000
+++ b/Adafruit_FONA.cpp	Tue Jul 11 20:16:43 2017 +0000
@@ -210,6 +210,13 @@
     return status;
 }
 
+uint8_t Adafruit_FONA::setNetworkRoaming() {
+    
+    if (!sendCheckReply("AT+CREG=5", "OK", 10000)) return -1;
+    
+    return 1;
+       
+}
 
 uint8_t Adafruit_FONA::getRSSI(void) {
     uint16_t reply;