The serial console prints: Serial.println("SMS Messages Receiver");
But it never prints anything after it so its not getting past:
if (gsmAccess.begin(PINNUMBER) == GSM_READY)
I have tried the sim supplied by arduino, and the recoption is high when on my phone.
I also tried my own sim card, I am in Ireland.
Any idea how to get this thing working? Thanks!
I have also tried my pin number and blank.
void setup()
{
// initialize serial communications and wait for port to open:
Serial.begin(9600);
while (!Serial) {
; // wait for serial port to connect. Needed for Leonardo only
}
Serial.println("SMS Messages Receiver");
// connection state
boolean notConnected = true;
// Start GSM connection
while (notConnected)
{
if (gsmAccess.begin(PINNUMBER) == GSM_READY)
notConnected = false;
else
{
Serial.println("Not connected");
delay(1000);
}
}
Serial.println("GSM initialized");
Serial.println("Waiting for messages");
}