gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Segmentation Violation when trying to read SMS on a Huawei E220


From: ElChef
Subject: Segmentation Violation when trying to read SMS on a Huawei E220
Date: Mon, 13 Aug 2007 12:55:54 +0200

SMSServer:~# gnokii --getsms SM 0
GNOKII Version 0.6.18
LOG: debug mask is 0x1
phone instance config:
model: AT-HW
port_device: /dev/ttyUSB1
connection_type: 0
init_length: 0
serial_baudrate: 19200
serial_write_usleep: -1
hardware_handshake: 0
require_dcd: 0
smsc_timeout: 200
connect_script:
disconnect_script:
rfcomm_cn: 1
sm_retry: off
Initializing AT capable mobile phone ...
Serial device: opening device /dev/ttyUSB1
Serial device: setting RTS to high and DTR to high
Serial device: setting RTS to high and DTR to low
Serial device: setting RTS to high and DTR to high
Message sent: 0x00 / 0x0004
41 54 5a 0d                                     | ATZ
write: [ATZ<cr>]
read : [ATZ<cr><cr><lf>OK<cr><lf>]
Message received: 0x00 / 0x000a
02 41 54 5a 0d 0d 0a 4f 4b 0d                   |  ATZ   OK
Received message type 00
Message sent: 0x00 / 0x0005
41 54 45 31 0d                                  | ATE1
write: [ATE1<cr>]
read : [ATE1<cr><cr><lf>OK<cr><lf>]
Message received: 0x00 / 0x000b
02 41 54 45 31 0d 0d 0a 4f 4b 0d                |  ATE1   OK
Received message type 00
Message sent: 0x00 / 0x000a
41 54 2b 43 4d 45 45 3d 31 0d                   | AT+CMEE=1
write: [AT+CMEE=1<cr>]
read : [AT+CMEE=1<cr><cr><lf>OK<cr><lf>]
Message received: 0x00 / 0x0010
02 41 54 2b 43 4d 45 45 3d 31 0d 0d 0a 4f 4b 0d |  AT+CMEE=1   OK
Received message type 00
Message sent: 0x06 / 0x0008
41 54 2b 43 47 4d 4d 0d                         | AT+CGMM
write: [AT+CGMM<cr>]
read : [AT+CGMM<cr><cr><lf>E220<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x0016
02 41 54 2b 43 47 4d 4d 0d 0d 0a 45 32 32 30 0d |  AT+CGMM   E220
0a 0d 0a 4f 4b 0d                               |    OK
Received message type 06
Message sent: 0x06 / 0x0008
41 54 2b 43 47 4d 49 0d                         | AT+CGMI
write: [AT+CGMI<cr>]
read : [AT+CGMI<cr><cr><lf>huawei<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x0018
02 41 54 2b 43 47 4d 49 0d 0d 0a 68 75 61 77 65 |  AT+CGMI   huawe
69 0d 0a 0d 0a 4f 4b 0d                         | i    OK
Received message type 06
Message sent: 0x61 / 0x0009
41 54 2b 43 53 43 53 3f 0d                      | AT+CSCS?
write: [AT+CSCS?<cr>]
read : [AT+CSCS?<cr><cr><lf>+CSCS: "IRA"<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x61 / 0x001f
02 41 54 2b 43 53 43 53 3f 0d 0d 0a 2b 43 53 43 |  AT+CSCS?   +CSC
53 3a 20 22 49 52 41 22 0d 0a 0d 0a 4f 4b 0d    | S: "IRA"    OK
Received message type 61
Initialisation completed
Message sent: 0x12 / 0x0009
41 54 2b 43 50 4d 53 3f 0d                      | AT+CPMS?
write: [AT+CPMS?<cr>]
read : [AT+CPMS?<cr><cr><lf>+CPMS:
"SM",0,50,"SM",0,50,"SM",0,50<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x12 / 0x0037
02 41 54 2b 43 50 4d 53 3f 0d 0d 0a 2b 43 50 4d |  AT+CPMS?   +CPM
53 3a 20 22 53 4d 22 2c 30 2c 35 30 2c 22 53 4d | S: "SM",0,50,"SM
22 2c 30 2c 35 30 2c 22 53 4d 22 2c 30 2c 35 30 | ",0,50,"SM",0,50
0d 0a 0d 0a 4f 4b 0d                            |     OK
Received message type 12
Message sent: 0x00 / 0x0017
41 54 2b 43 50 4d 53 3d 22 53 4d 22 2c 22 53 4d | AT+CPMS="SM","SM
22 2c 22 53 4d 22 0d                            | ","SM"
write: [AT+CPMS="SM","SM","SM"<cr>]
read : [AT+CPMS="SM","SM","SM"<cr><cr><lf>+CPMS:
0,50,0,50,0,50<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x00 / 0x0036
02 41 54 2b 43 50 4d 53 3d 22 53 4d 22 2c 22 53 |  AT+CPMS="SM","S
4d 22 2c 22 53 4d 22 0d 0d 0a 2b 43 50 4d 53 3a | M","SM"   +CPMS:
20 30 2c 35 30 2c 30 2c 35 30 2c 30 2c 35 30 0d |  0,50,0,50,0,50
0a 0d 0a 4f 4b 0d                               |    OK
Received message type 00
Message sent: 0x63 / 0x000a
41 54 2b 43 4d 47 46 3d 30 0d                   | AT+CMGF=0
write: [AT+CMGF=0<cr>]
read : [AT+CMGF=0<cr><cr><lf>OK<cr><lf>]
Message received: 0x63 / 0x0010
02 41 54 2b 43 4d 47 46 3d 30 0d 0d 0a 4f 4b 0d |  AT+CMGF=0   OK
Received message type 63
PDU mode set
Message sent: 0x18 / 0x000a
41 54 2b 43 4d 47 52 3d 30 0d                   | AT+CMGR=0
write: [AT+CMGR=0<cr>]
read : [AT+CMGR=0<cr><cr><lf>OK<cr><lf>]
Message received: 0x18 / 0x0010
02 41 54 2b 43 4d 47 52 3d 30 0d 0d 0a 4f 4b 0d |  AT+CMGR=0   OK
Received message type 18
ViolaciĆ³n de segmento
Segmentation violation

My /etc/gnokiirc

# This is a sample ~/.gnokiirc file. Copy it into your

# home directory and name it .gnokiirc.

# See http://wiki.gnokii.org/index.php/Config for working examples.

#




[global]

port = /dev/ttyUSB1

model = AT-HW

initlength = default

connection = serial

use_locking = yes

serial_baudrate = 115200

handshake = hardware

smsc_timeout = 30

[gnokiid]

bindir = /usr/sbin/

[connect_script]

[disconnect_script]

[logging]




# where to log the debug output (on: stderr, off: /dev/null)

debug = on




# where to log the rlp debug output (on: stderr, off: /dev/null)

rlpdebug = off




# where to log X debug output (on: stderr, off: /dev/null)

xdebug = off






What can I do?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]