Re: AT2 Problem with Wavecom (latest CVS)
"Bruno David Rodrigues" <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <009a01c1c381$94d9e530$6e01290a@hobbes> |
It's the +CPIN:READY bug. I'm committing a fix to cvs now, can you please test it as I don't have my laptop with me now ? ----- Original Message ----- From: "Abd Rahman Johari" <[email protected]> To: <[email protected]> Sent: Monday, March 04, 2002 11:55 AM Subject: AT2 Problem with Wavecom (latest CVS) > Hi, > > i've just upgraded my kannel to latest cvs and i was unable to connect to my wavecom modem using AT2, using older cvs (about a month ago) gave me no problem at all. > > > > here's some logs > > > > [ajohari@fax gateway]$ 2002-03-04 20:20:42 [0] DEBUG: Kannel bearerbox version `cvs'. > > System Linux, release 2.2.16-3, version #1 Mon Jun 19 19:11:44 EDT 2000, machine i686. > > Hostname fax.mlcc.com.my, IP 192.168.10.27. > > Libxml version 20208. > > Using checking malloc. > > > > 2002-03-04 20:20:42 [0] INFO: Added logfile `core-log-in.log' with level `0'. > > 2002-03-04 20:20:42 [0] INFO: ---------------------------------------- > > 2002-03-04 20:20:42 [0] INFO: Kannel bearerbox II version cvs starting > > 2002-03-04 20:20:42 [0] INFO: Started access logfile `core-access-in.log'. > > 2002-03-04 20:20:42 [0] INFO: SSL not supported, no SSL initialization done. > > 2002-03-04 20:20:42 [0] DEBUG: HTTP: Opening server at port 13000. > > 2002-03-04 20:20:42 [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) > > 2002-03-04 20:20:42 [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) > > 2002-03-04 20:20:42 [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run) > > 2002-03-04 20:20:42 [0] DEBUG: starting smsbox connection module > > 2002-03-04 20:20:42 [0] DEBUG: Started thread 4 (gw/bb_boxc.c:smsboxc_run) > > 2002-03-04 20:20:42 [0] INFO: configuration shows modemtype=auto > > 2002-03-04 20:20:42 [0] INFO: configured for modem-id 0 > > 2002-03-04 20:20:42 [0] INFO: configured for speed 9600 > > 2002-03-04 20:20:42 [0] DEBUG: Started thread 5 (gw/smsc_at2.c:at2_device_thread) > > 2002-03-04 20:20:42 [0] DEBUG: Started thread 6 (gw/bb_smscconn.c:sms_router) > > 2002-03-04 20:20:42 [0] INFO: MAIN: Start-up done, entering mainloop > > 2002-03-04 20:20:42 [0] DEBUG: smsc_at2: start called > > 2002-03-04 20:20:42 [5] DEBUG: AT2[/dev/ttyS0]: detecting modem type > > 2002-03-04 20:20:42 [5] INFO: AT2[/dev/ttyS0]: opening device > > 2002-03-04 20:20:42 [5] DEBUG: AT2[/dev/ttyS0]: device opened > > 2002-03-04 20:20:42 [5] INFO: AT2[/dev/ttyS0]: speed set to 9600 > > 2002-03-04 20:20:42 [5] DEBUG: AT2[/dev/ttyS0]: --> ^M > > 2002-03-04 20:20:42 [6] DEBUG: sms_router: time to sleep > > 2002-03-04 20:20:42 [6] DEBUG: sms_router: list_len = 0 > > 2002-03-04 20:20:44 [5] DEBUG: AT2[/dev/ttyS0]: --> AT^M > > 2002-03-04 20:20:44 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK > > 2002-03-04 20:20:44 [5] DEBUG: AT2[/dev/ttyS0]: --> AT&F^M > > 2002-03-04 20:20:44 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK > > 2002-03-04 20:20:44 [5] DEBUG: AT2[/dev/ttyS0]: --> ATE0^M > > 2002-03-04 20:20:44 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK > > 2002-03-04 20:20:44 [5] DEBUG: AT2[/dev/ttyS0]: --> ATI^M > > 2002-03-04 20:20:44 [5] DEBUG: AT2[/dev/ttyS0]: <-- WAVECOM MODEM > > 2002-03-04 20:20:44 [5] DEBUG: AT2[/dev/ttyS0]: <-- MULTIBAND 900E 1800 > > 2002-03-04 20:20:44 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK > > 2002-03-04 20:20:44 [5] DEBUG: AT2[/dev/ttyS0]: its a WAVECOM > > 2002-03-04 20:20:44 [5] INFO: AT2[/dev/ttyS0]: Modemtype set to WAVECOM > > 2002-03-04 20:20:44 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+CSMS=?^M > > 2002-03-04 20:20:44 [5] DEBUG: AT2[/dev/ttyS0]: <-- +CSMS: (0,1) > > 2002-03-04 20:20:44 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK > > 2002-03-04 20:20:44 [5] INFO: AT2[/dev/ttyS0]: Phase 2+ is supported > > 2002-03-04 20:20:44 [5] INFO: AT2[/dev/ttyS0]: Modemtype set to wavecom > > 2002-03-04 20:20:44 [5] INFO: AT2[/dev/ttyS0]: opening device > > 2002-03-04 20:20:44 [5] DEBUG: AT2[/dev/ttyS0]: device opened > > 2002-03-04 20:20:44 [5] INFO: AT2[/dev/ttyS0]: speed set to 9600 > > 2002-03-04 20:20:44 [5] DEBUG: AT2[/dev/ttyS0]: device opened > > 2002-03-04 20:20:44 [5] INFO: AT2[/dev/ttyS0]: init device > > 2002-03-04 20:20:44 [5] INFO: AT2[/dev/ttyS0]: speed set to 9600 > > 2002-03-04 20:20:44 [5] DEBUG: AT2[/dev/ttyS0]: --> AT^M > > 2002-03-04 20:20:44 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK > > 2002-03-04 20:20:45 [5] DEBUG: AT2[/dev/ttyS0]: --> AT&F^M > > 2002-03-04 20:20:45 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK > > 2002-03-04 20:20:45 [5] DEBUG: AT2[/dev/ttyS0]: --> ATE0^M > > 2002-03-04 20:20:47 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK > > 2002-03-04 20:20:47 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+IFC=2,2^M > > 2002-03-04 20:20:47 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK > > 2002-03-04 20:20:47 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+CPIN?^M > > 2002-03-04 20:20:47 [5] DEBUG: AT2[/dev/ttyS0]: <-- +CPIN: READY > > 2002-03-04 20:20:51 [5] ERROR: AT2[/dev/ttyS0]: Opening failed. Terminating > > 2002-03-04 20:20:51 [5] INFO: smsc_at2: waiting for 15 seconds before trying to connect again > > >