gnokii-users
[Top][All Lists]
Advanced

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

SIGSEGV while getting sms


From: Jan Kuzel
Subject: SIGSEGV while getting sms
Date: 15 Jan 2006 23:55:13 +0100

Hello,
while getting sms from serial connected Siemens ES75 (AT mode) I've got SIGSEGV
I've use following command:
gnokii --getsms SM 1 -f test.txt
and my version of GNOKII is 0.6.10 (Built 05:32:44 Nov 26 2005)

complete result of command is here:

GNOKII Version 0.6.10
LOG: debug mask is 0x1
Lockfile /var/lock/LCK..ttyS0 is stale. Overriding it..
phone instance config:
model: AT
port_device: /dev/ttyS0
connection_type: 0
init_length: 0
serial_baudrate: 115200
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/ttyS0
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>MC75<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x0016
02 41 54 2b 43 47 4d 4d 0d 0d 0a 4d 43 37 35 0d |  AT+CGMM   MC75
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>SIEMENS<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x0019
02 41 54 2b 43 47 4d 49 0d 0d 0a 53 49 45 4d 45 |  AT+CGMI   SIEME
4e 53 0d 0a 0d 0a 4f 4b 0d                      | NS    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: "GSM"<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 47 53 4d 22 0d 0a 0d 0a 4f 4b 0d    | S: "GSM"    OK
Received message type 61
Initialisation completed
Saving into test.txt
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",3,15,"SM",3,15,"SM",3,15<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 33 2c 31 35 2c 22 53 4d | S: "SM",3,15,"SM
22 2c 33 2c 31 35 2c 22 53 4d 22 2c 33 2c 31 35 | ",3,15,"SM",3,15
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: 
3,15,3,15,3,15<cr><lf><cr><lf>O                              K<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 33 2c 31 35 2c 33 2c 31 35 2c 33 2c 31 35 0d |  3,15,3,15,3,15
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 31 0d                   | AT+CMGR=1
write: [AT+CMGR=1<cr>]
read : [AT+CMGR=1<cr><cr><lf>+CMGR: 
25<cr><lf>079124603050020006A30C912460403206                              
48601051915030406010519150804000<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x18 / 0x0061
02 41 54 2b 43 4d 47 52 3d 31 0d 0d 0a 2b 43 4d |  AT+CMGR=1   +CM
47 52 3a 20 32 35 0d 0a 30 37 39 31 32 34 36 30 | GR: 25  07912460
33 30 35 30 30 32 30 30 30 36 41 33 30 43 39 31 | 3050020006A30C91
32 34 36 30 34 30 33 32 30 36 34 38 36 30 31 30 | 2460403206486010
35 31 39 31 35 30 33 30 34 30 36 30 31 30 35 31 | 5191503040601051
39 31 35 30 38 30 34 30 30 30 0d 0a 0d 0a 4f 4b | 9150804000    OK
0d                                              |
Received message type 18
Neoprávněný přístup do paměti (SIGSEGV)



Can anybody help?

Thank you

Best regards

Ing. Jan Kuzel
CC unLimited, v.o.

reply via email to

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