Can only receive 1 SMS per reset

Hi There,

I"m using the Arduino GSM Shield and a pre-paid H20 SMS card.

When I set this up yesterday it worked well, received multiple SMS's and was also able to control functions on my board, and re-sent SMS messages.

Today, nothing works. (no changes in between).

Even the stock code example only works once (will receive 1 SMS message) then sms.availible() will not return any more messages (even if there are).

If I power cycle the next message will show up... etc.

Any suggestions??

Eben

I resolved this by creating a script calling scanner.begin() which resets the modem and then using sms.flush to clear the sms buffer.

Somehow my sms buffer was completely full of txts (prob. because I forgot to use this command in my original code) and once full it would hang after receiving just one (even after adding this line back in), by running the above script for about an hour (receive, sms.flush, reset) it cleared out all the txts.

To get reliable in the field operation i've added a reset every 5 minutes or so for the modem which seems to be working fine.

I'm not sure why this is necessary (or if it would be, going forward), but it works for me.

There seems to be a few bugs in the GSM libraries based on my readings on the forum.

Anyone else have these issues? Anyone else resolve them a different way?

Thank you

E

hi, can you execute ReceiveSMS example with debug mode??

To actívate debug mode, replace this line:
GSM gsmAccess;
with:
GSM gsmAccess(true);