Discussion:
Can't make gnokii work
Rodolfo Medina
2006-08-04 10:02:20 UTC
Permalink
Hi.

I'm looking for a mobile phone management utility that work under
Debian Sarge stable (kernel 2.4).
I installed `gnokii' with `apt-get', but can't make it work:
I plug the phone (a Nokia 6630) with its usb cable,
then start gnokii with:

$ gnokii --getphonebook SM 1

, but:

GNOKII Version 0.6.5
Telephone interface init failed: Command timed out.
Quitting.

. Please any help? What am I missing?
I want in particular to download data from the phone to the PC.
Thanks,
Rodolfo
Pawel Kot
2006-08-04 10:06:07 UTC
Permalink
Hi,
Post by Rodolfo Medina
$ gnokii --getphonebook SM 1
GNOKII Version 0.6.5
Telephone interface init failed: Command timed out.
Quitting.
. Please any help? What am I missing?
Certainly you miss recent version. What you use is more than 1 year old.
Please also refer to the documentation what information is needed for
us to help you with sloving problems.

pkot
--
Pawel Kot
Rodolfo Medina
2006-08-04 11:56:36 UTC
Permalink
Post by Rodolfo Medina
I'm looking for a mobile phone management utility that work under
Debian Sarge stable (kernel 2.4).
I plug the phone (a Nokia 6630) with its usb cable,
Post by Rodolfo Medina
$ gnokii --getphonebook SM 1
GNOKII Version 0.6.5
Telephone interface init failed: Command timed out.
Quitting.
. Please any help? What am I missing?
Certainly you miss recent version. What you use is more than 1 year old.
Please also refer to the documentation what information is needed for
us to help you with sloving problems.
Thanks.
Could you point out that documentation?
Rodolfo
Rodolfo Medina
2006-08-05 10:43:35 UTC
Permalink
According to the howto at:

http://wiki.splitbrain.org/nokia_6630

, I put in ~/.gnokiirc the following stuff:

------------------------------------------
[global]
port = /dev/ttyACM0
model = AT-HW
initlength = default
connection = serial
use_locking = yes
serial_baudrate = 19200
smsc_timeout = 10

[gnokiid]
bindir = /usr/sbin/

[connect_script]
TELEPHONE = 12345678

[disconnect_script]

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

, then connected my Nokia 6630 with its own USB cable to the PC
and started gnokii.
Some commands worked, some not:

$ gnokii --identify
GNOKII Version 0.6.5
IMEI : 356657005008450
Manufacturer : Nokia
Model : Nokia 6630
Revision : V 04wk47_m_v5

$ gnokii --getphonebook SM 1
GNOKII Version 0.6.5
Error: Unknown error - well better than nothing!!

$ gnokii --monitor
GNOKII Version 0.6.5
Entering monitor mode...
RFLevel: 8
Battery: 7
Power Source: battery
Network: vodafone (Italy), LAC: afe1, CellID: 30f4
CALL0: IDLE
CALL1: IDLE
RFLevel: 8
Battery: 7
Power Source: battery
[etc.]

$ gnokii --displayoutput
GNOKII Version 0.6.5
Lockfile /var/lock/LCK..ttyACM0 is stale. Overriding it..
Error: Command called isn't implemented in model.

$ gnokii --getdatetime
GNOKII Version 0.6.5
Error: Command called isn't implemented in model.

$ gnokii --getsms SM 1
GNOKII Version 0.6.5
GetSMS SM 1 failed! (Command failed.)


. Please any help?
Do you think it's because my gnokii version is too old, or some other
configuration issue?
Thanks,
Rodolfo
Rodolfo Medina
2006-08-10 10:15:01 UTC
Permalink
Post by Rodolfo Medina
http://wiki.splitbrain.org/nokia_6630
------------------------------------------
[global]
port = /dev/ttyACM0
model = AT-HW
initlength = default
connection = serial
use_locking = yes
serial_baudrate = 19200
smsc_timeout = 10
[gnokiid]
bindir = /usr/sbin/
[connect_script]
TELEPHONE = 12345678
[disconnect_script]
[logging]
debug = off
rlpdebug = off
xdebug = off
------------------------------------------
, then connected my Nokia 6630 with its own USB cable to the PC
and started gnokii.
$ gnokii --identify
GNOKII Version 0.6.5
IMEI : 356657005008450
Manufacturer : Nokia
Model : Nokia 6630
Revision : V 04wk47_m_v5
$ gnokii --getphonebook SM 1
GNOKII Version 0.6.5
Error: Unknown error - well better than nothing!!
$ gnokii --monitor
GNOKII Version 0.6.5
Entering monitor mode...
RFLevel: 8
Battery: 7
Power Source: battery
Network: vodafone (Italy), LAC: afe1, CellID: 30f4
CALL0: IDLE
CALL1: IDLE
RFLevel: 8
Battery: 7
Power Source: battery
[etc.]
$ gnokii --displayoutput
GNOKII Version 0.6.5
Lockfile /var/lock/LCK..ttyACM0 is stale. Overriding it..
Error: Command called isn't implemented in model.
$ gnokii --getdatetime
GNOKII Version 0.6.5
Error: Command called isn't implemented in model.
$ gnokii --getsms SM 1
GNOKII Version 0.6.5
GetSMS SM 1 failed! (Command failed.)
Certainly you miss recent version. What you use is more than 1 year old.
Please also refer to the documentation what information is needed for
us to help you with sloving problems.
I downloaded gnokii-0.6.13.tar.gz and untarred it.
The `./configure' step seemed to go well, but then the `make' step
ended up with:

collect2: ld returned 1 exit status
make[1]: *** [gnokiid] Error 1
make[1]: Leaving directory `/home/rodolfo/tmp/gnokii-0.6.13/gnokiid'
make: *** [gnokiid] Error 2

. Please any help?
Thanks,
Rodolfo
Rodolfo Medina
2006-08-16 13:36:34 UTC
Permalink
Post by Rodolfo Medina
Post by Rodolfo Medina
http://wiki.splitbrain.org/nokia_6630
------------------------------------------
[global]
port = /dev/ttyACM0
model = AT-HW
initlength = default
connection = serial
use_locking = yes
serial_baudrate = 19200
smsc_timeout = 10
[gnokiid]
bindir = /usr/sbin/
[connect_script]
TELEPHONE = 12345678
[disconnect_script]
[logging]
debug = off
rlpdebug = off
xdebug = off
------------------------------------------
, then connected my Nokia 6630 with its own USB cable to the PC
and started gnokii.
$ gnokii --identify
GNOKII Version 0.6.5
IMEI : 356657005008450
Manufacturer : Nokia
Model : Nokia 6630
Revision : V 04wk47_m_v5
$ gnokii --getphonebook SM 1
GNOKII Version 0.6.5
Error: Unknown error - well better than nothing!!
$ gnokii --monitor
GNOKII Version 0.6.5
Entering monitor mode...
RFLevel: 8
Battery: 7
Power Source: battery
Network: vodafone (Italy), LAC: afe1, CellID: 30f4
CALL0: IDLE
CALL1: IDLE
RFLevel: 8
Battery: 7
Power Source: battery
[etc.]
$ gnokii --displayoutput
GNOKII Version 0.6.5
Lockfile /var/lock/LCK..ttyACM0 is stale. Overriding it..
Error: Command called isn't implemented in model.
$ gnokii --getdatetime
GNOKII Version 0.6.5
Error: Command called isn't implemented in model.
$ gnokii --getsms SM 1
GNOKII Version 0.6.5
GetSMS SM 1 failed! (Command failed.)
Certainly you miss recent version. What you use is more than 1 year old.
Please also refer to the documentation what information is needed for
us to help you with sloving problems.
I downloaded gnokii-0.6.13.tar.gz and untarred it.
The `./configure' step seemed to go well, but then the `make' step
collect2: ld returned 1 exit status
make[1]: *** [gnokiid] Error 1
make[1]: Leaving directory `/home/rodolfo/tmp/gnokii-0.6.13/gnokiid'
make: *** [gnokiid] Error 2
. Please any help?
Thanks,
Rodolfo
Pawel Kot
2006-08-16 13:44:59 UTC
Permalink
Hi,
Post by Rodolfo Medina
I downloaded gnokii-0.6.13.tar.gz and untarred it.
The `./configure' step seemed to go well, but then the `make' step
collect2: ld returned 1 exit status
make[1]: *** [gnokiid] Error 1
make[1]: Leaving directory `/home/rodolfo/tmp/gnokii-0.6.13/gnokiid'
make: *** [gnokiid] Error 2
. Please any help?
No. The log you have shown doesn't contain any information for us to help you.

take care,
pkot
--
Pawel Kot
Rodolfo Medina
2006-08-17 11:50:48 UTC
Permalink
Post by Pawel Kot
Certainly you miss recent version. What you use is more than 1 year old.
Please also refer to the documentation what information is needed for
us to help you with sloving problems.
Now I installed a gnokii 0.6.13 cvs version from:

http://www.in.fh-merseburg.de/~jahn/

, but the result is the same as the old version:
the checking gnokii options `identify' and `monitor' seem to work,
but not the operative ones such as `getphonebook', `displayoutput',
`getdatetime' and `getsms'.
I hope the information I'm reporting is enough:

$ gnokii --identify
GNOKII Version 0.6.13
IMEI : 356657005008450
Manufacturer : Nokia
Model : Nokia 6630
Product name : Nokia 6630
Revision : V 04wk47_m_v5

$ gnokii --monitor
GNOKII Version 0.6.13
Entering monitor mode...
RFLevel: 8
Battery: 96
Power Source: battery
Network: Telecom Italia Mobile (Italy), LAC: 46c1, CellID: ae23
CALL0: IDLE
CALL1: IDLE
RFLevel: 8
Battery: 96
[...]

$ gnokii --getphonebook SM 1
GNOKII Version 0.6.13
Error: Unknown error - well better than nothing!!

$ gnokii --displayoutput
GNOKII Version 0.6.13
Error: Command called isn't implemented in model.

$ gnokii --getdatetime
GNOKII Version 0.6.13
Error: Command called isn't implemented in model.

$ gnokii --getsms SM 1
GNOKII Version 0.6.13
GetSMS SM 1 failed! (Command failed.)

. This is my ~/.gnokiirc:

---------------------------------------------
[global]
port = /dev/ttyACM0
model = AT-HW
#series60
initlength = default
connection = serial
use_locking = yes
serial_baudrate = 19200
smsc_timeout = 10

[gnokiid]
bindir = /usr/sbin/

[connect_script]
TELEPHONE = 12345678

[disconnect_script]

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


. My system is GNU/Linux Debian 3.1 kernel 2.4, my phone is a
Nokia 6630 plugged via USB cable, of which I wish to read and copy
phonebook and sms.

Thanks,
Rodolfo
Pawel Kot
2006-08-17 12:30:56 UTC
Permalink
Hi,
Post by Rodolfo Medina
$ gnokii --getphonebook SM 1
GNOKII Version 0.6.13
Error: Unknown error - well better than nothing!!
Provide debug output. And also try other types of memory like IN.
Post by Rodolfo Medina
[global]
port = /dev/ttyACM0
model = AT-HW
Are you sure you want to use AT driver?

take care,
pkot
--
Pawel Kot
Rodolfo Medina
2006-08-18 09:53:26 UTC
Permalink
Post by Rodolfo Medina
My system is GNU/Linux Debian 3.1 kernel 2.4, my phone is a
Nokia 6630 plugged via USB cable, of which I wish to read and copy
phonebook and sms.
[...]
the checking gnokii options `identify' and `monitor' seem to work,
but not the operative ones such as `getphonebook', `displayoutput',
`getdatetime' and `getsms'.
Provide debug output.
Done: I put

[logging]
debug = on

in ~/.gnokiirc.
Post by Rodolfo Medina
Are you sure you want to use AT driver?
Well, I don't know. I copied the ~/.gnokiirc from:

http://wiki.splitbrain.org/nokia_6630

. What should I put instead of `model = AT-HW'?
Post by Rodolfo Medina
And also try other types of memory like IN.
`IN' is not reported in the gnokii manual as an available memory type.
They are: ME, SM, FD, ON, EN, DC, RC, MC, LD.
I'm reporting the ouputs for different gnokii options when
~/.gnokiirc is the following:

-------------------------------------------
[global]
port = /dev/ttyACM0
model = AT-HW
initlength = default
connection = serial
use_locking = yes
serial_baudrate = 19200
smsc_timeout = 10

[gnokiid]
bindir = /usr/sbin/

[disconnect_script]

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

. I really hope with the present list's help
that we can success in the end.
Thanks,
Rodolfo



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
$ gnokii --getphonebook SM 1
GNOKII Version 0.6.13
LOG: debug mask is 0x1
phone instance config:
model: AT-HW
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
Serial device: setting RTS to high and DTR to low
Serial device: setting RTS to high and DTR to high
Message sent: 0x00 / 0x0004
41 54 5a 0d | ATZ
write: [ATZ<cr>]
read : [OK<cr><lf>]
Message received: 0x00 / 0x0004
02 4f 4b 0d | 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 6630<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 36 33 30 0d 0a 0d 0a 4f 4b 0d | 6630 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: 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: ("UCS2","GSM","PCCP437","PCDN","IRA","8859-1","HEX")<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x61 / 0x004f
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 55 43 53 32 22 2c 22 47 53 4d | CS: ("UCS2","GSM
22 2c 22 50 43 43 50 34 33 37 22 2c 22 50 43 44 | ","PCCP437","PCD
4e 22 2c 22 49 52 41 22 2c 22 38 38 35 39 2d 31 | N","IRA","8859-1
22 2c 22 48 45 58 22 29 0d 0a 0d 0a 4f 4b 0d | ","HEX") OK
Received message type 61
Message sent: 0x00 / 0x000f
41 54 2b 43 53 43 53 3d 22 55 43 53 32 22 0d | AT+CSCS="UCS2"
write: [AT+CSCS="UCS2"<cr>]
read : [AT+CSCS="UCS2"<cr><cr><lf>OK<cr><lf>]
Message received: 0x00 / 0x0015
02 41 54 2b 43 53 43 53 3d 22 55 43 53 32 22 0d | AT+CSCS="UCS2"
0d 0a 4f 4b 0d | OK
Received message type 00
Message sent: 0x00 / 0x000d
41 54 2b 43 50 42 53 3d 22 53 4d 22 0d | AT+CPBS="SM"
write: [AT+CPBS="SM"<cr>]
read : [AT+CPBS="SM"<cr><cr><lf>ERROR<cr><lf>]
Message received: 0x00 / 0x0016
03 41 54 2b 43 50 42 53 3d 22 53 4d 22 0d 0d 0a | AT+CPBS="SM"
45 52 52 4f 52 0d | ERROR
Received message type 00
Message sent: 0x65 / 0x000a
41 54 2b 43 50 42 52 3d 3f 0d | AT+CPBR=?
write: [AT+CPBR=?<cr>]
read : [AT+CPBR=?<cr><cr><lf>ERROR<cr><lf>]
Message received: 0x65 / 0x0013
03 41 54 2b 43 50 42 52 3d 3f 0d 0d 0a 45 52 52 | AT+CPBR=? ERR
4f 52 0d | OR
Received message type 65
Error: Unknown error - well better than nothing!!
Serial device: closing device




$ gnokii --getphonebook ME 1
GNOKII Version 0.6.13
LOG: debug mask is 0x1
phone instance config:
model: AT-HW
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
Serial device: setting RTS to high and DTR to low
Serial device: setting RTS to high and DTR to high
Message sent: 0x00 / 0x0004
41 54 5a 0d | ATZ
write: [ATZ<cr>]
read : [OK<cr><lf>]
Message received: 0x00 / 0x0004
02 4f 4b 0d | 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 6630<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 36 33 30 0d 0a 0d 0a 4f 4b 0d | 6630 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: 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: ("UCS2","GSM","PCCP437","PCDN","IRA","8859-1","HEX")<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x61 / 0x004f
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 55 43 53 32 22 2c 22 47 53 4d | CS: ("UCS2","GSM
22 2c 22 50 43 43 50 34 33 37 22 2c 22 50 43 44 | ","PCCP437","PCD
4e 22 2c 22 49 52 41 22 2c 22 38 38 35 39 2d 31 | N","IRA","8859-1
22 2c 22 48 45 58 22 29 0d 0a 0d 0a 4f 4b 0d | ","HEX") OK
Received message type 61
Message sent: 0x00 / 0x000f
41 54 2b 43 53 43 53 3d 22 55 43 53 32 22 0d | AT+CSCS="UCS2"
write: [AT+CSCS="UCS2"<cr>]
read : [AT+CSCS="UCS2"<cr><cr><lf>OK<cr><lf>]
Message received: 0x00 / 0x0015
02 41 54 2b 43 53 43 53 3d 22 55 43 53 32 22 0d | AT+CSCS="UCS2"
0d 0a 4f 4b 0d | OK
Received message type 00
Message sent: 0x00 / 0x000d
41 54 2b 43 50 42 53 3d 22 4d 45 22 0d | AT+CPBS="ME"
write: [AT+CPBS="ME"<cr>]
read : [AT+CPBS="ME"<cr><cr><lf>ERROR<cr><lf>]
Message received: 0x00 / 0x0016
03 41 54 2b 43 50 42 53 3d 22 4d 45 22 0d 0d 0a | AT+CPBS="ME"
45 52 52 4f 52 0d | ERROR
Received message type 00
Message sent: 0x65 / 0x000a
41 54 2b 43 50 42 52 3d 3f 0d | AT+CPBR=?
write: [AT+CPBR=?<cr>]
read : [AT+CPBR=?<cr><cr><lf>ERROR<cr><lf>]
Message received: 0x65 / 0x0013
03 41 54 2b 43 50 42 52 3d 3f 0d 0d 0a 45 52 52 | AT+CPBR=? ERR
4f 52 0d | OR
Received message type 65
Error: Unknown error - well better than nothing!!
Serial device: closing device


$ gnokii --displayoutput
GNOKII Version 0.6.13
LOG: debug mask is 0x1
phone instance config:
model: AT-HW
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
Serial device: setting RTS to high and DTR to low
Serial device: setting RTS to high and DTR to high
Message sent: 0x00 / 0x0004
41 54 5a 0d | ATZ
write: [ATZ<cr>]
read : [OK<cr><lf>]
Message received: 0x00 / 0x0004
02 4f 4b 0d | 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 6630<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 36 33 30 0d 0a 0d 0a 4f 4b 0d | 6630 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
Error: Command called isn't implemented in model.
Serial device: closing device



$ gnokii --getdatetime
GNOKII Version 0.6.13
LOG: debug mask is 0x1
phone instance config:
model: AT-HW
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
Serial device: setting RTS to high and DTR to low
Serial device: setting RTS to high and DTR to high
Message sent: 0x00 / 0x0004
41 54 5a 0d | ATZ
write: [ATZ<cr>]
read : [OK<cr><lf>]
Message received: 0x00 / 0x0004
02 4f 4b 0d | 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 6630<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 36 33 30 0d 0a 0d 0a 4f 4b 0d | 6630 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
Error: Command called isn't implemented in model.
Serial device: closing device




$ gnokii --getsms SM 1
GNOKII Version 0.6.13
LOG: debug mask is 0x1
phone instance config:
model: AT-HW
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
Serial device: setting RTS to high and DTR to low
Serial device: setting RTS to high and DTR to high
Message sent: 0x00 / 0x0004
41 54 5a 0d | ATZ
write: [ATZ<cr>]
read : [OK<cr><lf>]
Message received: 0x00 / 0x0004
02 4f 4b 0d | 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 6630<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 36 33 30 0d 0a 0d 0a 4f 4b 0d | 6630 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: 0x12 / 0x0009
41 54 2b 43 50 4d 53 3f 0d | AT+CPMS?
write: [AT+CPMS?<cr>]
read : [AT+CPMS?<cr><cr><lf>+CPMS: ,,,,,,,,<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x12 / 0x0022
02 41 54 2b 43 50 4d 53 3f 0d 0d 0a 2b 43 50 4d | AT+CPMS? +CPM
53 3a 20 2c 2c 2c 2c 2c 2c 2c 2c 0d 0a 0d 0a 4f | S: ,,,,,,,, O
4b 0d | K
Received message type 12
GetSMS SM 1 failed! (Command failed.)
Serial device: closing device




$ gnokii --getsms ME 1
GNOKII Version 0.6.13
LOG: debug mask is 0x1
phone instance config:
model: AT-HW
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
Serial device: setting RTS to high and DTR to low
Serial device: setting RTS to high and DTR to high
Message sent: 0x00 / 0x0004
41 54 5a 0d | ATZ
write: [ATZ<cr>]
read : [OK<cr><lf>]
Message received: 0x00 / 0x0004
02 4f 4b 0d | 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 6630<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 36 33 30 0d 0a 0d 0a 4f 4b 0d | 6630 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: 0x12 / 0x0009
41 54 2b 43 50 4d 53 3f 0d | AT+CPMS?
write: [AT+CPMS?<cr>]
read : [AT+CPMS?<cr><cr><lf>+CPMS: ,,,,,,,,<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x12 / 0x0022
02 41 54 2b 43 50 4d 53 3f 0d 0d 0a 2b 43 50 4d | AT+CPMS? +CPM
53 3a 20 2c 2c 2c 2c 2c 2c 2c 2c 0d 0a 0d 0a 4f | S: ,,,,,,,, O
4b 0d | K
Received message type 12
GetSMS ME 1 failed! (Command failed.)
Serial device: closing device
Pawel Kot
2006-08-18 10:29:17 UTC
Permalink
Hi,
Post by Rodolfo Medina
Done: I put
[logging]
debug = on
in ~/.gnokiirc.
That's much better now.
Post by Rodolfo Medina
Post by Pawel Kot
Are you sure you want to use AT driver?
http://wiki.splitbrain.org/nokia_6630
. What should I put instead of `model = AT-HW'?
Try model = 6510, connection = dku2libusb (or similiar whatever manual
says). Make sure that the usb device is created with correct
permissions (how to do it, depends on what you use: udev, hotplug,
...)

I think we discussed this particular case with Alex Kanavin some time
ago and got some results. Will check that out on Sunday.

take care,
pkot
--
Pawel Kot
Rodolfo Medina
2006-08-18 13:39:42 UTC
Permalink
Post by Rodolfo Medina
My system is GNU/Linux Debian 3.1 kernel 2.4, my phone is a
Nokia 6630 plugged via USB cable, of which I wish to read and copy
phonebook and sms.
[...]
the checking gnokii options `identify' and `monitor' seem to work,
but not the operative ones such as `getphonebook', `displayoutput',
`getdatetime' and `getsms'.
Try model = 6510, connection = dku2libusb (or similiar whatever manual
says). Make sure that the usb device is created with correct
permissions (how to do it, depends on what you use: udev, hotplug,
...)
The command `gnokii --identify' works only if I put:

model = AT-HW
connection = serial

, otherwise it fails. Below I'm reporting the various outputs.
Post by Rodolfo Medina
I think we discussed this particular case with Alex Kanavin some time
ago and got some results. Will check that out on Sunday.
Alexander Kanavin from the openobex mailing list suggested that I should
need latest opensync with syncml support.
But they from the opensync mailing list said that OpenSync would not
deal with SMS.

Thanks, regards,
Rodolfo


----------------------------------------------------------
With: `model = AT-HW' and `connection = serial' I got:


# gnokii --identify
GNOKII Version 0.6.13
LOG: debug mask is 0x1
phone instance config:
model: AT-HW
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
Serial device: setting RTS to high and DTR to low
Serial device: setting RTS to high and DTR to high
Message sent: 0x00 / 0x0004
41 54 5a 0d | ATZ
write: [ATZ<cr>]
read : [OK<cr><lf>]
Message received: 0x00 / 0x0004
02 4f 4b 0d | 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 6630<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 36 33 30 0d 0a 0d 0a 4f 4b 0d | 6630 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: 0x06 / 0x0008
41 54 2b 43 47 4d 4d 0d | AT+CGMM
write: [AT+CGMM<cr>]
read : [AT+CGMM<cr><cr><lf>Nokia 6630<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 36 33 30 0d 0a 0d 0a 4f 4b 0d | 6630 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: 0x06 / 0x0008
41 54 2b 43 47 4d 52 0d | AT+CGMR
write: [AT+CGMR<cr>]
read : [AT+CGMR<cr><cr><lf>V 04wk47_m_v5<cr><lf>17-08-05<cr><lf>RM-1<cr><lf>(c) Nokia. <cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x003f
02 41 54 2b 43 47 4d 52 0d 0d 0a 56 20 30 34 77 | AT+CGMR V 04w
6b 34 37 5f 6d 5f 76 35 0d 0a 31 37 2d 30 38 2d | k47_m_v5 17-08-
30 35 0d 0a 52 4d 2d 31 0d 0a 28 63 29 20 4e 6f | 05 RM-1 (c) No
6b 69 61 2e 20 20 20 20 0d 0a 0d 0a 4f 4b 0d | kia. OK
Received message type 06
Message sent: 0x06 / 0x0008
41 54 2b 43 47 53 4e 0d | AT+CGSN
write: [AT+CGSN<cr>]
read : [AT+CGSN<cr><cr><lf>356657005008450<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x0021
02 41 54 2b 43 47 53 4e 0d 0d 0a 33 35 36 36 35 | AT+CGSN 35665
37 30 30 35 30 30 38 34 35 30 0d 0a 0d 0a 4f 4b | 7005008450 OK
0d |
Received message type 06
IMEI : 356657005008450
Manufacturer : Nokia
Model : Nokia 6630
Product name : Nokia 6630
Revision : V 04wk47_m_v5
Serial device: closing device




With: `model = AT-HW' and `connection = dku2' I got:

# gnokii --identify
GNOKII Version 0.6.13
LOG: debug mask is 0x1
phone instance config:
model: AT-HW
port_device: /dev/ttyACM0
connection_type: 9
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 ...
Initialization failed (6)
Telephone interface init failed: Function or connection type not supported by the phone.
Quitting.
Function or connection type not supported by the phone.





With: `model = 6510' and `connection = serial' I got:

# gnokii --identify
GNOKII Version 0.6.13
LOG: debug mask is 0x1
Lockfile /var/lock/LCK..ttyACM0 is stale. Overriding it..
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 |
Serial write: transmitter busy, waiting
Serial write: transmitter ready
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: opening device /dev/ttyACM0
Serial device: setting speed to 115200
Serial device: setting RTS to low and DTR to high
Getting model...
Message sent: 0x1b / 0x0006
00 01 00 07 01 00 |
Serial write: transmitter busy, waiting
Serial write: transmitter ready
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: 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
Serial device: setting speed to 115200
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Getting model...
Message sent: 0x1b / 0x0006
00 01 00 07 01 00 |
Serial write: transmitter busy, waiting
Serial write: transmitter ready
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
Identifying...
Message sent: 0x1b / 0x0005
00 01 00 00 41 | A
Message sent: 0x1b / 0x0006
00 01 00 07 01 00 |
Serial write: transmitter busy, waiting
Serial write: transmitter ready
[Echo cancelled]
[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
Message sent: 0x1b / 0x0006
00 01 00 07 01 00 |
[Echo cancelled]
SM_Block: exiting the retry loop
IMEI : Unknown
Manufacturer : Nokia
Model : Unknown
Product name : Unknown
Revision : Unknown
Serial device: closing device
Pawel Kot
2006-08-18 20:17:59 UTC
Permalink
Hi,
[...]
[...]
[...]

If you ask for help be so kind and read the answers. I asked you to
try different combination.

pkot
--
Pawel Kot
Rodolfo Medina
2006-08-19 09:56:43 UTC
Permalink
Post by Rodolfo Medina
My system is GNU/Linux Debian 3.1 kernel 2.4, my phone is a
Nokia 6630 plugged via USB cable, of which I wish to read and copy
phonebook and sms.
[...]
the checking gnokii options `identify' and `monitor' seem to work,
but not the operative ones such as `getphonebook', `displayoutput',
`getdatetime' and `getsms'.
[...]
If you ask for help be so kind and read the answers. I asked you to
try different combination.
Here it is, sorry for misunderstanding.
I'm reporting `identify', `getsms' and `getphonebook' outputs
for the combination model = 6510, connection = dku2libusb.
In my previous message is the `identify' output for the combination
model = AT-HW, connection = serial, and others.
It seems to me that this latter combination gives the best `identify' output,
but of course I'm no expert at all.
I gave all commands as root to eliminate permission problems.

Please tell me if more outputs are needed, thanks indeed for help.

Rodolfo


-----------------------------------------------------
With

[global]
port = /dev/ttyACM0
model = 6510
#model = series60
#model = AT-HW
initlength = default
#connection = serial
connection = dku2libusb
#connection = dku2
use_locking = yes
serial_baudrate = 19200
smsc_timeout = 10

[gnokiid]
bindir = /usr/sbin/

#[connect_script]
#TELEPHONE = 12345678

[disconnect_script]

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



# gnokii --identify
GNOKII Version 0.6.13
LOG: debug mask is 0x1
phone instance config:
model: 6510
port_device: /dev/ttyACM0
connection_type: 10
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
Ignoring extra header, type 171, length 5
Getting model...
Message sent: 0x1b / 0x0006
00 01 00 07 01 00 |
Message received: 0x1b / 0x0076
01 2d 00 08 01 05 69 28 00 23 56 20 35 2e 30 33 | - i( #V 5.03
2e 30 38 0a 31 37 2d 30 38 2d 30 35 0a 52 4d 2d | .08 17-08-05 RM-
31 0a 28 63 29 20 4e 4f 4b 49 41 2e 00 00 6a 2c | 1 (c) NOKIA. j,
00 28 56 20 35 2e 30 33 2e 30 38 2d 49 74 61 6c | (V 5.03.08-Ital
79 0a 31 36 2d 30 38 2d 30 35 0a 52 4d 2d 31 0a | y 16-08-05 RM-1
28 63 29 4e 4f 4b 49 41 01 00 6e 08 00 04 32 35 | (c)NOKIA n 25
36 00 6f 0c 00 06 35 32 30 34 31 00 00 00 70 08 | 6 o 52041 p
00 02 33 00 00 00 | 3
Received message type 1b
model length: 4
Received model RM-1
Identifying...
Message sent: 0x1b / 0x0005
00 01 00 00 41 | A
Message sent: 0x1b / 0x0006
00 01 00 07 01 00 |
Message received: 0x1b / 0x001a
01 2d 00 01 00 01 41 14 00 10 33 35 36 36 35 37 | - A 356657
30 30 35 30 30 38 34 35 30 00 | 005008450
Received message type 1b
Received imei 356657005008450
Message received: 0x1b / 0x0076
01 2d 00 08 01 05 69 28 00 23 56 20 35 2e 30 33 | - i( #V 5.03
2e 30 38 0a 31 37 2d 30 38 2d 30 35 0a 52 4d 2d | .08 17-08-05 RM-
31 0a 28 63 29 20 4e 4f 4b 49 41 2e 00 00 6a 2c | 1 (c) NOKIA. j,
00 28 56 20 35 2e 30 33 2e 30 38 2d 49 74 61 6c | (V 5.03.08-Ital
79 0a 31 36 2d 30 38 2d 30 35 0a 52 4d 2d 31 0a | y 16-08-05 RM-1
28 63 29 4e 4f 4b 49 41 01 00 6e 08 00 04 32 35 | (c)NOKIA n 25
36 00 6f 0c 00 06 35 32 30 34 31 00 00 00 70 08 | 6 o 52041 p
00 02 33 00 00 00 | 3
Received message type 1b
Received revision V 5.03.08
model length: 4
Received model RM-1
IMEI : 356657005008450
Manufacturer : Nokia
Model : RM-1
Product name : RM-1
Revision : V 5.03.08
Serial device: closing device






# gnokii --getsms IN 1
GNOKII Version 0.6.13
LOG: debug mask is 0x1
phone instance config:
model: 6510
port_device: /dev/ttyACM0
connection_type: 10
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
Ignoring extra header, type 171, length 5
Getting model...
Message sent: 0x1b / 0x0006
00 01 00 07 01 00 |
Message received: 0x1b / 0x0076
01 2d 00 08 01 05 69 28 00 23 56 20 35 2e 30 33 | - i( #V 5.03
2e 30 38 0a 31 37 2d 30 38 2d 30 35 0a 52 4d 2d | .08 17-08-05 RM-
31 0a 28 63 29 20 4e 4f 4b 49 41 2e 00 00 6a 2c | 1 (c) NOKIA. j,
00 28 56 20 35 2e 30 33 2e 30 38 2d 49 74 61 6c | (V 5.03.08-Ital
79 0a 31 36 2d 30 38 2d 30 35 0a 52 4d 2d 31 0a | y 16-08-05 RM-1
28 63 29 4e 4f 4b 49 41 01 00 6e 08 00 04 32 35 | (c)NOKIA n 25
36 00 6f 0c 00 06 35 32 30 34 31 00 00 00 70 08 | 6 o 52041 p
00 02 33 00 00 00 | 3
Received message type 1b
model length: 4
Received model RM-1
Getting SMS...
Getting SMS Folders...
Message sent: 0x14 / 0x0006
00 01 00 12 00 00 |
Message sent: 0x14 / 0x0006
00 01 00 12 00 00 |
Message sent: 0x14 / 0x0006
00 01 00 12 00 00 |
GetSMS IN 1 failed! (Command timed out.)
Serial device: closing device









# gnokii --getphonebook SM 1
GNOKII Version 0.6.13
LOG: debug mask is 0x1
phone instance config:
model: 6510
port_device: /dev/ttyACM0
connection_type: 10
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
Ignoring extra header, type 171, length 5
Getting model...
Message sent: 0x1b / 0x0006
00 01 00 07 01 00 |
Message received: 0x1b / 0x0076
01 2d 00 08 01 05 69 28 00 23 56 20 35 2e 30 33 | - i( #V 5.03
2e 30 38 0a 31 37 2d 30 38 2d 30 35 0a 52 4d 2d | .08 17-08-05 RM-
31 0a 28 63 29 20 4e 4f 4b 49 41 2e 00 00 6a 2c | 1 (c) NOKIA. j,
00 28 56 20 35 2e 30 33 2e 30 38 2d 49 74 61 6c | (V 5.03.08-Ital
79 0a 31 36 2d 30 38 2d 30 35 0a 52 4d 2d 31 0a | y 16-08-05 RM-1
28 63 29 4e 4f 4b 49 41 01 00 6e 08 00 04 32 35 | (c)NOKIA n 25
36 00 6f 0c 00 06 35 32 30 34 31 00 00 00 70 08 | 6 o 52041 p
00 02 33 00 00 00 | 3
Received message type 1b
model length: 4
Received model RM-1
Reading phonebook location (1)
Message sent: 0x03 / 0x0012
00 01 00 07 01 01 00 01 02 06 00 00 00 00 00 01 |
00 00 |
Message received: 0x03 / 0x0012
01 58 00 08 00 01 0f 00 00 08 25 00 00 00 00 00 | X %
00 00 |
Received message type 03
Error: Unknown error - well better than nothing!!
Serial device: closing device



# gnokii --getphonebook IN 1
GNOKII Version 0.6.13
LOG: debug mask is 0x1
phone instance config:
model: 6510
port_device: /dev/ttyACM0
connection_type: 10
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
Ignoring extra header, type 171, length 5
Getting model...
Message sent: 0x1b / 0x0006
00 01 00 07 01 00 |
Message received: 0x1b / 0x0076
01 2d 00 08 01 05 69 28 00 23 56 20 35 2e 30 33 | - i( #V 5.03
2e 30 38 0a 31 37 2d 30 38 2d 30 35 0a 52 4d 2d | .08 17-08-05 RM-
31 0a 28 63 29 20 4e 4f 4b 49 41 2e 00 00 6a 2c | 1 (c) NOKIA. j,
00 28 56 20 35 2e 30 33 2e 30 38 2d 49 74 61 6c | (V 5.03.08-Ital
79 0a 31 36 2d 30 38 2d 30 35 0a 52 4d 2d 31 0a | y 16-08-05 RM-1
28 63 29 4e 4f 4b 49 41 01 00 6e 08 00 04 32 35 | (c)NOKIA n 25
36 00 6f 0c 00 06 35 32 30 34 31 00 00 00 70 08 | 6 o 52041 p
00 02 33 00 00 00 | 3
Received message type 1b
model length: 4
Received model RM-1
Reading phonebook location (1)
Message sent: 0x03 / 0x0012
00 01 00 07 01 01 00 01 02 02 00 00 00 00 00 01 |
00 00 |
Message received: 0x03 / 0x0012
01 58 00 08 00 01 0f 00 00 08 25 00 00 00 00 00 | X %
00 00 |
Received message type 03
Error: Unknown error - well better than nothing!!
Serial device: closing device
Daniele Forsi
2006-08-18 14:46:13 UTC
Permalink
Post by Rodolfo Medina
Post by Pawel Kot
And also try other types of memory like IN.
`IN' is not reported in the gnokii manual as an available memory type.
which manual?
man gnokii under --getsms has been saying this for a long time:
"For the memory types you usually use SM for the SIM card and ME for the
phone memory. The exception are the phones supported by nk7110 (Nokia
7110/6210/6250) and nk6510 (Nokia 6310/6510/8310) drivers.For these you
should use IN for the Inbox"

just try
gnokii --getsms IN 1

with
Post by Rodolfo Medina
port = /dev/ttyACM0
model = AT-HW
connection = serial
you can also try
gnokii --monitor

AT driver doesn't support --displayoutput and --getdatetime so you get
errors

Depending on your phone you can use some or all of the following commands

Identify
ReadPhonebook
WritePhonebook
DeletePhonebook
SendSMS
SaveSMS
GetSMS
DeleteSMS
GetSMSCenter
GetSecurityCodeStatus
EnterSecurityCode (this could be dangerous if you give the wrong code)
MakeCall (--dialvoice)
AnswerCall
CancelCall (--hangup)
GetNetworkInfo

please report here what worked and what not
--
Daniele
Rodolfo Medina
2006-08-18 17:36:03 UTC
Permalink
Post by Rodolfo Medina
My system is GNU/Linux Debian 3.1 kernel 2.4, my phone is a
Nokia 6630 plugged via USB cable, of which I wish to read and copy
phonebook and sms.
[...]
Post by Rodolfo Medina
`IN' is not reported in the gnokii manual as an available memory type.
which manual?
"For the memory types you usually use SM for the SIM card and ME for
the phone memory. The exception are the phones supported by nk7110
(Nokia 7110/6210/6250) and nk6510 (Nokia 6310/6510/8310) drivers.For
these you should use IN for the Inbox"
Sorry, I was meaning the man page. I didn't notice what you report.
Post by Rodolfo Medina
just try
gnokii --getsms IN 1
It does not seem to work, I'm reporting the output below.
Post by Rodolfo Medina
Post by Rodolfo Medina
with
port = /dev/ttyACM0
model = AT-HW
connection = serial
you can also try
gnokii --monitor
See below, as well.
Post by Rodolfo Medina
AT driver doesn't support --displayoutput and --getdatetime so you get
errors
Depending on your phone you can use some or all of the following commands
Identify
ReadPhonebook
WritePhonebook
DeletePhonebook
SendSMS
SaveSMS
GetSMS
DeleteSMS
GetSMSCenter
GetSecurityCodeStatus
EnterSecurityCode (this could be dangerous if you give the wrong code)
MakeCall (--dialvoice)
AnswerCall
CancelCall (--hangup)
GetNetworkInfo
please report here what worked and what not
I tried some. `identity' and `monitor' are the only that seem to work,
the others apparently fail. Here they are below.
Thanks for your help. I didn't imagine it was so difficult.

Bye,
Rodolfo



-------------------------------------------------------------------
This is ~/gnokiirc:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
[global]
port = /dev/ttyACM0
model = AT-HW
initlength = default
connection = serial
use_locking = yes
serial_baudrate = 19200
smsc_timeout = 10

[gnokiid]
bindir = /usr/sbin/

[disconnect_script]

[logging]
debug = on
rlpdebug = off
xdebug = off
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Commands outputs:




# gnokii --identify
GNOKII Version 0.6.13
LOG: debug mask is 0x1
phone instance config:
model: AT-HW
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
Serial device: setting RTS to high and DTR to low
Serial device: setting RTS to high and DTR to high
Message sent: 0x00 / 0x0004
41 54 5a 0d | ATZ
write: [ATZ<cr>]
read : [OK<cr><lf>]
Message received: 0x00 / 0x0004
02 4f 4b 0d | 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 6630<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 36 33 30 0d 0a 0d 0a 4f 4b 0d | 6630 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: 0x06 / 0x0008
41 54 2b 43 47 4d 4d 0d | AT+CGMM
write: [AT+CGMM<cr>]
read : [AT+CGMM<cr><cr><lf>Nokia 6630<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 36 33 30 0d 0a 0d 0a 4f 4b 0d | 6630 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: 0x06 / 0x0008
41 54 2b 43 47 4d 52 0d | AT+CGMR
write: [AT+CGMR<cr>]
read : [AT+CGMR<cr><cr><lf>V 04wk47_m_v5<cr><lf>17-08-05<cr><lf>RM-1<cr><lf>(c) Nokia. <cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x003f
02 41 54 2b 43 47 4d 52 0d 0d 0a 56 20 30 34 77 | AT+CGMR V 04w
6b 34 37 5f 6d 5f 76 35 0d 0a 31 37 2d 30 38 2d | k47_m_v5 17-08-
30 35 0d 0a 52 4d 2d 31 0d 0a 28 63 29 20 4e 6f | 05 RM-1 (c) No
6b 69 61 2e 20 20 20 20 0d 0a 0d 0a 4f 4b 0d | kia. OK
Received message type 06
Message sent: 0x06 / 0x0008
41 54 2b 43 47 53 4e 0d | AT+CGSN
write: [AT+CGSN<cr>]
read : [AT+CGSN<cr><cr><lf>356657005008450<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x0021
02 41 54 2b 43 47 53 4e 0d 0d 0a 33 35 36 36 35 | AT+CGSN 35665
37 30 30 35 30 30 38 34 35 30 0d 0a 0d 0a 4f 4b | 7005008450 OK
0d |
Received message type 06
IMEI : 356657005008450
Manufacturer : Nokia
Model : Nokia 6630
Product name : Nokia 6630
Revision : V 04wk47_m_v5
Serial device: closing device












# gnokii --getsms IN 1
GNOKII Version 0.6.13
LOG: debug mask is 0x1
phone instance config:
model: AT-HW
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
Serial device: setting RTS to high and DTR to low
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 6630<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 36 33 30 0d 0a 0d 0a 4f 4b 0d | 6630 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
GetSMS IN 1 failed! (Invalid type of memory.)
See the gnokii manual page for the supported memory types with the phone
you use.
Serial device: closing device






# gnokii --monitor
GNOKII Version 0.6.13
LOG: debug mask is 0x1
phone instance config:
model: AT-HW
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
Serial device: setting RTS to high and DTR to low
Serial device: setting RTS to high and DTR to high
Message sent: 0x00 / 0x0004
41 54 5a 0d | ATZ
write: [ATZ<cr>]
read : [OK<cr><lf>]
Message received: 0x00 / 0x0004
02 4f 4b 0d | 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 6630<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 36 33 30 0d 0a 0d 0a 4f 4b 0d | 6630 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
Entering monitor mode...
Message sent: 0x3c / 0x0009
41 54 2b 43 52 43 3d 31 0d | AT+CRC=1
write: [AT+CRC=1<cr>]
read : [AT+CRC=1<cr><cr><lf>OK<cr><lf>]
Message received: 0x3c / 0x000f
02 41 54 2b 43 52 43 3d 31 0d 0d 0a 4f 4b 0d | AT+CRC=1 OK
Received message type 3c
Message sent: 0x0a / 0x0007
41 54 2b 43 53 51 0d | AT+CSQ
write: [AT+CSQ<cr>]
read : [AT+CSQ<cr><cr><lf>+CSQ: 6,99<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x0a / 0x001b
02 41 54 2b 43 53 51 0d 0d 0a 2b 43 53 51 3a 20 | AT+CSQ +CSQ:
36 2c 39 39 0d 0a 0d 0a 4f 4b 0d | 6,99 OK
Received message type 0a
RFLevel: 6
Message sent: 0x09 / 0x0007
41 54 2b 43 42 43 0d | AT+CBC
write: [AT+CBC<cr>]
read : [AT+CBC<cr><cr><lf>+CBC: 1,96<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x09 / 0x001b
02 41 54 2b 43 42 43 0d 0d 0a 2b 43 42 43 3a 20 | AT+CBC +CBC:
31 2c 39 36 0d 0a 0d 0a 4f 4b 0d | 1,96 OK
Received message type 09
Battery: 96
Message sent: 0x09 / 0x0007
41 54 2b 43 42 43 0d | AT+CBC
write: [AT+CBC<cr>]
read : [AT+CBC<cr><cr><lf>+CBC: 1,96<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x09 / 0x001b
02 41 54 2b 43 42 43 0d 0d 0a 2b 43 42 43 3a 20 | AT+CBC +CBC:
31 2c 39 36 0d 0a 0d 0a 4f 4b 0d | 1,96 OK
Received message type 09
Power Source: battery
Message sent: 0x00 / 0x000d
41 54 2b 43 50 42 53 3d 22 53 4d 22 0d | AT+CPBS="SM"
write: [AT+CPBS="SM"<cr>]
read : [AT+CPBS="SM"<cr><cr><lf>ERROR<cr><lf>]
Message received: 0x00 / 0x0016
03 41 54 2b 43 50 42 53 3d 22 53 4d 22 0d 0d 0a | AT+CPBS="SM"
45 52 52 4f 52 0d | ERROR
Received message type 00
Message sent: 0x65 / 0x000a
41 54 2b 43 50 42 52 3d 3f 0d | AT+CPBR=?
write: [AT+CPBR=?<cr>]
read : [AT+CPBR=?<cr><cr><lf>ERROR<cr><lf>]
Message received: 0x65 / 0x0013
03 41 54 2b 43 50 42 52 3d 3f 0d 0d 0a 45 52 52 | AT+CPBR=? ERR
4f 52 0d | OR
Received message type 65
Message sent: 0x00 / 0x000d
41 54 2b 43 50 42 53 3d 22 4d 45 22 0d | AT+CPBS="ME"
write: [AT+CPBS="ME"<cr>]
read : [AT+CPBS="ME"<cr><cr><lf>ERROR<cr><lf>]
Message received: 0x00 / 0x0016
03 41 54 2b 43 50 42 53 3d 22 4d 45 22 0d 0d 0a | AT+CPBS="ME"
45 52 52 4f 52 0d | ERROR
Received message type 00
Message sent: 0x65 / 0x000a
41 54 2b 43 50 42 52 3d 3f 0d | AT+CPBR=?
write: [AT+CPBR=?<cr>]
read : [AT+CPBR=?<cr><cr><lf>ERROR<cr><lf>]
Message received: 0x65 / 0x0013
03 41 54 2b 43 50 42 52 3d 3f 0d 0d 0a 45 52 52 | AT+CPBR=? ERR
4f 52 0d | OR
Received message type 65
Message sent: 0x00 / 0x000d
41 54 2b 43 50 42 53 3d 22 44 43 22 0d | AT+CPBS="DC"
write: [AT+CPBS="DC"<cr>]
read : [AT+CPBS="DC"<cr><cr><lf>ERROR<cr><lf>]
Message received: 0x00 / 0x0016
03 41 54 2b 43 50 42 53 3d 22 44 43 22 0d 0d 0a | AT+CPBS="DC"
45 52 52 4f 52 0d | ERROR
Received message type 00
Message sent: 0x65 / 0x000a
41 54 2b 43 50 42 52 3d 3f 0d | AT+CPBR=?
write: [AT+CPBR=?<cr>]
read : [AT+CPBR=?<cr><cr><lf>ERROR<cr><lf>]
Message received: 0x65 / 0x0013
03 41 54 2b 43 50 42 52 3d 3f 0d 0d 0a 45 52 52 | AT+CPBR=? ERR
4f 52 0d | OR
Received message type 65
Message sent: 0x00 / 0x000d
41 54 2b 43 50 42 53 3d 22 45 4e 22 0d | AT+CPBS="EN"
write: [AT+CPBS="EN"<cr>]
read : [AT+CPBS="EN"<cr><cr><lf>ERROR<cr><lf>]
Message received: 0x00 / 0x0016
03 41 54 2b 43 50 42 53 3d 22 45 4e 22 0d 0d 0a | AT+CPBS="EN"
45 52 52 4f 52 0d | ERROR
Received message type 00
Message sent: 0x65 / 0x000a
41 54 2b 43 50 42 52 3d 3f 0d | AT+CPBR=?
write: [AT+CPBR=?<cr>]
read : [AT+CPBR=?<cr><cr><lf>ERROR<cr><lf>]
Message received: 0x65 / 0x0013
03 41 54 2b 43 50 42 52 3d 3f 0d 0d 0a 45 52 52 | AT+CPBR=? ERR
4f 52 0d | OR
Received message type 65
Message sent: 0x00 / 0x000d
41 54 2b 43 50 42 53 3d 22 46 44 22 0d | AT+CPBS="FD"
write: [AT+CPBS="FD"<cr>]
read : [AT+CPBS="FD"<cr><cr><lf>ERROR<cr><lf>]
Message received: 0x00 / 0x0016
03 41 54 2b 43 50 42 53 3d 22 46 44 22 0d 0d 0a | AT+CPBS="FD"
45 52 52 4f 52 0d | ERROR
Received message type 00
Message sent: 0x65 / 0x000a
41 54 2b 43 50 42 52 3d 3f 0d | AT+CPBR=?
write: [AT+CPBR=?<cr>]
read : [AT+CPBR=?<cr><cr><lf>ERROR<cr><lf>]
Message received: 0x65 / 0x0013
03 41 54 2b 43 50 42 52 3d 3f 0d 0d 0a 45 52 52 | AT+CPBR=? ERR
4f 52 0d | OR
Received message type 65
Message sent: 0x00 / 0x000d
41 54 2b 43 50 42 53 3d 22 4c 44 22 0d | AT+CPBS="LD"
write: [AT+CPBS="LD"<cr>]
read : [AT+CPBS="LD"<cr><cr><lf>ERROR<cr><lf>]
Message received: 0x00 / 0x0016
03 41 54 2b 43 50 42 53 3d 22 4c 44 22 0d 0d 0a | AT+CPBS="LD"
45 52 52 4f 52 0d | ERROR
Received message type 00
Message sent: 0x65 / 0x000a
41 54 2b 43 50 42 52 3d 3f 0d | AT+CPBR=?
write: [AT+CPBR=?<cr>]
read : [AT+CPBR=?<cr><cr><lf>ERROR<cr><lf>]
Message received: 0x65 / 0x0013
03 41 54 2b 43 50 42 52 3d 3f 0d 0d 0a 45 52 52 | AT+CPBR=? ERR
4f 52 0d | OR
Received message type 65
Message sent: 0x00 / 0x000d
41 54 2b 43 50 42 53 3d 22 4d 43 22 0d | AT+CPBS="MC"
write: [AT+CPBS="MC"<cr>]
read : [AT+CPBS="MC"<cr><cr><lf>ERROR<cr><lf>]
Message received: 0x00 / 0x0016
03 41 54 2b 43 50 42 53 3d 22 4d 43 22 0d 0d 0a | AT+CPBS="MC"
45 52 52 4f 52 0d | ERROR
Received message type 00
Message sent: 0x65 / 0x000a
41 54 2b 43 50 42 52 3d 3f 0d | AT+CPBR=?
write: [AT+CPBR=?<cr>]
read : [AT+CPBR=?<cr><cr><lf>ERROR<cr><lf>]
Message received: 0x65 / 0x0013
03 41 54 2b 43 50 42 52 3d 3f 0d 0d 0a 45 52 52 | AT+CPBR=? ERR
4f 52 0d | OR
Received message type 65
Message sent: 0x00 / 0x000d
41 54 2b 43 50 42 53 3d 22 4f 4e 22 0d | AT+CPBS="ON"
write: [AT+CPBS="ON"<cr>]
read : [AT+CPBS="ON"<cr><cr><lf>ERROR<cr><lf>]
Message received: 0x00 / 0x0016
03 41 54 2b 43 50 42 53 3d 22 4f 4e 22 0d 0d 0a | AT+CPBS="ON"
45 52 52 4f 52 0d | ERROR
Received message type 00
Message sent: 0x65 / 0x000a
41 54 2b 43 50 42 52 3d 3f 0d | AT+CPBR=?
write: [AT+CPBR=?<cr>]
read : [AT+CPBR=?<cr><cr><lf>ERROR<cr><lf>]
Message received: 0x65 / 0x0013
03 41 54 2b 43 50 42 52 3d 3f 0d 0d 0a 45 52 52 | AT+CPBR=? ERR
4f 52 0d | OR
Received message type 65
Message sent: 0x00 / 0x000d
41 54 2b 43 50 42 53 3d 22 52 43 22 0d | AT+CPBS="RC"
write: [AT+CPBS="RC"<cr>]
read : [AT+CPBS="RC"<cr><cr><lf>ERROR<cr><lf>]
Message received: 0x00 / 0x0016
03 41 54 2b 43 50 42 53 3d 22 52 43 22 0d 0d 0a | AT+CPBS="RC"
45 52 52 4f 52 0d | ERROR
Received message type 00
Message sent: 0x65 / 0x000a
41 54 2b 43 50 42 52 3d 3f 0d | AT+CPBR=?
write: [AT+CPBR=?<cr>]
read : [AT+CPBR=?<cr><cr><lf>ERROR<cr><lf>]
Message received: 0x65 / 0x0013
03 41 54 2b 43 50 42 52 3d 3f 0d 0d 0a 45 52 52 | AT+CPBR=? ERR
4f 52 0d | OR
Received message type 65
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: ,,,,,,,,<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x12 / 0x0022
02 41 54 2b 43 50 4d 53 3f 0d 0d 0a 2b 43 50 4d | AT+CPMS? +CPM
53 3a 20 2c 2c 2c 2c 2c 2c 2c 2c 0d 0a 0d 0a 4f | S: ,,,,,,,, O
4b 0d | K
Received message type 12
Message sent: 0x14 / 0x000a
41 54 2b 43 52 45 47 3d 32 0d | AT+CREG=2
write: [AT+CREG=2<cr>]
read : [AT+CREG=2<cr><cr><lf>OK<cr><lf>]
Message received: 0x14 / 0x0010
02 41 54 2b 43 52 45 47 3d 32 0d 0d 0a 4f 4b 0d | AT+CREG=2 OK
Received message type 14
Message sent: 0x14 / 0x0009
41 54 2b 43 52 45 47 3f 0d | AT+CREG?
write: [AT+CREG?<cr>]
read : [AT+CREG?<cr><cr><lf>+CREG: 2,1,"F0A1","9988"<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x14 / 0x002b
02 41 54 2b 43 52 45 47 3f 0d 0d 0a 2b 43 52 45 | AT+CREG? +CRE
47 3a 20 32 2c 31 2c 22 46 30 41 31 22 2c 22 39 | G: 2,1,"F0A1","9
39 38 38 22 0d 0a 0d 0a 4f 4b 0d | 988" OK
Received message type 14
strings[0] = +CREG: 2
strings[1] = 1
strings[2] = "F0A1"
strings[3] = "9988"
Message sent: 0x14 / 0x0009
41 54 2b 43 4f 50 53 3f 0d | AT+COPS?
write: [AT+COPS?<cr>]
read : [AT+COPS?<cr><cr><lf>+COPS: 0,2,"22201"<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x14 / 0x0025
02 41 54 2b 43 4f 50 53 3f 0d 0d 0a 2b 43 4f 50 | AT+COPS? +COP
53 3a 20 30 2c 32 2c 22 32 32 32 30 31 22 0d 0a | S: 0,2,"22201"
0d 0a 4f 4b 0d | OK
Received message type 14
strings[0] = +COPS: 0
strings[1] = 2
strings[2] = "22201"
Network: Telecom Italia Mobile (Italy), LAC: f0a1, CellID: 9988
CALL0: IDLE
CALL1: IDLE
Leaving monitor mode...
Serial device: closing device
[etcetera]




# gnokii --readphonebook
GNOKII Version 0.6.13
Use 'gnokii --help' for usage information.
hda8-pentium3:/home/rodolfo# gnokii --writephonebook
GNOKII Version 0.6.13
LOG: debug mask is 0x1
phone instance config:
model: AT-HW
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
Serial device: setting RTS to high and DTR to low
Serial device: setting RTS to high and DTR to high
Message sent: 0x00 / 0x0004
41 54 5a 0d | ATZ
write: [ATZ<cr>]
read : [OK<cr><lf>]
Message received: 0x00 / 0x0004
02 4f 4b 0d | 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 6630<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 36 33 30 0d 0a 0d 0a 4f 4b 0d | 6630 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
[...and then nothing happens]










# gnokii --savesms
GNOKII Version 0.6.13
LOG: debug mask is 0x1
phone instance config:
model: AT-HW
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
Serial device: setting RTS to high and DTR to low
Serial device: setting RTS to high and DTR to high
Message sent: 0x00 / 0x0004
41 54 5a 0d | ATZ
write: [ATZ<cr>]
read : [OK<cr><lf>]
Message received: 0x00 / 0x0004
02 4f 4b 0d | 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 6630<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 36 33 30 0d 0a 0d 0a 4f 4b 0d | 6630 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
Please enter SMS text. End your input with <cr><control-D>:helloStoring SMS... Date: 2006-08-18 19:16:25 +0100
General Data Coding
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: ,,,,,,,,<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x12 / 0x0022
02 41 54 2b 43 50 4d 53 3f 0d 0d 0a 2b 43 50 4d | AT+CPMS? +CPM
53 3a 20 2c 2c 2c 2c 2c 2c 2c 2c 0d 0a 0d 0a 4f | S: ,,,,,,,, O
4b 0d | K
Received message type 12
Saving failed (Command failed.)
Serial device: closing device
Rodolfo Medina
2006-08-04 09:08:36 UTC
Permalink
Hi.

I'm looking for a mobile phone management utility that work under
Debian Sarge stable (kernel 2.4).
I installed `gnokii' with `apt-get', but can't make it work:
I plug the phone (a Nokia 6630) with its usb cable,
then start gnokii with:

$ gnokii --getphonebook SM 1

, but:

GNOKII Version 0.6.5
Telephone interface init failed: Command timed out.
Quitting.

. Please any help? What am I missing?
I want in particular to download data from the phone to the PC.
Thanks,
Rodolfo
Anish Parameswaran
2006-08-21 11:16:06 UTC
Permalink
Hi,
(informational)

i hav a nokia 6070 set and ca-42 cable. I am able to access internet via gprs using ca-42 cable.
The ca-42 cable works fine with prolific PL2303 driver ( 2.6.17 kerenel ,
knoppix 5.0).

Nokia 6070 is a series40 phone.

How to add nokia 6070 support to gnokii ? Where to start ? What all
codes to modify?





---------------------------------
Stay in the know. Pulse on the new Yahoo.com. Check it out.

Continue reading on narkive:
Loading...