adafruit/Adafruit_FONA

The timeout of the pickup() method is too short

AberDerBart opened this issue · 2 comments

  • Arduino board: Adafruit Feather FONA
  • Arduino IDE version 1.8.9

The timeout for the pickup() method is only the default timeout (500ms). Sometimes, this timeout is not enough, the response comes shortly after the method times out and returns false.

The SIM800 AT command manual specifies a maximum response time of 20s for voice calls. I therefore suggest changing the timeout for this method to 20s. Optionally, a timeout parameter could be added with 20s as default in case someone needs a shorter timeout.

Similar issues could affect other AT commands used, i did not check it yet.

Fixed in #108 (unfortunately not for FONA 3G)

It's possible that it isn't even an issue for FONA 3G though - I could not find any information in the AT command manual.