Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Commandmode problem

Status
Not open for further replies.

DJWF1

Programmer
Aug 13, 2001
6
AU
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top