Hi,
My script connects the computer A with computer B via modem and uses the rget command (with a timeout of 20 seconds) to receive a ramdom string (finished with a Carriage Return) from computer B in an endless loop. Upon a disconnection, a when $CARRIER routine attempts to reconnect with AT commands but first it must set commandmode to off and then back to on. However, when the rget command is waiting for the string and there is a disconnection, commandmode doesnt have any effect and when the timeout of rget finish the screen show all the failed commandmode messages. Does anybody know how to solve this problem? Thanks in advance
My script connects the computer A with computer B via modem and uses the rget command (with a timeout of 20 seconds) to receive a ramdom string (finished with a Carriage Return) from computer B in an endless loop. Upon a disconnection, a when $CARRIER routine attempts to reconnect with AT commands but first it must set commandmode to off and then back to on. However, when the rget command is waiting for the string and there is a disconnection, commandmode doesnt have any effect and when the timeout of rget finish the screen show all the failed commandmode messages. Does anybody know how to solve this problem? Thanks in advance