mlinaje/gsm-shield-arduino

10s for one loop()

Closed this issue · 3 comments

What steps will reproduce the problem?
I am using the code of the GSM_GPRSLibrarySMS. The called function is:
gsm.readSMS(smsbuffer, 160, n, 20)

One function call will need exactly 10s which cause, that my loop() will need 
also 10s for one cycle.

What I have tried:
1) Change bautrate to 2400, 4800, 9600. => Nothing changed
2) Opened SIM900.cpp and change inside the readSMS(...) function the 
gsm.WaitResp(5000, 50, "OK");  to a shorter wait period => Nothing changed.

How can the problem be solved? In the old library, the cycle speed was higher.


What version of the product are you using? On what operating system?
GSM SIM900 with version 3.03 on Windows 7.


Thank you for any hints.

Felix

Original issue reported on code.google.com by felixgro...@gmail.com on 30 Oct 2012 at 8:50

2) Opened SIM900.cpp and change inside the readSMS(...) function the 
gsm.WaitResp(5000, 50, "OK");  to a shorter wait period => Nothing changed.

this should solve your problem... Does it happen also when you have a new SMS 
or ever?

Original comment by martines...@gmail.com on 12 Nov 2012 at 11:05

Original comment by martines...@gmail.com on 11 Dec 2012 at 5:01

  • Changed state: Done
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

  • Changed state: Fixed