Edit "AModemDriver.java" ( 
http://smslib.googlecode.com/svn/smslib/trunk/src/java/org/smslib/modem/AModemDriver.java
 ) 
and locate the big "while (true)..." statement in method connect().
Comment the while block out.

Be warned though, that the issue you are facing (no response from CPIN) is 
a sign that your phone is incompatible. "Muting" the CPIN handshake is not 
the solution - you'll probably face other issues as well.

On Wednesday, April 18, 2012 10:47:44 AM UTC+3, Jefferson wrote:
>
> What is the procedure to do that? 
> When I do the command "AT+CPIN?" in the Hyperterminal the result is 
> that there is no response from system. 
>
> On 18 avr, 07:14, "T.Delenikas" <[email protected]> wrote: 
> > You could bypass the PIN - but this requires code modification. 
> > 
> > Can you connect with Hyperterminal and issue the command "AT+CPIN?"? 
> What 
> > is the response you get from your phone? 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > On Tuesday, April 17, 2012 5:18:15 PM UTC+3, Jefferson wrote: 
> > 
> > > Hello, 
> > > My phone is connected to a USB-to-COM gateway. 
> > > I can't send sms with SMSlib... 
> > > My problem is the loop of AT COMMAND "AT+CPIN?" 
> > > My phone don't send correctely the status of my SIM card... 
> > > Do you have a solution? Can I stop the status verification of the SIM 
> > > card? 
> > > My version of smslib is 3.5.2 and my phone is samsung S5260P... 
> > 
> > > This is the debug output: 
> > 
> > > 0 [main] INFO smslib  - Version: 3.5.2 
> > > 0 [main] INFO smslib  - JRE Version: 1.6.0 
> > > 15 [main] INFO smslib  - JRE Impl Version: 1.6.0-b105 
> > > 15 [main] INFO smslib  - O/S: Windows XP / x86 / 5.1 
> > > 31 [main] DEBUG smslib  - Initialized. 
> > > 31 [main] INFO smslib  - Queue directory not defined. Queued messages 
> > > will not be saved to filesystem. 
> > > 31 [main] DEBUG smslib  - Initialized. 
> > > 31 [main] DEBUG smslib  - Initialized. 
> > > 47 [NotifyQueueManager] DEBUG smslib  - Running... 
> > > 47 [NotifyQueueManager] DEBUG smslib  - NotifyQueueManager running... 
> > > 47 [DelayQueueManager] DEBUG smslib  - Running... 
> > > 47 [DelayQueueManager] DEBUG smslib  - DelayQueueManager running... 
> > > 47 [WatchDog] DEBUG smslib  - Running... 
> > > 47 [Thread-3] INFO smslib  - GTW: com6: Starting gateway, using 
> > > Generic AT Handler. 
> > > 47 [Thread-3] INFO smslib  - GTW: com6: Opening: COM6 @9600 
> > > 327 [Thread-3] DEBUG smslib  - Initialized. 
> > > 343 [Thread-3] DEBUG smslib  - Initialized. 
> > > 343 [Thread-3] DEBUG smslib  - GTW: com6: ModemReader thread started. 
> > > 359 [KeepAlive [com6]] DEBUG smslib  - Running... 
> > > 359 [CNMIEmulatorProcessor [com6]] DEBUG smslib  - ** disabled ** 
> > > 359 [Thread-3] DEBUG smslib  - GTW: com6: AsyncNotifier thread 
> > > started. 
> > > 359 [Thread-3] DEBUG smslib  - GTW: com6: AsyncMessageProcessor thread 
> > > started. 
> > > 359 [Thread-3] DEBUG smslib  - GTW: com6: clearBuffer() called. 
> > > 1357 [Thread-3] DEBUG smslib  - GTW: com6: SEND :(27) 
> > > 1560 [Thread-3] DEBUG smslib  - GTW: com6: SEND :+++ 
> > > 1763 [Thread-3] DEBUG smslib  - GTW: com6: SEND :ATZ(cr) 
> > > 1965 [Thread-3] DEBUG smslib  - GTW: com6: clearBuffer() called. 
> > > 2964 [Thread-3] DEBUG smslib  - GTW: com6: SEND :ATZ(cr) 
> > > 3167 [Thread-3] DEBUG smslib  - GTW: com6: SEND :ATE0(cr) 
> > > 3369 [Thread-3] DEBUG smslib  - GTW: com6: clearBuffer() called. 
> > > 4368 [Thread-3] DEBUG smslib  - GTW: com6: SEND :AT+CPIN?(cr) 
> > > 15023 [WatchDog] DEBUG smslib  - Running... 
> > 
> > > Thanks for help

-- 
You received this message because you are subscribed to the Google Groups 
"SMSLib Discussion Group" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/smslib/-/Jthg6Y5nKaEJ.
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