From 81a2bb8073b95d438911a62a7f4d8244ef58e20a Mon Sep 17 00:00:00 2001 From: zecke Date: Thu, 24 Oct 2002 20:43:25 +0000 Subject: Modem is now working Kindly called from Germany to Switzerland via rfcomm( affix) + Nokia6210 + Vodafone... But now it's working might be a hangup problem somewhere --- (limited to 'noncore/apps/opie-console/io_modem.cpp') diff --git a/noncore/apps/opie-console/io_modem.cpp b/noncore/apps/opie-console/io_modem.cpp index b7901b9..896c24f 100644 --- a/noncore/apps/opie-console/io_modem.cpp +++ b/noncore/apps/opie-console/io_modem.cpp @@ -16,11 +16,13 @@ IOModem::~IOModem() { void IOModem::close() { // Hangup, discarding result - int fd = rawIO(); - Dialer d(m_profile, fd); +// int fd = rawIO(); + internDetach(); + Dialer d(m_profile, m_fd); d.setHangupOnly(); - d.exec(); - closeRawIO(fd); + //d.exec(); + internAttach(); +// closeRawIO(fd); IOSerial::close(); } -- cgit v0.9.0.2