try with last version of smslib, if error happens again, try debug code. On Tue, Apr 20, 2010 at 7:31 AM, osama ashraf <[email protected]> wrote: > hi, > how can i remove this error ? (Error 121 SetCommConfig) > and what does the last error means? > java.lang.StringIndexOutOfBoundsException: String index out of range: -12>>> > Gateway Status change for modem.com3, OLD: STARTED -> NEW: STOPPING > at java.lang.String.substring(String.java:1937) > at org.smslib.modem.ModemGateway.readMessagesTEXT(ModemGateway.java:367) > at org.smslib.modem.ModemGateway.readMessages(ModemGateway.java:208) > at org.smslib.Service.readMessages(Service.java:481) > at org.smslib.Service.readMessages(Service.java:369) > at examples.modem.ReadMessages.doIt(ReadMessages.java:124) > at examples.modem.ReadMessages.main(ReadMessages.java:186) > i changed the baud rate according to the Modem configurationĀ 57600, but same > error happens again n again !! > Help me out sir plz > > -- > 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. >
-- 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.
