Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Revert "gta04 - dont close port on suspend"
This reverts commit 7e15aa0.

I am still getting missed calls - probably caused by not working
serial port. I am now getting:

neo Qtopia: Modem :  write( 15 ) errno =  5
  • Loading branch information
radekp committed Jul 12, 2012
1 parent df17f2e commit 5fc8bfc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions devices/gta04/src/plugins/phonevendors/neo/vendor_neo.cpp
Expand Up @@ -200,9 +200,9 @@ void NeoModemService::suspend()
qLog(Modem) << " Gta04ModemService::suspend()";
//chat("AT_OSQI=0"); // unsolicited reporting of antenna signal strength, e.g. "_OSIGQ: 3,0"

//primaryAtChat()->suspend();
//QSerialIODevice *port = multiplexer()->channel("primary");
//port->close();
primaryAtChat()->suspend();
QSerialIODevice *port = multiplexer()->channel("primary");
port->close();

suspendDone();
}
Expand All @@ -211,9 +211,9 @@ void NeoModemService::wake()
{
qLog(Modem) << " Gta04ModemService::wake()";

//QSerialIODevice *port = multiplexer()->channel("primary");
//port->open(QIODevice::ReadWrite);
//primaryAtChat()->resume();
QSerialIODevice *port = multiplexer()->channel("primary");
port->open(QIODevice::ReadWrite);
primaryAtChat()->resume();

post( "modemresumed" );

Expand Down

0 comments on commit 5fc8bfc

Please sign in to comment.