tuongnq / gsm-shield-arduino

Automatically exported from code.google.com/p/gsm-shield-arduino
0 stars 0 forks source link

read SMS #66

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hello, thanks for this library. show
Please, I'm using the example GSM_GPRSLibrary_SMS.ino and a GPRS card 
(http://www.elecfreaks.com/wiki/index.php?title=EFCom_GPRS/GSM_Shield).

- Arduino Uno and duamilanove.
- IDE 1.0.3
- Linux

The problem is that I could read the SMS only 2 times I sent several messages.

Can you tell me what to do?

thank you very much

Sérgio

Original issue reported on code.google.com by sergioli...@gmail.com on 13 Mar 2013 at 3:45

GoogleCodeExporter commented 8 years ago
Hi Sergio,
Can you describe better your experience?
If you send only one SMS, can you read it?
If you send two SMS, can you read theme?
If you send several SMS, you can read only two. Isn't it?

Thanks,

Marco

Original comment by martines...@gmail.com on 13 Mar 2013 at 12:13

GoogleCodeExporter commented 8 years ago
Hi Marco,

I sent one and waited a few minutes, nothing.
I sent two and then in sequence and nothing more.

at some point so I called the arduino and sent a message he read and shown on 
the monitor sent messages and nothing new.

I turned off the machine and called again and repeated the process and nothing.

thank you very much

Sérgio

Original comment by sergioli...@gmail.com on 13 Mar 2013 at 1:41

GoogleCodeExporter commented 8 years ago
hello,

Today I found this post 
(https://code.google.com/p/gsm-shield-arduino/issues/detail?id=64) saying how 
to enable debugging:

GSM.h
# define DEBUG_ON

So I have the following outputs

AFTER TURN-ON THE ARDUINO

GSM Shield testing.
ATT: 
OKRIC: 
OK

DB:ELSE
ATT: 
OKRIC: 
OK

DB:ELSE
ATT: 
OKRIC: 
OK

DB:ELSE
ATT: 
OKRIC: 
OK

DB:CORRECT BR
ATT: 
OKRIC: 
OK

ATT: 
OKRIC: 
OK

ATT: 
OKRIC: ATE0

OK

ATT: 
OKRIC: 
OK

ATT: 
OKRIC: 
OK

ATT: 
OKRIC: 
OK

ATT: 
OKRIC: 
OK

ATT: 
+CPMS:RIC: 
+CPMS: 0,50,0,50,0,50

OK

ATT: 
OKRIC: 
OK

ATT: 
SHUT OKRIC: 
SHUT OK

status=READY
ATT: 
+CMGLRIC: 
OK

ATT: 
OKRIC: 
ERROR

ATT: 
+CMGLRIC: 
OK

...

---------------------------------

AFTER SENDING A MESSAGE WITH TEXT TEST

ATT: 
+CMGLRIC: 
OK

ATT: 
OKRIC: 
ERROR

ATT: 
+CMGLRIC: 
+CMGL: 1,"REC UNREAD","011983002197","","13/03/13,13:28:36-12"
Test

OK

ATT: 
+CMGLRIC: 
+CMGL: 1,"REC UNREAD","011983002197","","13/03/13,13:28:36-12"
Test

OK

ATT: 
+CMGLRIC: 
+CMGL: 1,"REC UNREAD","011983002197","","13/03/13,13:28:36-12"
Test

OK

it loops and keeps repeating the message.

But if I disable debug shows nothing on the screen.

Thanks

Sérgio

Original comment by sergioli...@gmail.com on 13 Mar 2013 at 4:30

GoogleCodeExporter commented 8 years ago
hello, I used this example and learned to use the function .. thanks

http://www.open-electronics.org/ikea-sms-lamp-with-gsm-shield/

Original comment by sergioli...@gmail.com on 16 Apr 2013 at 8:24

GoogleCodeExporter commented 8 years ago
This issue section is not longer supported.
Please check the support page www.gsmlib.org 

Original comment by martines...@gmail.com on 6 Jul 2013 at 11:26

GoogleCodeExporter commented 8 years ago
This issue section is not longer supported.
Please check the support page www.gsmlib.org 

Original comment by martines...@gmail.com on 6 Jul 2013 at 11:27