well,

when i say cnmi fails, i mean that i get an ERROR response. Just the
word ERROR. that will happen about 3 - 10 times on that modem. then it
will send the correct answer without any change!
So my simple solution was to set the retry count to 20. so now my
modem gets initialized always. but i would like to know the reason why
you implemented that retry count... is it knwon that cnmi fails? if so
what are the reason? my modem does the same thing when i want to have
CPMS information ...

greetings

Christian

On May 28, 9:24 pm, Thanasis <[email protected]> wrote:
> Hi,
>
> What do you mean by saying that the CNMI fails? Does this return an
> error or a value that smslib is not happy with? Can you give an
> example?
>
> Yes, its easy to bypass the code, but lets first see the response you
> get :)
>
> On May 28, 5:20 pm, christian <[email protected]> wrote:
>
> > Hi all,
>
> > first of all im impressed with smslib! great piece of software.
> > but i am having an issue with it...
>
> > but propably this is an issue with my modem ;)
>
> > ok, in class athandler you have a function called setindications...
> > it will try to read the response to AT+CNMI? 3 times in default (could
> > you tell me the reason why you retry that)?.
> > this function fails on my modem! at least in 50 % of all cases. when i
> > put the retrycound to 10 there is a bigger chance my modem gets
> > initiated.
>
> > is there any way to ignore the cnmi response and  take a default value
> > to instanciate the cnmidetector?
> > i did not check all that code, so i thought it would be easier to ask
> > the programmers ;)
>
> > is there any solution for such a scenario ?
>
> > thanks in advance
>
> > christian
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SMSLib User Group" 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