gnokii-users
[Top][All Lists]
Advanced

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

Re: Nokia 6300 --getXYZ


From: rozelak
Subject: Re: Nokia 6300 --getXYZ
Date: Tue, 07 Aug 2007 13:01:51 +0200 (CEST)

Hallo, I compiled 0.6.18 version, and have tried your hintns, but no
success. Comments for each try continues ...

> Hi.
> 
> 
> > if it is going to be added in future. Or must special
> > "driver" (like
> > > nkXXXX) be implemented for the phone?
> 
> But it is. For Nokia 6300 you can safely use nk6510
> driver.

I have tried to use the driver, my .gnokiirc looks like:

[global]
port = /dev/ttyACM0
model = 6510
initlength = default
connection = serial
use_locking = no
serial_baudrate = 19200
smsc_timeout = 10

[gnokiid]
bindir = /usr/local/sbin/

[connect_script]
TELEPHONE = 12345678
[disconnect_script]

[logging]
debug = on
rlpdebug = off
xdebug = off


But the following messages appeared at the console when I tried --getsms
and --gettodo:

address@hidden ~/temp/gnokii-0.6.18 $ gnokii --identify
GNOKII Version 0.6.18
LOG: debug mask is 0x1
Config read from file /home/rozelak/.gnokiirc.
phone instance config:
model: 6510
port_device: /dev/ttyACM0
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
Connecting
Serial device: opening device /dev/ttyACM0
Serial device: setting speed to 115200
Serial device: setting RTS to low and DTR to low
Getting model...
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               |
SM_Block: exiting the retry loop
Message sent: 0x1b / 0x0006 
00 01 00 07 01 00                               |
[Echo cancelled]
SM_Block: exiting the retry loop
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               |
[Echo cancelled]
SM_Block: exiting the retry loop
Serial device: closing device
Serial device: opening device /dev/ttyACM0
Serial device: setting speed to 115200
Serial device: setting RTS to low and DTR to high
Serial device: opening device /dev/ttyACM0
Serial device: setting RTS to low and DTR to low
Serial device: setting RTS to high and DTR to high
Serial device: setting speed to 19200
Switching to FBUS mode

*** ctrl-c, no further ouptut appered after several minutes ***


address@hidden ~/temp/gnokii-0.6.18 $ gnokii --getsms SM 1 end
GNOKII Version 0.6.18
LOG: debug mask is 0x1
Config read from file /home/rozelak/.gnokiirc.
phone instance config:
model: 6510
port_device: /dev/ttyACM0
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
Connecting
Serial device: opening device /dev/ttyACM0
Serial device: setting speed to 115200
Serial device: setting RTS to low and DTR to low
Getting model...
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               |
SM_Block: exiting the retry loop
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               |
[Echo cancelled]
SM_Block: exiting the retry loop
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               |
[Echo cancelled]
SM_Block: exiting the retry loop
Serial device: closing device
Serial device: opening device /dev/ttyACM0
Serial device: setting speed to 115200
Serial device: setting RTS to low and DTR to high
Serial device: opening device /dev/ttyACM0
Serial device: setting RTS to low and DTR to low
Serial device: setting RTS to high and DTR to high
Serial device: setting speed to 19200
Switching to FBUS mode

*** ctrl-c, no further ouptut appered after several minutes ***



address@hidden ~/temp/gnokii-0.6.18 $ gnokii --gettodo 1 end
GNOKII Version 0.6.18
LOG: debug mask is 0x1
Config read from file /home/rozelak/.gnokiirc.
phone instance config:
model: 6510
port_device: /dev/ttyACM0
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
Connecting
Serial device: opening device /dev/ttyACM0
Serial device: setting speed to 115200
Serial device: setting RTS to low and DTR to low
Getting model...
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               |
SM_Block: exiting the retry loop
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               |
[Echo cancelled]
SM_Block: exiting the retry loop
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               |
[Echo cancelled]
SM_Block: exiting the retry loop
Serial device: closing device
Serial device: opening device /dev/ttyACM0
Serial device: setting speed to 115200
Serial device: setting RTS to low and DTR to high
Serial device: opening device /dev/ttyACM0
Serial device: setting RTS to low and DTR to low
Serial device: setting RTS to high and DTR to high
Serial device: setting speed to 19200
Switching to FBUS mode

*** ctrl-c, no further ouptu appered ***

Switching back to AT mode (just model changed in .gnokiirc, nothing more),
the --identify and --getphonebook worked (without
group info, which silly not to be provided by phone ;-) ):

address@hidden ~/temp/gnokii-0.6.18 $ gnokii --identify 2>/dev/null
IMEI         : 356261011722228
Manufacturer : Nokia
Model        : Nokia 6300
Product name : Nokia 6300
Revision     : V 04.70

But SMS and callendar did not work at all:

address@hidden ~/temp/gnokii-0.6.18 $ gnokii --getsms SM 1 end
GNOKII Version 0.6.18
LOG: debug mask is 0x1
Config read from file /home/rozelak/.gnokiirc.
phone instance config:
model: AT
port_device: /dev/ttyACM0
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/ttyACM0
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 6300<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 33 30 30 0d 0a 0d 0a 4f 4b 0d             |  6300    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 53 4d 22 0d          | AT+CPMS="SM"
write: [AT+CPMS="SM"<cr>]
read : [AT+CPMS="SM"<cr><cr><lf>ERROR<cr><lf>]
Message received: 0x00 / 0x0016
03 41 54 2b 43 50 4d 53 3d 22 53 4d 22 0d 0d 0a |  AT+CPMS="SM"
45 52 52 4f 52 0d                               | ERROR
Received message type 00
GetSMS SM 1 failed! (Unknown error - well better than nothing!!)
Serial device: closing device

--------

address@hidden ~/temp/gnokii-0.6.18 $ gnokii --getcalendarnote
1 end
GNOKII Version 0.6.18
LOG: debug mask is 0x1
Config read from file /home/rozelak/.gnokiirc.
phone instance config:
model: AT
port_device: /dev/ttyACM0
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/ttyACM0
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 6300<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 33 30 30 0d 0a 0d 0a 4f 4b 0d             |  6300    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
The calendar note can not be read: Command called isn't implemented in
model.
Serial device: closing device

--------

address@hidden ~/temp/gnokii-0.6.18 $ gnokii --gettodo 1 end
GNOKII Version 0.6.18
LOG: debug mask is 0x1
Config read from file /home/rozelak/.gnokiirc.
phone instance config:
model: AT
port_device: /dev/ttyACM0
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/ttyACM0
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 6300<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 33 30 30 0d 0a 0d 0a 4f 4b 0d             |  6300    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
The ToDo note could not be read: Command called isn't implemented in
model.
Serial device: closing device

--------

address@hidden ~/temp/gnokii-0.6.18 $ gnokii --getdatetime
GNOKII Version 0.6.18
LOG: debug mask is 0x1
Config read from file /home/rozelak/.gnokiirc.
phone instance config:
model: AT
port_device: /dev/ttyACM0
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/ttyACM0
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 6300<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 33 30 30 0d 0a 0d 0a 4f 4b 0d             |  6300    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: 0x25 / 0x0009
41 54 2b 43 43 4c 4b 3f 0d                      | AT+CCLK?
write: [AT+CCLK?<cr>]
read : [AT+CCLK?<cr><cr><lf>ERROR<cr><lf>]
Message received: 0x25 / 0x0012
03 41 54 2b 43 43 4c 4b 3f 0d 0d 0a 45 52 52 4f |  AT+CCLK?   ERRO
52 0d                                           | R
Received message type 25
Error: Unknown error - well better than nothing!!
Serial device: closing device

and so on for other commands like --getdisplaystatus, etc.

Is it helphul for you?
Best regards,
Dan

P.S. I have note that another user found this "bug" (if it is a bug),
in "6300 unhandled frame" post.








reply via email to

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