Problem occurred internal to model specific code
Rodrigo Montiel <[email protected]> Mon, 09 Dec 2013 14:44:50 -0300
| Newsgroups | gmane.linux.drivers.gnokii |
|---|---|
| Message-ID | <1386611090.2661.23.camel@condor> |
Hi list! My environment: [root@elx-gnokii-sms ~]# lsusb | grep uaw Bus 001 Device 003: ID 12d1:1506 Huawei Technologies Co., Ltd. Modem/Networkcard --> NOTE: model E3131 Bus 001 Device 002: ID 12d1:1506 Huawei Technologies Co., Ltd. Modem/Networkcard --> NOTE: model E3131 Bus 001 Device 004: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E230/E270/E870 HSDPA/HSUPA Modem --> NOTE: model E160 [root@elx-gnokii-sms ~]# uname -a Linux elx-gnokii-sms.localdomain 2.6.18-371.1.2.el5 #1 My gnokii configuration: Gnokii version: 0.6.31 SMSD version: 1.5.2 Gnokiirc: [phone_1] model = AT port = /dev/ttyUSB2 connection = serial handshake = software #initlength = default use_locking = no #serial_baudrate = 19200 smsc_timeout = 10 #report=yes In the logs, to many "Problem occurred internal to model specific code" and command timeout causing the restarting of the connection. In most cases with the E3131 model (blow the full log): Text: Hi ERICK VERTIDO, you have won a save plan car, please call back. Sending to 3516638121 unsuccessful. Error: Problem occurred internal to model specific code. write: [AT+CPMS="ME"<cr>] read : [^STIN: 1, 0, 0<cr><lf><cr><lf>^STIN: 1, 0, 0<cr><lf><cr><lf>^STIN: 1, 0, 0<cr><lf><cr><lf>^STIN: 1, 0, 0<cr><lf><cr><lf>^STIN: 1, 0, 0<cr><lf><cr><lf>^STIN: 1, 0, 0<cr><lf><cr><lf>^STIN: 1, 0, 0<cr><lf><cr><lf>^STIN: 1, 0, 0<cr><lf><cr><lf>^STIN: 1, 0, 0<cr><lf><cr><lf>^STIN: 1, 0, 0<cr><lf><cr><lf>^STIN: 1, 0, 0<cr><lf><cr><lf>^STIN: 1, 0, 0<cr><lf>AT +CMGS=128<cr><cr><lf>> ] Message received: 0x00 / 0x00e6 01 5e 53 54 49 4e 3a 20 31 2c 20 30 2c 20 30 0d | ^STIN: 1, 0, 0 0a 0d 0a 5e 53 54 49 4e 3a 20 31 2c 20 30 2c 20 | ^STIN: 1, 0, 30 0d 0a 0d 0a 5e 53 54 49 4e 3a 20 31 2c 20 30 | 0 ^STIN: 1, 0 2c 20 30 0d 0a 0d 0a 5e 53 54 49 4e 3a 20 31 2c | , 0 ^STIN: 1, 20 30 2c 20 30 0d 0a 0d 0a 5e 53 54 49 4e 3a 20 | 0, 0 ^STIN: 31 2c 20 30 2c 20 30 0d 0a 0d 0a 5e 53 54 49 4e | 1, 0, 0 ^STIN 3a 20 31 2c 20 30 2c 20 30 0d 0a 0d 0a 5e 53 54 | : 1, 0, 0 ^ST 49 4e 3a 20 31 2c 20 30 2c 20 30 0d 0a 0d 0a 5e | IN: 1, 0, 0 ^ 53 54 49 4e 3a 20 31 2c 20 30 2c 20 30 0d 0a 0d | STIN: 1, 0, 0 0a 5e 53 54 49 4e 3a 20 31 2c 20 30 2c 20 30 0d | ^STIN: 1, 0, 0 0a 0d 0a 5e 53 54 49 4e 3a 20 31 2c 20 30 2c 20 | ^STIN: 1, 0, 30 0d 0a 0d 0a 5e 53 54 49 4e 3a 20 31 2c 20 30 | 0 ^STIN: 1, 0 2c 20 30 0d 0a 0d 0a 5e 53 54 49 4e 3a 20 31 2c | , 0 ^STIN: 1, 20 30 2c 20 30 0d 0a 41 54 2b 43 4d 47 53 3d 31 | 0, 0 AT+CMGS=1 32 38 0d 0d 0a 3e | 28 > Received message type 00 Message sent: 0x00 / 0x000d 41 54 2b 43 50 4d 53 3d 22 53 4d 22 0d | AT+CPMS="SM" write: [AT+CPMS="SM"<cr>] read : [^A0+CPMS="ME"<cr><cr><lf>+CMS ERROR: 304<cr><lf>] Message received: 0x00 / 0x0020 04 01 30 2b 43 50 4d 53 3d 22 4d 45 22 0d 0d 0a | 0+CPMS="ME" 2b 43 4d 53 20 45 52 52 4f 52 3a 20 33 30 34 0d | +CMS ERROR: 304 Received message type 00 lowlevel.c:463 error: 4, Problem occurred internal to model specific code. Is there something that I can look into? Sometimes it works, sometime smsd finds those errors and restart the connection. Maybe there are incompatibilities or something that I am not aware of? Thanks my gurues! Rgds,