Go Down

Topic: ReceiveSMS example sketch (Read 1 time) previous topic - next topic

paolometeo2

Hi, 
I have some problems in receiving SMS message with the "ReceiveSMS" example sketch in the GSM library.
After the first SMS message, the programme does not receive any other messagge. I have to reset the programme in order to receive it.
Someone has had the same problem?  I am using an Italian SIM card in Italy.
thanks
Paolo
paolo
http://paolometeo.blogspot.it
www.meteoenergia.it

davidgoth

Hi,

Could you activate debug mode replacing "GSM gsmAccess;" line with "GSM gsmAccess(true);"?. Post your serial output.

paolometeo2

I did what you suggest. This is the result:

SMS Messages Receiver
AT%13%
0 23>AT%13%%13%%10%OK%13%%10%%13%%10%Call Ready%13%%10%
AT+CGREG?%13%
23 54>AT+CGREG?%13%%13%%10%+CGREG: 0,2%13%%10%%13%%10%OK%13%%10%
AT+CGREG?%13%
54 85>AT+CGREG?%13%%13%%10%+CGREG: 0,2%13%%10%%13%%10%OK%13%%10%
AT+CGREG?%13%
85 116>AT+CGREG?%13%%13%%10%+CGREG: 0,2%13%%10%%13%%10%OK%13%%10%
AT+CGREG?%13%
116 19>AT+CGREG?%13%%13%%10%+CGREG: 0,1%13%%10%%13%%10%OK%13%%10%
AT+IFC=1,1%13%
19 36>AT+IFC=1,1%13%%13%%10%OK%13%%10%
AT+CMGF=1%13%
36 54>%19%%17%AT+CMGF=1%13%%13%%10%OK%13%%10%
AT+CLIP=1%13%
54 70>AT+CLIP=1%13%%13%%10%OK%13%%10%
ATE0%13%
70 81>ATE0%13%%13%%10%OK%13%%10%
AT+COLP=1%13%
81 87>%13%%10%OK%13%%10%
GSM initialized
Waiting for messages
AT+CMGL="REC UNREAD",1%13%
87 83>%13%%10%+CMGL: 9,"REC UNREAD","www.119.it","","2012/10/23 08:35:23+08"%13%%10%TIM ti informa - a tutela della tua privacy - che sono sta
Message received from:
www.119.it
TIM ti informa - a tutela della tua privacy - che sono state visualizzate informazioni sul tuo traffico telefonico nell'Area Clienti 119 Self Service.
END OF MESSAGE
AT+CMGD=9%13%MESSAGE DELETED
AT+CMGL="REC UNREAD",1%13%AT+CMGL="REC UNREAD",1%13%AT+CMGL="REC UNREAD",1%13%AT+CMGL="REC UNREAD",1%13%AT+CMGL="REC UNREAD",1%13%AT+CMGL="REC UNREAD",1%13%AT+CMGL="REC UNREAD",1%13%AT+CMGL="REC UNREAD",1%13%AT+CMGL="REC UNREAD",1%13%


There are some SMS received from my Telephone company. Now I have unsubscribed this kind of SMS services. I must replay the test, but now I am traveling and I cannot try. Next days I will post the results.
thank-you
paolo
http://paolometeo.blogspot.it
www.meteoenergia.it

paolometeo2

Here I am
Attached you can find the log of the programm ReceiveSMS.
paolo
http://paolometeo.blogspot.it
www.meteoenergia.it

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy