gnokii-users
[Top][All Lists]
Advanced

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

Re: Can't make gnokii work


From: Rodolfo Medina
Subject: Re: Can't make gnokii work
Date: Fri, 18 Aug 2006 19:36:03 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

Rodolfo Medina wrote:

> 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.
>
> [...]
>
>> `IN' is not reported in the gnokii manual as an available memory type.



Daniele Forsi <address@hidden> writes:

> 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"


Sorry, I was meaning the man page. I didn't notice what you report.


> just try
> gnokii --getsms IN 1


It does not seem to work, I'm reporting the output below.


>> with
>>  port = /dev/ttyACM0
>>  model = AT-HW
>>  connection = serial
>
> you can also try
> gnokii --monitor


See below, as well.



> 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





reply via email to

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