Closed GoogleCodeExporter closed 9 years ago
Duplicate question with the one posted on the discussion group.
Original comment by T.Delenikas
on 26 Apr 2012 at 6:15
exactly which discussion? which number issue?
thanks
Original comment by j2bu...@gmail.com
on 26 Apr 2012 at 7:00
Original comment by T.Delenikas
on 28 Apr 2012 at 4:27
Your modem does not recognize the "SR" storage location.
You could add the following line -in your code- after the gateway creation
gatewayObject.getATHandler().setStorageLocations("SM");
and try again.
Original comment by T.Delenikas
on 28 Apr 2012 at 4:29
ok that worked.
thanks
Original comment by j2bu...@gmail.com
on 28 Apr 2012 at 8:39
Original comment by T.Delenikas
on 28 Apr 2012 at 8:56
I have the same issue and this article saves me for a day.
Thanks!
Original comment by erieze.l...@gmail.com
on 17 Aug 2014 at 2:47
Hello, I have the same exception and i have a huawei e3131.
Exception in thread "SMSLib-AsyncMessageProcessor : modem.com4" java.lang.String
IndexOutOfBoundsException: String index out of range: -12
at java.lang.StringHelper.substring(StringHelper.java:1665)
at java.lang.String.substring(map.xml:422)
at org.smslib.modem.ModemGateway.readMessagesPDU(ModemGateway.java:552)
at org.smslib.modem.ModemGateway.readMessages(ModemGateway.java:213)
at org.smslib.modem.AModemDriver$AsyncMessageProcessor.run(AModemDriver.
java:880)
Thanks advance!
Original comment by azamatbo...@gmail.com
on 29 Mar 2015 at 10:16
Original issue reported on code.google.com by
j2bu...@gmail.com
on 26 Apr 2012 at 1:07Attachments: