[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: another error when gnokii --getsms
From: |
Vieri |
Subject: |
Re: another error when gnokii --getsms |
Date: |
Thu, 13 Aug 2009 03:01:11 -0700 (PDT) |
--- On Mon, 8/10/09, Pawel Kot <address@hidden> wrote:
> On Sun, Aug 9, 2009 at 20:01, Vieri <address@hidden>
> wrote:
> > 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
>
> Is it 0.6.27 or git version? If 0.6.27 please upgrade and
> retry. There
> were many changes regarding SMS layout.
Hi,
I upgraded to the latest GIT and I'm still getting the same error. Any ideas?
# gnokii --phone usb0 --getsms SM 1
GNOKII Version 0.6.28cvs
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: 0x63 / 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: 0x63 / 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 63
Initialisation completed
Getting message #1 from SM
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:
15,30,15,30,15,30<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x00 / 0x002f
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 35 2c 33 30 2c 31 35 2c | +CPMS: 15,30,15,
33 30 2c 31 35 2c 33 30 0d 0a 0d 0a 4f 4b 0d | 30,15,30 OK
Received message type 00
Message sent: 0x65 / 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: 0x65 / 0x0010
02 41 54 2b 43 4d 47 46 3d 30 0d 0d 0a 4f 4b 0d | AT+CMGF=0 OK
Received message type 65
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,,27<cr><lf>07914306090909F906DE098136300594F4908021806421809080218064818000DDF4B2<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x18 / 0x0068
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 37 0d 0a 30 37 39 31 34 | GR: 1,,27 07914
33 30 36 30 39 30 39 30 39 46 39 30 36 44 45 30 | 306090909F906DE0
39 38 31 33 36 33 30 30 35 39 34 46 34 39 30 38 | 98136300594F4908
30 32 31 38 30 36 34 32 31 38 30 39 30 38 30 32 | 0218064218090802
31 38 30 36 34 38 31 38 30 30 30 44 44 46 34 42 | 18064818000DDF4B
32 0d 0a 0d 0a 4f 4b 0d | 2 OK
Received message type 18
07914306090909F906DE098136300594F4908021806421809080218064818000DDF4B2
SMS-STATUS-REPORT found
TP-Parameter-Indicator: 0xdd
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
# echo $?
4
- another error when gnokii --getsms, Vieri, 2009/08/09
- RE: another error when gnokii --getsms, Michael Hutchinson, 2009/08/09
- Re: another error when gnokii --getsms, Pawel Kot, 2009/08/10
- Re: another error when gnokii --getsms,
Vieri <=
- Re: another error when gnokii --getsms, Daniele Forsi, 2009/08/13
- Re: another error when gnokii --getsms, Vieri, 2009/08/14
- Re: another error when gnokii --getsms, Daniele Forsi, 2009/08/14
- Re: another error when gnokii --getsms, Vieri, 2009/08/14
- Re: another error when gnokii --getsms, Daniele Forsi, 2009/08/14
- Re: another error when gnokii --getsms, Pawel Kot, 2009/08/14
- Re: another error when gnokii --getsms, Daniele Forsi, 2009/08/14
- Re: another error when gnokii --getsms, Vieri, 2009/08/14
- Re: another error when gnokii --getsms, Vieri, 2009/08/14
- Re: another error when gnokii --getsms, Pawel Kot, 2009/08/14