Well, you can't fix it. Seems like the Samsung does not like the CPIN command...
On Dec 16, 4:04 pm, Harford <[email protected]> wrote: > Please help me! > > Error happend when I run SendMessage with Samsung D838: > > Example: Send message from a serial gsm modem. > SMSLib: A Java API library for sending and receiving SMS via a GSM > modem or other supported gateways. > This software is distributed under the terms of the Apache v2.0 > License. > Web Site:http://smslib.org > Version: 3.3.2 > 0 [main] INFO org.smslib - SMSLib: A Java API library for sending and > receiving SMS via a GSM modem or other supported gateways. > This software is distributed under the terms of the Apache v2.0 > License. > Web Site:http://smslib.org > 0 [main] INFO org.smslib - Version: 3.3.2 > 0 [main] INFO org.smslib - JRE Version: 1.6.0_05 > 0 [main] INFO org.smslib - JRE Impl Version: 10.0-b19 > 0 [main] INFO org.smslib - O/S: Windows XP / x86 / 5.1 > 31 [SMSLib-WatchDog] DEBUG org.smslib - WatchDog started. > 31 [SMSLib-WatchDog] INFO org.smslib - WatchDog running... > 31 [Thread-1] INFO org.smslib - GTW: modem.com5: Starting gateway, > using Generic AT Handler. > 31 [Thread-1] INFO org.smslib - GTW: modem.com5: Opening: COM5 > @115200 > 156 [Thread-1] DEBUG org.smslib - GTW: modem.com5: ModemDriver: > KeepAlive thread started. > 156 [Thread-1] DEBUG org.smslib - GTW: modem.com5: ModemReader thread > started. > 172 [Thread-1] DEBUG org.smslib - GTW: modem.com5: AsyncNotifier > thread started. > 188 [Thread-1] DEBUG org.smslib - GTW: modem.com5: > AsyncMessageProcessor thread started. > 188 [Thread-1] DEBUG org.smslib - GTW: modem.com5: clearBuffer() > called. > 1188 [Thread-1] DEBUG org.smslib - GTW: modem.com5: SEND :(27) > 1391 [Thread-1] DEBUG org.smslib - GTW: modem.com5: SEND :+++ > 1578 [Thread-1] DEBUG org.smslib - GTW: modem.com5: SEND :ATZ > 1781 [Thread-1] DEBUG org.smslib - GTW: modem.com5: clearBuffer() > called. > 2781 [Thread-1] DEBUG org.smslib - GTW: modem.com5: SEND :ATZ(cr) > 2984 [Thread-1] DEBUG org.smslib - GTW: modem.com5: SEND :ATE0(cr) > 3188 [Thread-1] DEBUG org.smslib - GTW: modem.com5: clearBuffer() > called. > 4188 [Thread-1] DEBUG org.smslib - GTW: modem.com5: SEND :AT+CPIN? > (cr) > 4234 [Thread-1] DEBUG org.smslib - GTW: modem.com5: BUFFER: ERROR > > 4234 [Thread-1] DEBUG org.smslib - GTW: modem.com5: RECV :ERROR(cr) > 4234 [Thread-1] WARN org.smslib - GTW: modem.com5: Cannot understand > SIMPIN response: ERROR > , will wait for a while... > 9234 [Thread-1] DEBUG org.smslib - GTW: modem.com5: SEND :AT+CPIN? > (cr) > 9313 [Thread-1] DEBUG org.smslib - GTW: modem.com5: BUFFER: ERROR > > 9313 [Thread-1] DEBUG org.smslib - GTW: modem.com5: RECV :ERROR(cr) > 9313 [Thread-1] WARN org.smslib - GTW: modem.com5: Cannot understand > SIMPIN response: ERROR > , will wait for a while... > > But when I use Sony Ericsson W700c, the program is ok. > > Why? How to fix it ? > > Thank you! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
