Hi,

When I send an empty message to SMSLib it doesn't read that message
from the phone which I connected to my PC, but it throws the following
exception

java.lang.ArrayIndexOutOfBoundsException: -1
        at org.smslib.InboundMessage.<init>(InboundMessage.java:145)
        at org.smslib.modem.ModemGateway.readMessagesPDU(ModemGateway.java:
427)
        at org.smslib.modem.ModemGateway.readMessages(ModemGateway.java:147)
        at org.smslib.Service.readMessages(Service.java:438)
        at org.smslib.Service.readMessages(Service.java:342)
        at examples.modem.ReadMessages.doIt(ReadMessages.java:109)
        at examples.modem.ReadMessages.main(ReadMessages.java:170)
31 [main] ERROR org.smslib  - GTW: modem.com3: ERROR PDU:
0791198904100161040C9119790916731200009030402174052200

<< UNKNOWN MESSAGE DUMP >>
-------------------------------------------------------------------------------
 Gateway Id: modem.com3
 Memory Index: 2
 Memory Location: SM

Please give any solution for this.
--~--~---------~--~----~------------~-------~--~----~
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