Seeed-Studio / GPRS_SIM900

library for GPRS shield with sim900 module.
MIT License
138 stars 96 forks source link

send SMS library return does not work #14

Closed javierpelaez closed 7 years ago

javierpelaez commented 7 years ago

Hello,

When I use the sendSMS method it always returns 0, it does not matter if the SMS has been sent correctly or not.

zella commented 7 years ago

It may be related with #7. I remember, that the problem was with DEFAULT_INTERCHAR_TIMEOUT 1500. I manually change it to bigger value and it becomes worked

ortegafernando commented 7 years ago

Change DEFAULT_INTERCHAR_TIMEOUT to 3000

Check again

nexus05 commented 7 years ago

Hello

I changed it from 1500 to 3000. No difference. method returns always false. I also tried 5000 and 10000. Does not work.