We conclude then that based on the log and Issue #111, Sony Ericsson K750 mobile phone supports SMS-STATUS-REPORT type 1 and it returns "+CSD" indication (instead of "+CSDI").
Would you find it a good idea to keep a separate mobile devices list with the ones that do not support SMS-STATUS-REPORT type 2 and thus, are unable to receive status reports (at least, for the time being :) On 11 Οκτ, 22:26, Thanasis <[EMAIL PROTECTED]> wrote: > Hi, > > No, the current code base does not have the changes from issue #111. > Actually, it was never implemented. The issue is more complicated than > just the regex in that array... > > On Oct 11, 9:01 pm, "dimitrios.barpakis" > > > > <[EMAIL PROTECTED]> wrote: > > Hello again, > > > I am actually using Sony Ericsson K750 which is the only phone that I > > managed to send messages from the ones I have available. On the other > > hand, studying Issue #111 and an AT Commands manual, I have the > > impression that the following log lines resemble a response reporting > > that the message has indeed been delivered successfully after all: > > > ******************* > > 61039 [Thread-2] DEBUG org.smslib - GTW: modem.COM2: BUFFER: +CDS: 29 > > 069F0A8196559659218001110202952180011102126021000000000012 > > OK > > ******************* > > > If this is true, shouldn't I receive a StatusReportMessage? > > > Another question refers to some suggested modifications on the > > discussion that has taken place about Issue #111. The code I use has > > the old terminator and not the new one. Hasn't this change took place > > in version 3.3.0? Is there a chance I could have an old version of the > > code? > > > On 11 Οκτ, 19:58, Thanasis <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > Yes, status report messages should be send back to SMSLib as normal > > > inbound > > > message (of class StatusReportMessage). > > > > Some mobiles (especially Motorolas) have been reported not to work with > > > status reports. I don't know if you are facing a similar problem. > > > Do you have any other mobile available to test? > > > > 2008/10/11 dimitrios.barpakis <[EMAIL PROTECTED]> > > > > > My intention is to receive a delivery report after a message has been > > > > successfully sent to the recipient. If I am not mistaken this kind of > > > > functionality is supported by SMSLib. I have instantiated an > > > > InboundNotification and set it to Service instance, according to > > > > examples.modem.ReadMessages class and then preparing a message by > > > > setting the statusReport var to "true" for sending it. > > > > > Testing cases included sending a message both synchronously and > > > > asynchronously and then receiving messages; I never managed though to > > > > get any InboundMessage reporting a successful delivery (although the > > > > message has been delivered). > > > > > My main question is: Is a delivery report message supposed to be > > > > received and logged as an ordinary Inbound Message? > > > > > Below I have included the posted output (sending a message > > > > asynchronously) so it can be checked whether I am missing something... > > > > > ********** OUTPUT LOG *************** > > > > > Example: Send message from a serial gsm modem. > > > > SMSLib: A Java API library for sending and receiving SMS via a GSM > > > > modem > > > > or other supported gateways. > > > > Web Site:http://smslib.org > > > > This software is distributed under the terms of the Apache v2.0 > > > > License. > > > > Version: 3.3.0 > > > > 0 [main] INFO org.smslib - SMSLib: A Java API library for sending and > > > > receiving SMS via a GSM modem > > > > or other supported gateways. > > > > Web Site:http://smslib.org > > > > This software is distributed under the terms of the Apache v2.0 > > > > License. > > > > 3 [main] INFO org.smslib - Version: 3.3.0 > > > > 3 [main] INFO org.smslib - JRE Version: 1.6.0_01 > > > > 3 [main] INFO org.smslib - JRE Impl Version: 1.6.0_01-b06 > > > > 3 [main] INFO org.smslib - O/S: Windows Vista / x86 / 6.0 > > > > 36 [main] INFO org.smslib - WatchDog created... > > > > 36 [Thread-0] DEBUG org.smslib - WatchDog started. > > > > 36 [Thread-0] INFO org.smslib - WatchDog running... > > > > 38 [main] INFO org.smslib - Problem with gateways initiation... > > > > 38 [Thread-1] INFO org.smslib - GTW: modem.COM2: Starting gateway, > > > > using SonyEricsson (Generic) AT Handler. > > > > 38 [Thread-1] INFO org.smslib - GTW: modem.COM2: Opening: COM2 > > > > @115200 > > > > 131 [Thread-1] INFO org.smslib - GTW: modem.COM2: Input Stream: > > > > [EMAIL PROTECTED] > > > > 131 [Thread-1] INFO org.smslib - GTW: modem.COM2: Output Stream: > > > > [EMAIL PROTECTED] > > > > 169 [Thread-1] DEBUG org.smslib - GTW: modem.COM2: ModemDriver: > > > > KeepAlive thread started. > > > > 171 [Thread-1] DEBUG org.smslib - GTW: modem.COM2: ModemReader thread > > > > started. > > > > 174 [Thread-1] DEBUG org.smslib - GTW: modem.COM2: AsyncNotifier > > > > thread started. > > > > 176 [Thread-1] DEBUG org.smslib - GTW: modem.COM2: > > > > AsyncMessageProcessor thread started. > > > > 176 [Thread-1] DEBUG org.smslib - GTW: modem.COM2: clearBuffer() > > > > called. > > > > 1038 [main] INFO org.smslib - Problem with gateways initiation... > > > > 1176 [Thread-1] DEBUG org.smslib - GTW: modem.COM2: SEND :(27) > > > > 1377 [Thread-1] DEBUG org.smslib - GTW: modem.COM2: SEND :+++ > > > > 1578 [Thread-1] DEBUG org.smslib - GTW: modem.COM2: SEND :ATZ > > > > 1779 [Thread-1] DEBUG org.smslib - GTW: modem.COM2: clearBuffer() > > > > called. > > > > 2038 [main] INFO org.smslib - Problem with gateways initiation... > > > > 2779 [Thread-1] DEBUG org.smslib - GTW: modem.COM2: SEND :ATZ(cr) > > > > 2980 [Thread-1] DEBUG org.smslib - GTW: modem.COM2: SEND :ATE0(cr) > > > > 3038 [main] INFO org.smslib - Problem with gateways initiation... > > > > 3181 [Thread-1] DEBUG org.smslib - GTW: modem.COM2: clearBuffer() > > > > called. > > > > 4038 [main] INFO org.smslib - Problem with gateways initiation... > > > > 4181 [Thread-1] DEBUG org.smslib - GTW: modem.COM2: SEND :AT+CPIN? > > > > (cr) > > > > 4192 [Thread-1] DEBUG org.smslib - GTW: modem.COM2: BUFFER: +CPIN: > > > > READY > > > > > 4192 [Thread-1] DEBUG org.smslib - GTW: modem.COM2: RECV :+CPIN: > > > > READY(cr) > > > > 4192 [Thread-1] DEBUG org.smslib - GTW: modem.COM2: SEND :ATE0(cr) > > > > 4393 [Thread-1] DEBUG org.smslib - GTW: modem.COM2: clearBuffer() > > > > called. > > > > 5038 [main] INFO org.smslib - Problem with gateways initiation... > > > > 5393 [Thread-1] DEBUG org.smslib - GTW: modem.COM2: SEND :AT > > > > +CLIP=1(cr) > > > > 5490 [Thread-1] DEBUG org.smslib - GTW: modem.COM2: BUFFER: OK > > > > > 5491 [Thread-1] DEBUG org.smslib - GTW: modem.COM2: RECV :OK(cr) > > > > 5491 [Thread-1] DEBUG org.smslib - GTW: modem.COM2: SEND :AT > > > > +COPS=0(cr) > > > > 5502 [Thread-1] DEBUG org.smslib - GTW: modem.COM2: BUFFER: OK > > > > > 5503 [Thread-1] DEBUG org.smslib - GTW: modem.COM2: RECV :OK(cr) > > > > 5503 [Thread-1] DEBUG org.smslib - GTW: modem.COM2: SEND :ATE0(cr) > > > > 5704 [Thread-1] DEBUG org.smslib - GTW: modem.COM2: clearBuffer() > > > > called. > > > > 6038 [main] INFO org.smslib - Problem with gateways initiation... > > > > 6704 [Thread-1] DEBUG org.smslib - GTW: modem.COM2: SEND :AT+CREG? > > > > (cr) > > > > 6716 [Thread-1] DEBUG org.smslib - GTW: modem.COM2: BUFFER: +CREG: > > > > 0,1 > > > > OK > > > > > 6717 [Thread-1] DEBUG org.smslib - GTW: modem.COM2: RECV :+CREG: > > > > 0,1(cr)OK(cr) > > > > 6717 [Thread-1] INFO org.smslib - GTW: modem.COM2: GSM: Registered to > > > > home network. > > > > 6717 [Thread-1] DEBUG org.smslib - GTW: modem.COM2: SEND :AT > > > > +CMEE=1(cr) > > > > 6725 [Thread-1] DEBUG org.smslib - GTW: modem.COM2: BUFFER: OK > > > > > 6725 [Thread-1] DEBUG org.smslib - GTW: modem.COM2: RECV :OK(cr) > > > > 6725 [Thread-1] DEBUG org.smslib - GTW: modem.COM2: SEND :AT+CPMS? > > > > (cr) > > > > 6740 [Thread-1] DEBUG org.smslib - GTW: modem.COM2: BUFFER: +CPMS: > > > > "SM",2,32,"SM",2,32,"ME",26,192 > > > > OK > > > > > 6741 [Thread-1] DEBUG org.smslib - GTW: modem.COM2: RECV :+CPMS: "SM", > > > > 2,32,"SM",2,32,"ME",26,192(cr)OK(cr) > > > > 6741 [Thread-1] INFO org.smslib - GTW: modem.COM2: MEM: Storage > > > > Locations Found: SMME > > > > 6741 [Thread-1] DEBUG org.smslib - GTW: modem.COM2: SEND :AT+CNMI=? > > > > (cr) > > > > 6752 [Thread-1] DEBUG org.smslib - GTW: modem.COM2: BUFFER: +CNMI: > > > > (2),(0,1,3),(0,2),(0,1),(0) > > > > OK > > > > > 6753 [Thread-1] DEBUG org.smslib - GTW: modem.COM2: RECV :+CNMI: (2), > > > > (0,1,3),(0,2),(0,1),(0)(cr)OK(cr) > > > > 6753 [Thread-1] DEBUG org.smslib - CNMI: Found best match: 2 > > > > 6754 [Thread-1] DEBUG org.smslib - CNMI: Found best match: 1 > > > > 6754 [Thread-1] DEBUG org.smslib - CNMI: Found best match: 0 > > > > 6754 [Thread-1] INFO org.smslib - CNMI: No best match, returning: 1 > > > > 6754 [Thread-1] DEBUG org.smslib - CNMI: Found best match: 0 > > > > 6754 [Thread-1] DEBUG org.smslib - GTW: modem.COM2: SEND :AT > > > > +CNMI=2,1,0,1,0(cr) > > > > 6764 [Thread-1] DEBUG org.smslib - GTW: modem.COM2: BUFFER: OK > > > > > 6765 [Thread-1] DEBUG org.smslib - GTW: modem.COM2: RECV :OK(cr) > > > > 6765 [Thread-1] DEBUG org.smslib - GTW: modem.COM2: SEND :AT > > > > +CMGF=0(cr) > > > > 6774 [Thread-1] DEBUG org.smslib - GTW: modem.COM2: BUFFER: OK > > > > > 6774 [Thread-1] DEBUG org.smslib - GTW: modem.COM2: RECV :OK(cr) > > > > 6778 [Thread-1] INFO org.smslib - GTW: modem.COM2: Gateway started. > > > > 6778 [Thread-1] INFO org.smslib - GTW: modem.COM2: gateway ready! > > > > 6780 [Thread-6] INFO org.smslib - GTW: modem.COM2: Starting Queue > > > > Manager. > > > > Started service! > > > > Starting sending message... > > > > > =============================================================================== > > > > << OutboundMessage >> > > > > > ------------------------------------------------------------------------------- > > > > Gateway Id: > > > > Encoding: 7-bit > > > > Date: Fri Oct 10 23:48:56 EEST 2008 > > > > SMSC Ref No: > > > > Recipient: [Deleted] > > > > Dispatch Date: null > > > > Message Status: UNSENT > > > > Validity Period (Hours): -1 > > > > Status Report: true > > > > Source / Destination Ports: -1 / -1 > > > > Flash SMS: false > > > > Text: Τεστ στα ελληνικά με SMSLib! > > > > PDU data: > > ... > > διαβάστε περισσότερα »- Απόκρυψη κειμένου σε παράθεση - > > - Εμφάνιση κειμένου σε παράθεση - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SMSLib Support 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 -~----------~----~----~----~------~----~------~--~---
