#
# chatscript to tidy up a GPRS phone when we are done with it.
#
# $Id: gprs-disconnect-chat,v 1.2 2001/12/17 17:29:27 tjd21 Exp $

# Boilerplate
#
	ABORT		BUSY
	ABORT		ERROR
	ABORT		'NO DIALTONE'
	TIMEOUT		30

# Get some attention
	''		'+++\c'
	SAY		" + sending break" 

# Hang up data connection
#
	''		'ATH'
	SAY		"\n + dropping data connection"

# Disconnect from GPRS
	OK		'AT+CGATT=0'
	SAY		"\n + disconnecting from GPRS"
	OK		'\c'
	SAY		"\n + disconnected."

