gnokii-users
[Top][All Lists]
Advanced

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

another error when gnokii --getsms


From: Vieri
Subject: another error when gnokii --getsms
Date: Sun, 9 Aug 2009 11:01:10 -0700 (PDT)

Hi again,

I'm getting another error when trying to receive an SMS message.

I hope that the debug output can help (maybe TP-PI is acting up again?):

GNOKII Version 0.6.27
Couldn't read /root/.gnokiirc config file.
Couldn't read /root/.gnokiirc config file.
LOG: debug mask is 0x1
Config read from file /etc/gnokiirc.
phone instance config:
model = AT
port = /dev/ttyUSB0
connection = serial
initlength = default
serial_baudrate = 115200
serial_write_usleep = 5000
handshake = hardware
require_dcd = 0
smsc_timeout = 60
rfcomm_channel = 0
sm_retry = 0
Initializing AT capable mobile phone ...
Serial device: opening device /dev/ttyUSB0
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 / 0x0007
41 54 2b 47 4d 4d 0d                            | AT+GMM          
write: [AT+GMM<cr>]
read : [AT+GMM<cr><cr><lf>Nokia Card Phone RPM-3 
GSM900/1800<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x0033
02 41 54 2b 47 4d 4d 0d 0d 0a 4e 6f 6b 69 61 20 |  AT+GMM   Nokia 
43 61 72 64 20 50 68 6f 6e 65 20 52 50 4d 2d 33 | Card Phone RPM-3
20 47 53 4d 39 30 30 2f 31 38 30 30 0d 0a 0d 0a |  GSM900/1800    
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>Nokia Mobile Phones<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x0025
02 41 54 2b 43 47 4d 49 0d 0d 0a 4e 6f 6b 69 61 |  AT+CGMI   Nokia
20 4d 6f 62 69 6c 65 20 50 68 6f 6e 65 73 0d 0a |  Mobile Phones  
0d 0a 4f 4b 0d                                  |   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: "PCCP437"<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x61 / 0x0023
02 41 54 2b 43 53 43 53 3f 0d 0d 0a 2b 43 53 43 |  AT+CSCS?   +CSC
53 3a 20 22 50 43 43 50 34 33 37 22 0d 0a 0d 0a | S: "PCCP437"    
4f 4b 0d                                        | OK              
Received message type 61
Initialisation completed
Message sent: 0x61 / 0x000a
41 54 2b 43 53 43 53 3d 3f 0d                   | AT+CSCS=?       
write: [AT+CSCS=?<cr>]
read : [AT+CSCS=?<cr><cr><lf>+CSCS: 
("GSM","HEX","IRA","PCCP437","PCDN","8859-1")<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x61 / 0x0048
02 41 54 2b 43 53 43 53 3d 3f 0d 0d 0a 2b 43 53 |  AT+CSCS=?   +CS
43 53 3a 20 28 22 47 53 4d 22 2c 22 48 45 58 22 | CS: ("GSM","HEX"
2c 22 49 52 41 22 2c 22 50 43 43 50 34 33 37 22 | ,"IRA","PCCP437"
2c 22 50 43 44 4e 22 2c 22 38 38 35 39 2d 31 22 | ,"PCDN","8859-1"
29 0d 0a 0d 0a 4f 4b 0d                         | )    OK         
Received message type 61
Message sent: 0x00 / 0x000e
41 54 2b 43 53 43 53 3d 22 47 53 4d 22 0d       | AT+CSCS="GSM"   
write: [AT+CSCS="GSM"<cr>]
read : [AT+CSCS="GSM"<cr><cr><lf>OK<cr><lf>]
Message received: 0x00 / 0x0014
02 41 54 2b 43 53 43 53 3d 22 47 53 4d 22 0d 0d |  AT+CSCS="GSM"  
0a 4f 4b 0d                                     |  OK             
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 : [AT+CPMS="SM"<cr><cr><lf>+CPMS: 1,30,1,30,1,30<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x00 / 0x002c
02 41 54 2b 43 50 4d 53 3d 22 53 4d 22 0d 0d 0a |  AT+CPMS="SM"   
2b 43 50 4d 53 3a 20 31 2c 33 30 2c 31 2c 33 30 | +CPMS: 1,30,1,30
2c 31 2c 33 30 0d 0a 0d 0a 4f 4b 0d             | ,1,30    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: 
1,,28<cr><lf>07914306090909F906CD098186468254F89080709002818090807002336080009FD6E494<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x18 / 0x006a
02 41 54 2b 43 4d 47 52 3d 31 0d 0d 0a 2b 43 4d |  AT+CMGR=1   +CM
47 52 3a 20 31 2c 2c 32 38 0d 0a 30 37 39 31 34 | GR: 1,,28  07914
33 30 36 30 39 30 39 30 39 46 39 30 36 43 44 30 | 306090909F906CD0
39 38 31 38 36 34 36 38 32 35 34 46 38 39 30 38 | 98186468254F8908
30 37 30 39 30 30 32 38 31 38 30 39 30 38 30 37 | 0709002818090807
30 30 32 33 33 36 30 38 30 30 30 39 46 44 36 45 | 002336080009FD6E
34 39 34 0d 0a 0d 0a 4f 4b 0d                   | 494    OK       
Received message type 18
07914306090909F906CD098186468254F89080709002818090807002336080009FD6E494
SMS-STATUS-REPORT found
TP-Parameter-Indicator: 0x9f
Phone gave as poisonous (too short?) reply, either phone went crazy or 
communication went out of sync
GetSMS SM 1 failed! (Problem occurred internal to model specific code.)
Serial device: closing device


Please note that I applied the latest TP-PI patch to this gnokii version.

Thanks,

Vieri



      




reply via email to

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