With my GPRS modem I encounter very long durations for ATD*99***1# command used for establishing the connection (more than 2 minutes in some areas with low RSSI - Received signal strength indication).
My question is twofold:
As the timeout for the ATD command is not specified in the datasheet of the modem, what is the maximum duration that I could expect ? 5, 10 minutes ? (I would like to have the timeout in the chat script consistent with the timeout of the modem)
In case I cannot manage a reasonable timeout, how could I interrupt the ATD command (the modem is still in AT-command mode, not in data mode, so +++ won't work I suppose)
For information the sequence in nominal case is:
send(ATD*99***1#)
recv(CONNECT)
Thank you.