[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Nokia 6230i + CA-53 problem + smsd
From: |
Matthew |
Subject: |
Nokia 6230i + CA-53 problem + smsd |
Date: |
Tue, 12 Feb 2008 09:56:34 +0100 |
User-agent: |
Thunderbird 2.0.0.6 (X11/20071022) |
Hi,
I have ${subject} + .gnokiirc:
port = /dev/ttyACM1
model = AT
connection = serial
Initial log messages (from smsd debug log):
------------------------------------------------------------------------
LOG: debug mask is 0x1
LOG: rlpdebug mask is 0x1
LOG: xdebug mask is 0x1
Config read from file /home/smsd/.gnokiirc.
Lockfile /var/lock/LCK..ttyACM1 is stale. Overriding it..
phone instance config:
model = AT
port = /dev/ttyACM1
connection = serial
initlength = default
serial_baudrate = 19200
serial_write_usleep = -1
handshake = software
require_dcd = 0
smsc_timeout = 10
rfcomm_channel = 1
sm_retry = 0
Initializing AT capable mobile phone ...
Serial device: opening device /dev/ttyACM1
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>Nokia 6230i<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x001d
02 41 54 2b 43 47 4d 4d 0d 0d 0a 4e 6f 6b 69 61 | AT+CGMM Nokia
20 36 32 33 30 69 0d 0a 0d 0a 4f 4b 0d | 6230i 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<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x0017
02 41 54 2b 43 47 4d 49 0d 0d 0a 4e 6f 6b 69 61 | AT+CGMI Nokia
0d 0a 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
fbusinit: error 0
Message sent: 0x06 / 0x0008
41 54 2b 43 47 4d 4d 0d | AT+CGMM
write: [AT+CGMM<cr>]
read : [AT+CGMM<cr><cr><lf>Nokia 6230i<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x001d
02 41 54 2b 43 47 4d 4d 0d 0d 0a 4e 6f 6b 69 61 | AT+CGMM Nokia
20 36 32 33 30 69 0d 0a 0d 0a 4f 4b 0d | 6230i OK
Received message type 06
Version: <D0>^C<8D><B7>s<EE><FC><B7>^X'<FB><B7>X<A7>ะท^A
Model: unknown
Revision: &
Phone connected. Starting monitoring...
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:
0,30,0,30,0,180<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x00 / 0x002d
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 30 2c 33 30 2c 30 2c 33 30 | +CPMS: 0,30,0,30
2c 30 2c 31 38 30 0d 0a 0d 0a 4f 4b 0d | ,0,180 OK
Received message type 00
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,30,"SM",0,30,"MT",0,180<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x12 / 0x0038
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 33 30 2c 22 53 4d | S: "SM",0,30,"SM
22 2c 30 2c 33 30 2c 22 4d 54 22 2c 30 2c 31 38 | ",0,30,"MT",0,18
30 0d 0a 0d 0a 4f 4b 0d | 0 OK
Received message type 12
GN_OP_GetSMSStatus returned (number, unread) 0, 0
phoneMonitor 0
...
------------------------------------------------------------------------
Recieve of the message:
------------------------------------------------------------------------
...
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",1,30,"SM",1,30,"MT",1,180<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x12 / 0x0038
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 31 2c 33 30 2c 22 53 4d | S: "SM",1,30,"SM
22 2c 31 2c 33 30 2c 22 4d 54 22 2c 31 2c 31 38 | ",1,30,"MT",1,18
30 0d 0a 0d 0a 4f 4b 0d | 0 OK
Received message type 12
GN_OP_GetSMSStatus returned (number, unread) 1, 0
phoneMonitor 0
RefreshSMS is running...
Number of messages: 1
Detecting first SMS position.
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>+CMGR:
0,,23<cr><lf>0791249150033330240C9124915074027600008020219024244004C832FB0D<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x18 / 0x0060
02 41 54 2b 43 4d 47 52 3d 30 0d 0d 0a 2b 43 4d | AT+CMGR=0 +CM
47 52 3a 20 30 2c 2c 32 33 0d 0a 30 37 39 31 32 | GR: 0,,23 07912
34 39 31 35 30 30 33 33 33 33 30 32 34 30 43 39 | 49150033330240C9
31 32 34 39 31 35 30 37 34 30 32 37 36 30 30 30 | 1249150740276000
30 38 30 32 30 32 31 39 30 32 34 32 34 34 30 30 | 0802021902424400
34 43 38 33 32 46 42 30 44 0d 0a 0d 0a 4f 4b 0d | 4C832FB0D OK
Received message type 18
0791249150033330240C9124915074027600008020219024244004C832FB0D
SMS-DELIVER found
Mobile Terminated message:
Date: 2008-02-12 09:42:42 +0100
Remote number (recipient or sender): +421905472067
SMS center number: +421905303303
Default Alphabet
Helo
First SMS position is 0
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 : [^AA+CMGR=0<cr><cr><lf>+CMS ERROR: 321<cr><lf>]
Message received: 0x18 / 0x001d
04 01 41 2b 43 4d 47 52 3d 30 0d 0d 0a 2b 43 4d | A+CMGR=0 +CM
53 20 45 52 52 4f 52 3a 20 33 32 31 0d | S ERROR: 321
Received message type 18
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",1,30,"SM",1,30,"MT",1,180<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x12 / 0x0038
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 31 2c 33 30 2c 22 53 4d | S: "SM",1,30,"SM
22 2c 31 2c 33 30 2c 22 4d 54 22 2c 31 2c 31 38 | ",1,30,"MT",1,18
30 0d 0a 0d 0a 4f 4b 0d | 0 OK
Received message type 12
GN_OP_GetSMSStatus returned (number, unread) 1, 0
phoneMonitor 0
RefreshSMS is running...
Number of messages: 1
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
...
------------------------------------------------------------------------
And the messages start to repeating, each time ERROR 321.
smsd doesn't display the usual message "Inserting sms from ... successful."
I'v ben playing with the values of
serial_write_usleep
handshake
smsc_timeout
without any luck... :(
Do You have some hints, what to do/try next?