Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Feb 2000 16:49:00 -0800
From:      "Ptacek" <ptacek@dashmail.net>
To:        <freebsd-questions@FreeBSD.ORG>, <freebsd-hackers@FreeBSD.ORG>
Subject:   modem program... Help
Message-ID:  <013701bf7f2a$1c4681c0$0301a8c0@Ptacek>

next in thread | raw e-mail | index | archive | help
Hi,  I am currently writing a program that will use an attached 
modem to dial and connect to a remote site to gather data.  I
have been able to dial, connect, send data back and forth, but
I just can't seem to get the modem to hangup.  I probably have
to bring the DTR low (+++ATH<CR> doesn't work).  How
do I do this?  Also how can I detect if the modem is in 
command mode, for example if the line gets unplugged and I
get a NO CARRIER back how do I know to read that as a
command instead of data?  

 Thanks,
   Chris



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?013701bf7f2a$1c4681c0$0301a8c0>