gnokii-users
[Top][All Lists]
Advanced

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

Nokia 5130c-2 and --gettodo


From: gnokii
Subject: Nokia 5130c-2 and --gettodo
Date: Thu, 5 May 2011 23:21:14 +0530

> -----Original Message-----
> Date: Sun, 6 Mar 2011 11:06:57 +0100
> From: Pawel Kot <address@hidden>
> Subject: Re: Nokia 5130c-2 and --gettodo
> To: "Discussion forum for gnokii users." <address@hidden>
> Message-ID:
>       <address@hidden>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> Hi,
> 
> On Sun, Mar 6, 2011 at 07:46,  <address@hidden> wrote:
> > address@hidden:~$ gnokii --gettodo 1 end
> > GNOKII Version 0.6.31git
> 
> Are you sure it is an up to date version? Would it be any easy way to
> include git commit version in here?
> 
> > Received model RM-495
> > Found model "RM-495"
> 
> So it gives:
> {"5130 XpressMusic",  "RM-495",       PM_DEFAULT_S40_3RD },
> and then:
> #define PM_DEFAULT_S40_3RD    PM_DEFAULT | PM_SMSFILE | 
> PM_EXTPBK2 | PM_EXTCALENDAR
> and then:
>       if (DRVINSTANCE(state)->pm->flags & PM_EXTCALENDAR)
>               return NK6510_GetToDo_S40_30(data, state);
> 
> While at your case:
> 
> > Message sent: 0x55 / 0x000a
> > 00 01 00 15 01 00 00 00 00 00                   |
> 
> Which is:
> static gn_error NK6510_GetToDoLocations(gn_data *data, struct
> gn_statemachine *state)
> {
>       unsigned char req[] = { FBUS_FRAME_HEADER, 0x15,
>                               0x01, 0x00, 0x00,
>                               0x00, 0x00, 0x00};
> 
> > Message received: 0x55 / 0x000a
> > 01 00 00 f0 14 15 01 00 00 00                   |
> 
> I will implement fallback for that but something's wrong here...
> 
> take care,
> -- 
> Pawel Kot

Thanks Pawel  :-)

Using gnokii source from
http://git.savannah.gnu.org/cgit/gnokii.git/snapshot/gnokii-master.tar.gz
today 5 March at 16:48 UTC, that error has gone but the Note is not
downloaded.  Here's the screen scrape:

address@hidden:~$ gnokii --gettodo 1 end
GNOKII Version 0.6.31git
LOG: debug mask is 0x1
Config read from file /home/c/.config/gnokii/config.
phone instance config:
model = series40
port = 1
connection = dku2libusb
initlength = default
serial_baudrate = 19200
serial_write_usleep = -1
handshake = software
require_dcd = 0
smsc_timeout = 10
rfcomm_channel = 0
sm_retry = 0
Connecting
overrun: 1010 0
Serial device: opening device USB
Ignoring extra header, type 171, length 5
Found FBUS interface
Can't set configuration: -16
Getting model...
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               |                 
Message received: 0x1b / 0x003e
01 39 00 08 00 01 58 38 00 31 56 20 30 37 2e 39 |  9    X8 1V 07.9
37 0a 31 33 2d 30 39 2d 31 30 0a 52 4d 2d 34 39 | 7 13-09-10 RM-49
35 0a 28 63 29 20 4e 6f 6b 69 61 20 20 20 20 20 | 5 (c) Nokia     
20 20 20 20 20 20 20 0a 4d 4b 00 00 00 00       |         MK      
Received message type 1b
model length: 6
Received model RM-495
Found model "RM-495"
Getting calendar note...
Getting notes info
Read 0 of 0 calendar entries
Message sent: 0x13 / 0x000b
00 01 00 9e ff ff 00 00 00 00 01                |                 
Message sent.
Message received: 0x13 / 0x000a
01 52 00 9f 00 07 00 00 00 01                   |  R              
Received message type 13
Incoming Calendar
Calendar Notes Info received!
 Total count: 1
Location of Notes: 
Message received
Loop exited
Adding key calendar to map (nil).
New map (nil).
Got calendar info
The ToDo note could not be read: The given location is empty.
Serial device: closing device

After that no new file was found in the current directory.  There is a
single note on the phone, visible via Menu -> Organiser -> Notes.

BTW the "day job" work pressure has eased and I've just revived work on the
awk script to process an Orage export .ics file, to re-write recurring
VEVENTs as multiple single VEVENTs.
 
Best

Charles




reply via email to

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