D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Checking modem status

 

I'd have thought that if you used "expect" with a serial program that
redirects /dev/modem to stdout and stdin - would you not get the
required result?

Something like:
spawn [serial program]
send "OK"
expect "AT"

Hope that's some help.

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq