Beispiel #1
0
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();

    suspendDone();
}
void HtcuniversalModemService::suspend()
{
  HtcuniversalGsmPower::getInstance(this)->disableNotifications();
  QTimer::singleShot(500, this, SLOT(suspendDone()));
}
Beispiel #3
0
/*!
    Processes a request to suspend modem operations and to put the
    modem into a low-power state.  The modem vendor plug-in must call
    suspendDone() once the operation completes.  The default implementation
    calls suspendDone().

    This is intended for modems that need a special AT command or
    device \c ioctl operation to suspend the modem.  If the modem does
    not need any special help, this function can be ignored.

    This function is called in response to a \c{suspend()} command
    on the QCop channel \c{QPE/ModemSuspend}.

    \sa wake(), suspendDone()
*/
void QModemService::suspend()
{
    suspendDone();
}