I have supported many E160 on smslib without a hitch, I think this is a network/SIM issue. Used to get this error, when out of airtime, or my SIM is not active.
On Tue, Aug 9, 2011 at 11:46 AM, pentavalle <[email protected]> wrote: > Hi, I tried to send an sms with my Huawei MD-@ HSUPA but I have a "GSM > network registration failed". > I have a Huawei E1820 with another sim card of a different mobile > operator and all is ok. Tried swapping sim cards and discovered that > the problem is with the modem, not with the sim. > Tried using generic at handler (not huawei) and E160 at handler but I > have the same error. > > This is the log: > INFO 09:28:29 - 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 > INFO 09:28:29 - Version: 3.5.1 > INFO 09:28:29 - JRE Version: 1.6.0_26 > INFO 09:28:29 - JRE Impl Version: 20.1-b02 > INFO 09:28:29 - O/S: Windows 7 / x86 / 6.1 > DEBUG 09:28:29 - Initialized. > DEBUG 09:28:29 - Running... > DEBUG 09:28:29 - NotifyQueueManager running... > INFO 09:28:29 - Queue directory not defined. Queued messages will not > be saved to filesystem. > DEBUG 09:28:29 - Initialized. > DEBUG 09:28:29 - Running... > DEBUG 09:28:29 - DelayQueueManager running... > DEBUG 09:28:29 - Initialized. > DEBUG 09:28:29 - Running... > INFO 09:28:29 - GTW: id1: Starting gateway, using Huawei (Generic) AT > Handler. > INFO 09:28:29 - GTW: id1: Opening: COM19 @460800 > Stable Library > ========================================= > Native lib Version = RXTX-2.1-7 > Java lib Version = RXTX-2.1-7 > DEBUG 09:28:44 - Running... > DEBUG 09:28:53 - Initialized. > DEBUG 09:28:53 - Running... > DEBUG 09:28:53 - Initialized. > DEBUG 09:28:53 - ** disabled ** > DEBUG 09:28:53 - GTW: id1: ModemReader thread started. > DEBUG 09:28:53 - GTW: id1: AsyncNotifier thread started. > DEBUG 09:28:53 - GTW: id1: AsyncMessageProcessor thread started. > DEBUG 09:28:53 - GTW: id1: clearBuffer() called. > DEBUG 09:28:54 - GTW: id1: SEND :(27) > DEBUG 09:28:55 - GTW: id1: SEND :+++ > DEBUG 09:28:55 - GTW: id1: SEND :ATZ(cr) > DEBUG 09:28:55 - GTW: id1: clearBuffer() called. > DEBUG 09:28:59 - Running... > DEBUG 09:29:10 - GTW: id1: SEND :ATZ(cr) > DEBUG 09:29:10 - GTW: id1: SEND :ATE0(cr) > DEBUG 09:29:10 - GTW: id1: clearBuffer() called. > DEBUG 09:29:14 - Running... > DEBUG 09:29:23 - ** disabled ** > DEBUG 09:29:25 - GTW: id1: SEND :AT+CPIN?(cr) > DEBUG 09:29:25 - GTW: id1: BUFFER: +CPIN: READY > > DEBUG 09:29:25 - GTW: id1: RECV :+CPIN: READY(cr) > DEBUG 09:29:25 - GTW: id1: SEND :ATE0(cr) > DEBUG 09:29:25 - GTW: id1: clearBuffer() called. > DEBUG 09:29:26 - GTW: id1: SEND :AT+CFUN=1(cr) > DEBUG 09:29:29 - Running... > DEBUG 09:29:36 - GTW: id1: clearBuffer() called. > DEBUG 09:29:44 - Running... > DEBUG 09:29:53 - Running... > DEBUG 09:29:53 - ** disabled ** > DEBUG 09:29:56 - GTW: id1: SEND :AT^CURC=0(cr) > DEBUG 09:29:56 - GTW: id1: BUFFER: OK > > DEBUG 09:29:56 - GTW: id1: RECV :OK(cr) > DEBUG 09:29:56 - GTW: id1: SEND :AT+CLIP=1(cr) > DEBUG 09:29:56 - GTW: id1: BUFFER: OK > > DEBUG 09:29:56 - GTW: id1: RECV :OK(cr) > DEBUG 09:29:56 - GTW: id1: SEND :ATE0(cr) > DEBUG 09:29:56 - GTW: id1: clearBuffer() called. > DEBUG 09:29:57 - GTW: id1: SEND :AT+CREG=1(cr) > DEBUG 09:29:57 - GTW: id1: BUFFER: OK > > DEBUG 09:29:57 - GTW: id1: RECV :OK(cr) > DEBUG 09:29:57 - GTW: id1: SEND :AT+CREG?(cr) > DEBUG 09:29:57 - GTW: id1: BUFFER: +CREG: 1,2 > OK > > DEBUG 09:29:57 - GTW: id1: RECV :+CREG: 1,2(cr)OK(cr) > WARN 09:29:57 - GTW: id1: GSM: Not registered, searching for > network... > DEBUG 09:29:59 - Running... > DEBUG 09:30:02 - GTW: id1: SEND :AT+CREG=1(cr) > DEBUG 09:30:03 - GTW: id1: BUFFER: OK > > DEBUG 09:30:03 - GTW: id1: RECV :OK(cr) > DEBUG 09:30:03 - GTW: id1: SEND :AT+CREG?(cr) > DEBUG 09:30:03 - GTW: id1: BUFFER: +CREG: 1,2 > OK > > DEBUG 09:30:03 - GTW: id1: RECV :+CREG: 1,2(cr)OK(cr) > WARN 09:30:03 - GTW: id1: GSM: Not registered, searching for > network... > DEBUG 09:30:08 - GTW: id1: SEND :AT+CREG=1(cr) > DEBUG 09:30:08 - GTW: id1: BUFFER: OK > > DEBUG 09:30:08 - GTW: id1: RECV :OK(cr) > DEBUG 09:30:08 - GTW: id1: SEND :AT+CREG?(cr) > DEBUG 09:30:08 - GTW: id1: BUFFER: +CREG: 1,2 > OK > > DEBUG 09:30:08 - GTW: id1: RECV :+CREG: 1,2(cr)OK(cr) > WARN 09:30:08 - GTW: id1: GSM: Not registered, searching for > network... > DEBUG 09:30:13 - GTW: id1: SEND :AT+CREG=1(cr) > DEBUG 09:30:13 - GTW: id1: BUFFER: OK > > DEBUG 09:30:13 - GTW: id1: RECV :OK(cr) > DEBUG 09:30:13 - GTW: id1: SEND :AT+CREG?(cr) > DEBUG 09:30:13 - GTW: id1: BUFFER: +CREG: 1,2 > OK > > DEBUG 09:30:13 - GTW: id1: RECV :+CREG: 1,2(cr)OK(cr) > WARN 09:30:13 - GTW: id1: GSM: Not registered, searching for > network... > DEBUG 09:30:14 - Running... > DEBUG 09:30:18 - GTW: id1: SEND :AT+CREG=1(cr) > DEBUG 09:30:18 - GTW: id1: BUFFER: OK > > DEBUG 09:30:18 - GTW: id1: RECV :OK(cr) > DEBUG 09:30:18 - GTW: id1: SEND :AT+CREG?(cr) > DEBUG 09:30:18 - GTW: id1: BUFFER: +CREG: 1,2 > OK > > DEBUG 09:30:18 - GTW: id1: RECV :+CREG: 1,2(cr)OK(cr) > WARN 09:30:18 - GTW: id1: GSM: Not registered, searching for > network... > DEBUG 09:30:23 - GTW: id1: SEND :AT+CREG=1(cr) > DEBUG 09:30:23 - GTW: id1: BUFFER: OK > > DEBUG 09:30:23 - GTW: id1: RECV :OK(cr) > DEBUG 09:30:23 - GTW: id1: SEND :AT+CREG?(cr) > DEBUG 09:30:23 - GTW: id1: BUFFER: +CREG: 1,2 > OK > > DEBUG 09:30:23 - GTW: id1: RECV :+CREG: 1,2(cr)OK(cr) > WARN 09:30:23 - GTW: id1: GSM: Not registered, searching for > network... > DEBUG 09:30:23 - Stopped. > DEBUG 09:30:23 - Stopped. > DEBUG 09:30:23 - GTW: id1: AsyncNotifier thread ended. > DEBUG 09:30:23 - GTW: id1: AsyncMessageProcessor thread ended. > DEBUG 09:30:29 - Running... > > Can you help me? > Thank you > > -- > You received this message because you are subscribed to the Google Groups > "SMSLib Users" 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 Users" 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.
