gnokii-users
[Top][All Lists]
Advanced

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

Re: AT sms reading broken


From: Pavel Machek
Subject: Re: AT sms reading broken
Date: Tue, 17 Sep 2002 00:03:57 +0200
User-agent: Mutt/1.4i

Hi!

> > > > Next, it sometimes goes out of sync (like getting command echo instead
> > > > of reply, or getting unexpected okay), and gnokii segfaults if sms_len
> > > > is too small. I can reliably trigger that fprintf() by --getsms ME 1
> > > > 10 on siemens.
> > >
> > > That's not good. Could you please trace the place where is segfaults?
> >
> > Segfaulting is now fixed. However, this is what "saved" sms looks
> > like:
> >
> > address@hidden:~# gnokii --getsms ME 7 7
> > GNOKII Version 0.5.0pre
> > Initializing AT capable mobile phone ...
> > 7. Delivery Report (not read)
> > Sending date/time: 11/165/2000 32:87:93 -1600
> > Response date/time: 00/00/2000 00:00:00 0000
> > Receiver:  Msg Center: +420603052000
> > Text: Unknown
> 
> Strange. Could you please provide just the header of the message? It seems
> that we got some wrong offsets, but comparing the code to the
> specification everything looks good.

Here it is. It should be locally written, unsent message. It is
definitely not delivery report.
                                                                Pavel

GNOKII Version 0.5.0pre
Initializing AT capable mobile phone ...
write: [ATZ<cr>]
read : [ATZ<cr><cr><lf>OK<cr><lf>]
write: [ATE1<cr>]
read : [ATE1<cr><cr><lf>OK<cr><lf>]
write: [AT+CSCS?<cr>]
read : [AT+CSCS?<cr><cr><lf>+CSCS: "GSM"<cr><lf><cr><lf>OK<cr><lf>]
write: [AT+CGMM<cr>]
read : [AT+CGMM<cr><cr><lf>SL45i<cr><lf><cr><lf>OK<cr><lf>]
write: [AT+CGMI<cr>]
read : [AT+CGMI<cr><cr><lf>SIEMENS<cr><lf><cr><lf>OK<cr><lf>]
write: [AT+CMGR=5<cr>]
read : [AT+CMGR=5<cr><cr><lf>+CMGR: 
2,,18<cr><lf>0791246030500200110000810000FF0BD4F0FA6DCF83E8E5391D<cr><lf><cr><lf>OK<cr><lf>]
5. Delivery Report (not read)
Sending date/time: 110/165/2000 53:15:115 -1400
Response date/time: 00/00/2000 00:00:00 0000
Receiver:  Msg Center: +420603052000
Text: Unknown




-- 
Worst form of spam? Adding advertisment signatures ala sourceforge.net.
What goes next? Inserting advertisment *into* email?




reply via email to

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