Help, I'm trying out the examples in the 3.4.5 package of SMSLIB on a
ZTE MF622 GSM Modem. The SendMessage works just fine but when I
receive a message or when I run the ReadMessages example, I get this
error:
java.lang.StringIndexOutOfBoundsException: String index out of range:
-12
at java.lang.String.substring(String.java:1938)
>>> Gateway Status change for modem.com5, OLD: STARTED -> NEW: STOPPING
at org.smslib.modem.ModemGateway.readMessagesPDU
(ModemGateway.java:539)
at org.smslib.modem.ModemGateway.readMessages
(ModemGateway.java:207)
at org.smslib.Service.readMessages(Service.java:481)
at org.smslib.Service.readMessages(Service.java:369)
at modemtest.ReadMessages.doIt(ReadMessages.java:128)
at modemtest.ReadMessages.main(ReadMessages.java:190)
Thanks!
Btw, great job on the API. I hope you guys can help me so I can start
working with it asap :)
--
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.