I am using the example gsm receive SMS example. This is the part with the issue:
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");
}
this gets printed via serial:
Serial.println("SMS Messages Receiver");
but nothing after that.
Could it be due to not enough power? I am using the mega and the gsm shield and powered from usb. the only light on the GSM shield is the on led.
When I disconnected and reconnect the usb cable the status led goes on and the net led flashes on and off, then after a few seconds they both go off.