gnokii-users
[Top][All Lists]
Advanced

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

Nokia 3310: "The given entry is too long" but that's not true!


From: Sebastian Muszynski
Subject: Nokia 3310: "The given entry is too long" but that's not true!
Date: Mon, 28 Apr 2003 20:34:43 +0200
User-agent: KMail/1.5.1

Hi folks!

I want to write my with gnokii stored phonebook back to my phone but without
much success. The most entries will be rejected..  gnokii's behaviour is very
strange.

An example: 

$ cat phonebook-sample
whythatsamelen;+471601020304;SM;1;0;
shouldbepossible;+481601020304;SM;2;0;
gnokiislongest;+491601020304;SM;3;0;
$

The first entry will be rejected. Why that? The last has the same length.. and
he will be accepted. The second entry should be possible (16chars) but gnokii
accepts 14 chars only. 

Any solutions?

 Sebastian 


The Debug-Output: 

$ gnokii --writephonebook < phonebook-sample
GNOKII Version 0.5.0rc3
Opened configuration file /home/do2ksm/.gnokiirc
Added new section global
Adding key/value port//dev/ttyS1
Adding key/value model/6110
Adding key/value initlength/default
Adding key/value connection/serial
Adding key/value bindir//usr/sbin/
Adding key/value use_locking/yes
Adding key/value serial_baudrate/19200
Adding key/value smsc_timeout/10
phone instance config:
model: 6110
port_device: /dev/ttyS1
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:
Serial device: opening device /dev/ttyS1
Serial device: setting speed to 115200
Serial device: setting RTS to low and DTR to high
Message sent: 0x40 / 0x0004
00 01 64 01                                     |   d
[Received Ack of type 40, seq: 80]
Message sent: 0x40 / 0x0004
00 01 64 01                                     |   d
SM_Block Retry - 0
Message sent: 0x40 / 0x0004
00 01 64 01                                     |   d
[Received Ack of type 40, seq: 82]
[Sending Ack of type 40, seq: 4]
Message received: 0x40 / 0x000c
01 01 64 03 01 4f 0d 01 01 01 1b 58             |   d  O     X
Received message type 40
Message: Extended commands enabled.
Message sent: 0x40 / 0x0003
00 01 66                                        |   f
[Received Ack of type 40, seq:  3]
[Sending Ack of type 40, seq: 5]
Message received: 0x40 / 0x0014
01 01 66 01 33 35 30 30 30 35 39 31 38 33 38 37 |   f 350005918387
37 32 36 00                                     | 726
Received message type 40
IMEI: 350005918387726
Message sent: 0x40 / 0x0004
00 01 64 01                                     |   d
[Received Ack of type 40, seq:  4]
[Sending Ack of type 40, seq: 6]
Message received: 0x40 / 0x000c
01 01 64 03 01 4f 0d 01 01 01 1b 58             |   d  O     X
Received message type 40
Message: Extended commands enabled.
Message sent: 0x40 / 0x0004
00 01 c8 01                                     |   È
[Received Ack of type 40, seq:  5]
[Sending Ack of type 40, seq: 7]
Message received: 0x40 / 0x0025
01 01 c8 01 00 56 20 30 34 2e 33 35 0a 32 39 2d |   È  V 04.35 29-
30 33 2d 30 31 0a 4e 48 4d 2d 35 0a 28 63 29 20 | 03-01 NHM-5 (c)
4e 4d 50 2e 00                                  | NMP.
Received message type 40
Received SW 04.35
Received model NHM-5
Message sent: 0x40 / 0x0004
00 01 64 01                                     |   d
[Received Ack of type 40, seq:  6]
[Sending Ack of type 40, seq: 0]
Message received: 0x40 / 0x000c
01 01 64 03 01 4f 0d 01 01 01 1b 58             |   d  O     X
Received message type 40
Message: Extended commands enabled.
Message sent: 0x40 / 0x0004
00 01 c8 05                                     |   È
[Received Ack of type 40, seq:  7]
[Sending Ack of type 40, seq: 1]
Message received: 0x40 / 0x000a
01 01 c8 05 00 30 36 31 35 00                   |   È  0615
Received message type 40
Niepusty
Received SW 04.35, HW 0615
comparing "NHM-5" and ""
comparing "NHM-5" and "?????"
comparing "NHM-5" and "?????"
comparing "NHM-5" and "NHE-5"
comparing "NHM-5" and "NHE-4"
comparing "NHM-5" and "NHK-4"
comparing "NHM-5" and "0310"
comparing "NHM-5" and "NSE-8"
comparing "NHM-5" and "NSE-9"
Found model "NHM-5"
Writing phonebook location (1/1): whythatsamelen
Message sent: 0x03 / 0x0032
00 01 00 04 03 01 1c 00 77 00 68 00 79 00 74 00 |         w h y t
68 00 61 00 74 00 73 00 61 00 6d 00 65 00 6c 00 | h a t s a m e l
65 00 6e 0d 2b 34 37 31 36 30 31 30 32 30 33 30 | e n +47160102030
34 00                                           | 4
[Received Ack of type 03, seq:  0]
[Sending Ack of type 03, seq: 2]
Message received: 0x03 / 0x0005
01 08 00 06 90                                  |
Received message type 03
Write FAILED (The given entry is too long): memory type: sim, loc: 1, name: 
whythatsamelen, number: +471601020304
Writing phonebook location (1/2): shouldbepossible
Message sent: 0x03 / 0x0036
00 01 00 04 03 02 20 00 73 00 68 00 6f 00 75 00 |         s h o u
6c 00 64 00 62 00 65 00 70 00 6f 00 73 00 73 00 | l d b e p o s s
69 00 62 00 6c 00 65 0d 2b 34 38 31 36 30 31 30 | i b l e +4816010
32 30 33 30 34 00                               | 20304
[Received Ack of type 03, seq:  1]
[Sending Ack of type 03, seq: 3]
Message received: 0x03 / 0x0005
01 08 00 06 90                                  |
Received message type 03
Write FAILED (The given entry is too long): memory type: sim, loc: 2, name: 
shouldbepossible, number: +481601020304
Writing phonebook location (1/3): gnokiislongest
Message sent: 0x03 / 0x0032
00 01 00 04 03 03 1c 00 67 00 6e 00 6f 00 6b 00 |         g n o k
69 00 69 00 73 00 6c 00 6f 00 6e 00 67 00 65 00 | i i s l o n g e
73 00 74 0d 2b 34 39 31 36 30 31 30 32 30 33 30 | s t +49160102030
34 00                                           | 4
[Received Ack of type 03, seq:  2]
[Sending Ack of type 03, seq: 4]
Message received: 0x03 / 0x0004
01 08 00 05                                     |
Received message type 03
Write Succeeded: memory type: sim, loc: 3, name: gnokiislongest, number: 
+491601020304
Serial device: closing device





reply via email to

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