Or may am not sentient of what your actually try to address in general. On Mon, Apr 16, 2012 at 12:12 PM, Mothepu Monku <[email protected]> wrote: > I don't really get the question. May you please re-phrase it. > > On Mon, Apr 16, 2012 at 11:47 AM, Thanasis <[email protected]> wrote: >> Can you post the debug log from the ReadMessages sample? >> >> >> On 16 April 2012 12:15, Mothepu Monku <[email protected]> wrote: >>> >>> Hi all!!! >>> What is actually read? I mean only the new massege or each and every >>> massege which is available in my modem? This is because i have deleted >>> all af them and re-sent the pure text massege to the modem but i get >>> the same error? >>> >>> Thanks >>> >>> On Mon, Apr 16, 2012 at 11:03 AM, Thanasis Delenikas <[email protected]> >>> wrote: >>> > this usually happens when there is a message that smslib cannot read, >>> > like vcards, etc. >>> > >>> > >>> > >>> > On 16 Apr 2012, at 10:29, Mothepu Monku <[email protected]> wrote: >>> > >>> >> Hi all!! >>> >> I don’t know which way I should take to solve this error below. So >>> >> please help me out whether the problem is on my modem or I have left >>> >> something on prerequisite. But the sent example is working correctly. >>> >> >>> >> ““ >>> >> --------------------Configuration: <Default>-------------------- >>> >> Example: Read messages from a serial gsm modem. >>> >> Version: 3.5.1 >>> >> >>> >> Modem Information: >>> >> Manufacturer: Manufacturer >>> >> Model: USB MODEM >>> >> Serial No: 354491022004793 >>> >> SIM IMSI: ** MASKED ** >>> >> Signal Level: -61 dBm >>> >> Battery Level: 0% >>> >> >>> >> java.lang.StringIndexOutOfBoundsException: String index out of range: >>> >> -7 >>> >> at java.lang.String.substring(String.java:1938) >>> >> at >>> >> org.smslib.modem.ModemGateway.readMessagesPDU(ModemGateway.java:544) >>> >> at org.smslib.modem.ModemGateway.readMessages(ModemGateway.java:210) >>> >> at org.smslib.Service.readMessages(Service.java:500) >>> >> at org.smslib.Service.readMessages(Service.java:388) >>> >> at modem.ReadMessages.doIt(ReadMessages.java:99) >>> >> at modem.ReadMessages.main(ReadMessages.java:160) >>> >> >>> >> Process completed. >>> >> >>> >> ”” >>> >> >>> >> -- >>> >> 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. >>> >> >>> > >>> > -- >>> > 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. >>> > >>> >>> -- >>> 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. >>> >> >> -- >> 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.
-- 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.
