Hello Thanasis

I call deleteMesage() in a for-loop from 0 to 10 (couldn't remember if
the index started at 1 or 0, but it dosn't seem to complain about non-
existant locations).
Calling deleteMessage() with an index of -1 leaves the message
untouched.  This is a low use service at present (only a handfull of
SMS messages a week).
For clarification I am using a Fargo-Maestro 20 modem and Win XP as an
OS.  I am using the SIM memory only to store texts and delete them
from the SIM after processing them.

Many thanks
Paul



On Oct 7, 1:57 pm, Thanasis <[EMAIL PROTECTED]> wrote:
> Hello Paul,
>
> how do you "purge the buffer"? Do you mean that you call the
> deleteMessage() with a message of -1 index?
>
> On Oct 7, 2:12 pm, weals <[EMAIL PROTECTED]> wrote:
>
> > Hi
> > I have been using SMSlib for some time for incoming messages (helpdesk
> > requests).  It has been working fine except occasionaly it gets a
> > message with a reported memory index of -1.  As this is not a real
> > address the message stays in the buffer and is read on each reboot.
> > It would appear that this occurs if a message is recieved at the time
> > of a reboot.  I have got round this by purging the buffer after
> > reading all current messages, if a memory index of -1 is found.
>
> > Has anybody else experienced this?
>
> > Many Thanks
> > Paul
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SMSLib Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/SMSLib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to