Hi Alvaro and list, here are the errors when using different modem init-string .... ideas?
init-string = "AT+CNMI=2,2,0,0,0;+CMEE=1" 2007-12-13 11:03:43 [16890] [6] DEBUG: AT2[wavecom]: --> AT^M 2007-12-13 11:03:43 [16890] [6] DEBUG: AT2[wavecom]: <-- OK 2007-12-13 11:03:43 [16890] [6] DEBUG: AT2[wavecom]: --> AT+CPMS?^M 2007-12-13 11:03:43 [16890] [6] DEBUG: AT2[wavecom]: <-- +CPMS: "SM",0,35,"SM",0,35,"SM",0,35 2007-12-13 11:03:43 [16890] [6] DEBUG: AT2[wavecom]: <-- OK 2007-12-13 11:03:53 [16890] [6] DEBUG: AT2[wavecom]: TP-Validity-Period: 24.0 hours 2007-12-13 11:03:53 [16890] [6] DEBUG: AT2[wavecom]: --> AT+CMGS=27^M 2007-12-13 11:03:53 [16890] [6] DEBUG: AT2[wavecom]: <-- > 2007-12-13 11:03:53 [16890] [6] DEBUG: AT2[wavecom]: send command status: 1 2007-12-13 11:03:53 [16890] [6] DEBUG: AT2[wavecom]: --> 0031000B912131535995F10011A70EE7F7F97D7E9F5B203A39ED3E03 2007-12-13 11:03:53 [16890] [6] DEBUG: AT2[wavecom]: --> ^Z 2007-12-13 11:03:55 [16890] [6] DEBUG: AT2[wavecom]: <-- > 2007-12-13 11:03:55 [16890] [6] DEBUG: AT2[wavecom]: <-- +CMS ERROR: 111 2007-12-13 11:03:55 [16890] [6] ERROR: AT2[wavecom]: CMS ERROR: +CMS ERROR: 111 2007-12-13 11:03:55 [16890] [6] ERROR: AT2[wavecom]: CMS ERROR: Protocol error, unspecified (111) 2007-12-13 11:03:55 [16890] [6] DEBUG: AT2[wavecom]: send command status: 1 2007-12-13 11:03:55 [16890] [6] DEBUG: AT2[wavecom]: --> AT+CMGS=27^M init-string = "AT+CMEE=2" 2007-12-13 10:57:49 [16730] [6] DEBUG: AT2[wavecom]: <-- +CPIN: READY 2007-12-13 10:58:00 [16730] [6] DEBUG: AT2[wavecom]: --> AT+CSCA="mysmsc"^M 2007-12-13 10:58:00 [16730] [6] DEBUG: AT2[wavecom]: <-- OK 2007-12-13 10:58:00 [16730] [6] DEBUG: AT2[wavecom]: --> AT+CMGF=0^M 2007-12-13 10:58:00 [16730] [6] DEBUG: AT2[wavecom]: <-- OK 2007-12-13 10:58:00 [16730] [6] DEBUG: AT2[wavecom]: --> AT+CSMS=?^M 2007-12-13 10:58:00 [16730] [6] DEBUG: AT2[wavecom]: <-- +CSMS: (0,1) 2007-12-13 10:58:00 [16730] [6] DEBUG: AT2[wavecom]: <-- OK 2007-12-13 10:58:00 [16730] [6] INFO: AT2[wavecom]: Phase 2+ is supported 2007-12-13 10:58:00 [16730] [6] DEBUG: AT2[wavecom]: --> AT+CSMS=1^M 2007-12-13 10:58:00 [16730] [6] DEBUG: AT2[wavecom]: <-- +CSMS: 1,1,1 2007-12-13 10:58:00 [16730] [6] DEBUG: AT2[wavecom]: <-- OK 2007-12-13 10:58:00 [16730] [6] DEBUG: AT2[wavecom]: --> AT+CMEE=2^M 2007-12-13 10:58:00 [16730] [6] DEBUG: AT2[wavecom]: <-- ERROR 2007-12-13 10:58:00 [16730] [6] ERROR: AT2[wavecom]: Generic error: ERROR 2007-12-13 10:58:00 [16730] [6] ERROR: AT2[wavecom]: Opening failed. Terminating 2007-12-13 10:58:00 [16730] [6] INFO: AT2[wavecom]: closing device 2007-12-13 10:58:00 [16730] [6] INFO: AT2[wavecom]: opening device 2007-12-13 10:58:00 [16730] [6] DEBUG: AT2[wavecom]: device opened 2007-12-13 10:58:00 [16730] [6] DEBUG: AT2[wavecom]: device opened 2007-12-13 10:58:00 [16730] [6] INFO: AT2[wavecom]: init device 2007-12-13 10:58:00 [16730] [6] INFO: AT2[wavecom]: speed set to 115200 2007-12-13 10:58:00 [16730] [6] DEBUG: AT2[wavecom]: --> ATZ^M 2007-12-13 10:58:00 [16730] [6] DEBUG: AT2[wavecom]: <-- OK 2007-12-13 10:58:00 [16730] [6] DEBUG: AT2[wavecom]: --> AT^M 2007-12-13 10:58:00 [16730] [6] DEBUG: AT2[wavecom]: <-- AT 2007-12-13 10:58:00 [16730] [6] DEBUG: AT2[wavecom]: <-- OK 2007-12-13 10:58:00 [16730] [6] DEBUG: AT2[wavecom]: --> AT&F^M 2007-12-13 10:58:01 [16730] [6] DEBUG: AT2[wavecom]: <-- AT&F 2007-12-13 10:58:01 [16730] [6] DEBUG: AT2[wavecom]: <-- OK 2007-12-13 10:58:01 [16730] [6] DEBUG: AT2[wavecom]: --> ATE0^M 2007-12-13 10:58:01 [16730] [6] DEBUG: AT2[wavecom]: <-- ATE0 2007-12-13 10:58:01 [16730] [6] DEBUG: AT2[wavecom]: <-- OK 2007-12-13 10:58:01 [16730] [6] DEBUG: AT2[wavecom]: --> AT+IFC=2,2^M 2007-12-13 10:58:01 [16730] [6] DEBUG: AT2[wavecom]: <-- OK 2007-12-13 10:58:01 [16730] [6] DEBUG: AT2[wavecom]: --> AT+CPIN?^M 2007-12-13 10:58:01 [16730] [6] DEBUG: AT2[wavecom]: <-- +CPIN: READY 2007-12-13 10:58:12 [16730] [6] DEBUG: AT2[wavecom]: --> AT+CSCA="mysmsc"^M kannel.conf #SMSC modem gsm group = smsc smsc = at host = localhost port = 13013 smsc-id = wavecom modemtype = wavecom device = /dev/ttyS0 speed = 115200 keepalive = 30 sim-buffering = true sms-center = mysmsc log-file = "/var/log/kannel/modem.log" log-level = 0 my-number = 12138396653 group = modems id = wavecom name = Wavecom detect-string = "WAVECOM" #init-string = "AT+CNMI=2,0,0,1,0" #init-string = "AT+CMEE=1;+CNMI=2,1,0,0,0" #init-string = "AT+CNMI=2,2,0,0,0;+CMEE=1" On Dec 13, 2007 8:07 AM, Alvaro Cornejo <[EMAIL PROTECTED]> wrote: > Hi Tim > > Try to add AT+CMEE=2 to your modem init to enable verbose logging from > the modem. This might give you aclue of the problem. Else send the new > log to the list > > Regards > > Alvaro > > <http://www.pravcom.com> >