victor67470 / gsm-shield-arduino

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

10s for one loop() #48

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago

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

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