gnokii-users
[Top][All Lists]
Advanced

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

Re: Sending SMS via libgnokii


From: Pawel Kot
Subject: Re: Sending SMS via libgnokii
Date: Mon, 28 Nov 2011 22:37:07 +0100

Hi Peter,

On Mon, Nov 28, 2011 at 18:04, Peter Koch <address@hidden> wrote:
> Thank's very much for your answer.
>
>> Why own application?
>
> My application is a unix daemon that receives messages from
> different sources and inserts these messages into an Oracle
> Database. Some high-priority messages are sent out to our
> administrators mobile phones and that's where I'm using libgnokii.

Not that it does not make sense, but wouldn't it be easier to use smsd
for that purpose? I agree that your solution would be smaller,
probably faster and your own. But smsd would match your needs.

>> Probably because phone closes the connection on inactivity. Instead of
>> waiting, send any request (which makes sense). I've actually wanted to
>> implement GN_OP_PING for several years already but failed to. But you
>> can request the date or whatever to keep alive the connection.
>>
>> I think it might not be the case with more modern phones. I mean they
>> would not disconnect.
>
>  I will try to "ping" the phone. That should be faster than closing
> and reopening the whole stack.

It certainly will. Just will drain the battery more.

take care,
-- 
Pawel Kot



reply via email to

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