[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Nokia 6131
From: |
Christopher Beppler |
Subject: |
Nokia 6131 |
Date: |
Tue, 17 Apr 2007 20:53:56 +0200 |
User-agent: |
Thunderbird 1.5.0.10 (X11/20070306) |
Hello!
I got my new an shiny 6131 today. But unfortunately I did't get it to
run with gnokii. (sure I can use the AT driver, but then I am unable to
read the SMS).
If I use the AT driver with an rfcom bounded bluetooth device i get the
following:
--- SNIPP ---
address@hidden:~/temo$ gnokii --getsms ME 0
GNOKII Version 0.6.14
LOG: debug mask is 0x1
LOG: rlpdebug mask is 0x1
LOG: xdebug mask is 0x1
Config read from file /home/funzi/.gnokiirc.
phone instance config:
model: AT
port_device: /dev/rfcomm0
connection_type: 0
init_length: 0
serial_baudrate: 19200
serial_write_usleep: -1
hardware_handshake: 0
require_dcd: 0
smsc_timeout: 100
connect_script:
disconnect_script:
rfcomm_cn: 1
sm_retry: off
Initializing AT capable mobile phone ...
Serial device: opening device /dev/rfcomm0
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 6131<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x001c
02 41 54 2b 43 47 4d 4d 0d 0d 0a 4e 6f 6b 69 61 | AT+CGMM Nokia
20 36 31 33 31 0d 0a 0d 0a 4f 4b 0d | 6131 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
Message sent: 0x00 / 0x000d
41 54 2b 43 50 4d 53 3d 22 4d 45 22 0d | AT+CPMS="ME"
write: [AT+CPMS="ME"<cr>]
read : [AT+CPMS="ME"<cr><cr><lf>+CPMS:
2,4095,1,10,3,4105<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x00 / 0x0030
02 41 54 2b 43 50 4d 53 3d 22 4d 45 22 0d 0d 0a | AT+CPMS="ME"
2b 43 50 4d 53 3a 20 32 2c 34 30 39 35 2c 31 2c | +CPMS: 2,4095,1,
31 30 2c 33 2c 34 31 30 35 0d 0a 0d 0a 4f 4b 0d | 10,3,4105 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 : [^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
GetSMS ME 0 failed! (The given memory location is invalid.)
Serial device: closing device
--- SNIPP ---
What i my fault? Did I use the wrong slot for this device. I than read
in your FAQ how to add a model.
this is the new line in nk6100.c :
"6110|6130|6131|6150|6190|5110|5130|5190|3210|3310|3330|3360|3390|3410|8210|8250|8290|8850|RPM-1",
/* Supported models */
and this is the new line in misc.c
{"6131", "RM-115", PM_CALLERGROUP | PM_CALENDAR | PM_NETMONITOR |
PM_KEYBOARD | PM_SMS | PM_DTMF | PM_DATA | PM_SPEEDDIAL |
PM_AUTHENTICATION },
with this modifications I used model = 6131
Then i get the following:
--- SNIPP ---
address@hidden:~$ gnokii --getsms ME 0
GNOKII Version 0.6.14
LOG: debug mask is 0x1
LOG: rlpdebug mask is 0x1
LOG: xdebug mask is 0x1
Config read from file /home/funzi/.gnokiirc.
Lockfile /var/lock/LCK..rfcomm0 is stale. Overriding it..
phone instance config:
model: 6131
port_device: /dev/rfcomm0
connection_type: 0
init_length: 0
serial_baudrate: 19200
serial_write_usleep: -1
hardware_handshake: 0
require_dcd: 0
smsc_timeout: 100
connect_script:
disconnect_script:
rfcomm_cn: 1
sm_retry: off
Serial device: opening device /dev/rfcomm0
Serial device: setting speed to 115200
Serial device: setting RTS to low and DTR to high
Serial write: transmitter busy, waiting
--- SNIPP ---
more does'nt happen...
I hope that you can give me a hint.
Thanks a lot
Christopher
- Nokia 6131,
Christopher Beppler <=