[Gta04-owner] Modem is not reset when GTA04 is powered off

Matthias Apitz guru at unixarea.de
Fri Mar 9 21:34:12 CET 2012


El día Friday, March 09, 2012 a las 08:24:51PM +0000, Neil Jerram escribió:

> For GTA04A3, I'd like also to issue AT_ORESET (1) when booting up,
> before starting up oFono or FSO, and (2) when shutting down the phone.
> 
> But the problem is that I can't work out how to script this so that it's
> done automatically.  With "minicom -S ...", I can't make minicom quit
> after the "OK" comes.
> 
> Does anyone know how it's possible to script sending "AT_ORESET" and
> then expecting an "OK"?  (And similarly for AT+CHUP.)

chat -vs < /dev/....... > /dev/....... 2>/dev/null  \
   ''              \
   AT OK           \
   AT_ORESET OK

HIH

	matthias

-- 
Matthias Apitz
e <guru at unixarea.de> - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5


More information about the Gta04-owner mailing list