vshymanskyy / TinyGSM

A small Arduino library for GSM modules, that just works
GNU Lesser General Public License v3.0
1.91k stars 708 forks source link

Avoid unnecessary timeout when receiving "SEND FAIL" response from SIM7000 modem #750

Closed Gelemikke closed 1 month ago

Gelemikke commented 10 months ago

Add support for "SEND FAIL" response from SIM7000 modem

Without this change the transmission pauses for 1 second when "SEND FAIL" is received from the modem as the code ends up in the unhandled case in waitResponse() after the default 1 second timeout. This significantly reduces the possible throughput.