I would say its related to this issue. Sometimes modems may return an
error or something else from the "list messages" command. It would
really help to track it down if you put Sysout or log each "line"
string read from the modem.

http://code.google.com/p/smslib/issues/detail?id=205&colspec=ID%20Type%20Status%20Component%20Milestone%20Priority%20Stars%20Owner%20Summary

On Apr 13, 1:21 am, bodat <[email protected]> wrote:
> I try this test. Im sending and receiving message at the same time.
> At the beginning its fine but in the long run (after 30 minutes) i got
> this error.
>
> Exception in thread "SMSLib-AsyncMessageProcessor : master"
> java.lang.NumberFormatException: For input string: ""MT""
>         at java.lang.NumberFormatException.forInputString(Unknown Source)
>         at java.lang.Integer.parseInt(Unknown Source)
>         at java.lang.Integer.parseInt(Unknown Source)
>         at org.smslib.modem.ModemGateway.readMessagesPDU(ModemGateway.java:
> 400)
>         at org.smslib.modem.ModemGateway.readMessages(ModemGateway.java:147)
>         at org.smslib.modem.AModemDriver$AsyncMessageProcessor.run
> (AModemDriver.java:895)
>
> Whats going on?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SMSLib 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to