2009/10/21 Andrey <[email protected]>: > > I use SonyEricsson z710i. > I turn on delivery report support, > I sent sms from phone with delivery report, > Sent sms by code, buy without delivery report . > > msg = new OutboundMessage( "+380234567890", "hello from smslib" ) ; > msg.setEncoding( MessageEncodings.ENCUCS2 ) ; > msg.setStatusReport(true) ; > >
> DEBUG [Thread-4] smslib logDebug- GTW: modem.com6: SEND :AT+CNMI=?(cr) > DEBUG [Thread-4] smslib logDebug- GTW: modem.com6: BUFFER: +CNMI: (2), > (0,1,3),(0,2),(0,1),(0) > OK > > DEBUG [Thread-4] smslib logDebug- GTW: modem.com6: RECV :+CNMI: (2), > (0,1,3),(0,2),(0,1),(0)(cr)OK(cr) > DEBUG [Thread-4] smslib logDebug- CNMI: Found best match: 2 > DEBUG [Thread-4] smslib logDebug- CNMI: Found best match: 1 > DEBUG [Thread-4] smslib logDebug- CNMI: Found best match: 0 > INFO [Thread-4] smslib logInfo- CNMI: No best match, returning: 1 > DEBUG [Thread-4] smslib logDebug- CNMI: Found best match: 0 > DEBUG [Thread-4] smslib logDebug- GTW: modem.com6: SEND :AT > +CNMI=2,1,0,1,0(cr) using such CNMI setting, the devilery report is not stored in the memory, instead using unsolicited result code +CDS: <length><CR><LF><pdu> AFAIK SMSlib can't handle this +CDS unsolicited result code yet. SMSLib supports only +CDSI unsolicited result code for the delivery report. But you can use the code mentioned in the following smslib issue tracker to solve your problem http://code.google.com/p/smslib/issues/detail?id=111 I also used the code to solve status report problem for Itegno3000. regards, --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SMSLib for Java 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 -~----------~----~----~----~------~----~------~--~---
