hi all:
sorry my english is poor. i use smslib-v3.5.1 send and recv
message on Wavecom GSM. send a message or recv a message whit PDU
Protocol, it is good. one day, test status report info with
OutboundMessage.setStatusReport(true), send is ok, recv a status
report message.
log is :
========================
SEND :AT+CPMS="SR"(cr)
RECV :(cr)(lf)+CPMS: 2,50,0,50(cr)(lf)(cr)(lf)OK(cr)(lf)
SEND :AT+CMGL=4(cr)
RECV :(cr)(lf)+CMGL: 1,1,,25(cr)
(lf)000000FF0006BA0BA13192501764F01121705133012311217051(cr)(lf)(cr)
(lf)OK(cr)(lf)
========================
read "SR" Storage Location message is
"000000FF0006BA0BA13192501764F01121705133012311217051", but it can't
be parse to a StatusReportMessage, it parse to a InboundMessage, and
the InboundMessage getOriginator() is null,content is
F01121705133012311217051.
change sim card and test again.
i catch a another StatusReportMessage, log is
========================
SEND :AT+CPMS="SR"(cr)
RECV :(cr)(lf)+CPMS: 2,50,0,50(cr)(lf)(cr)(lf)OK(cr)(lf)
SEND :AT+CMGL=4(cr)
RECV :(cr)(lf)+CMGL: 1,1,,25(cr)
(lf)0006940BA13174034481F0112170119395231121701104302300(cr)(lf)(cr)
(lf)OK(cr)(lf)
========================
'0006940BA13174034481F0112170119395231121701104302300 ' parse to a
StatusReportMessage. it good, and ((StatusReportMessage)
recvMsg).getRecipient() is not null, is my phone number, so it's
work.
but "000000FF0006BA0BA13192501764F01121705133012311217051" can't
parse to a StatusReportMessage, is any where wrong?
--
You received this message because you are subscribed to the Google Groups
"SMSLib Discussion 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.