gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trouble on Sending a Lot of SMS


From: Jan Derfinak
Subject: Re: Trouble on Sending a Lot of SMS
Date: Fri, 3 Nov 2006 10:59:44 +0100 (CET)

On Fri, 3 Nov 2006, Jari Turkia wrote:

> So do I. To my understanding the connection media has no effect. The phone
> simply "falls asleep" after inactivity. However, the condition is detectable
> and what I do is, reset the gnokii connection after three failures within 5
> minutes. In my case, that does the trick.

In smsd is this code but I think it doesn't help in this case:

static void RealConnect (void *phone)
{
 ...
  while (1)
  {
   ...
    g_print (_("GN_OP_GetSMSFolderStatus at line %d in file %s returns error 
%d\nRestarting connection."), __LINE__, __FILE__, error);
    break;
   ...
  }
 ...
}


void *Connect (void *phone)  
{
  while (1)
  {
    RealConnect (phone);
    busterminate ();
    sleep (1);
  }
}


jan

-- 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]