[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Sending multiple SMSs via libgnokii
From: |
Pawel Kot |
Subject: |
Re: Sending multiple SMSs via libgnokii |
Date: |
Wed, 30 Mar 2011 17:21:05 +0200 |
Hi,
On Wed, Mar 30, 2011 at 16:26, Peter Koch <address@hidden> wrote:
> Thanks very much for your answer, but I must be overlooking some trivial
> detail. It still does not work without reinitializing gnokii between every
> SMS.
>
> I would very much appreciate if you could have a look at the following
> source. Whenever state==NULL this routine will sucessfully send
> a SMS. If state!=NULL (i.e. state still contains the value from a
> previous invocation of gnokii_send) gn_sms_send will fail with a
> timout-error. My production code contains lots of debugging and
> error-handling code, which I removed to enhance readability.
Are you able to send multiple messages with --shell command?
state==NULL means full initialization is required. But it should do
just fine without it. smsd also sends multiple messages without
reinitialization.
--
Pawel Kot