Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.naic.edu/~phil/hardware/vertex/sharemegsvertex/lcu/pcr/pctcp/HANGUP.SCR
Дата изменения: Tue Mar 6 23:48:36 2001
Дата индексирования: Thu Jan 15 10:47:11 2009
Кодировка:

Поисковые слова: arp 220
; HANGUP.SCR
;
; Use this template with the COMSCRPT command and Hayes compatible modems.
; For other modems, consult your modem documentation. If you change
; a modem command prefix, be sure to use uppercase characters.
;
; Switch the packet driver from character mode to packet mode
;
changemode packet
;
; Send a request to close the lcp layer.
;
signal lcp close
;
; Pause to confirm that the lcp layer is closed.
;
poll lcp close
;
; Switch the packet driver from packet mode to character mode
;
changemode character
;
; Pause for 2 seconds.
;
pause 2
;
; Send an attention sequence to the modem so that it recognizes the
; character sequences that follow as modem commands.
;
send +++
;
; Pause for 2 seconds.
;
pause 2
;
; Send a hang-up command that ends the connection.
;
send ATH0\r
;
; Pause for 1 second.
;
pause 1