Re: VX5400 memo (Notes) test, version 1.0.3.20071206

Nathan Hjelm <[email protected]>
Newsgroups gmane.comp.mobile.bitpim.devel
Message-ID <[email protected]>
The field in question looked like a creation date (measured in seconds  
since the brew epoch). It wouldn't surprise me if the date was  
actually used as a unique identifier on some phones. It isn't be a  
problem to add some sort of increment to this value. The Voyager isn't  
affected by this problem but I will check if it affects the VX-8350.

-Nathan Hjelm

On Dec 7, 2007, at 2:41 AM, [email protected] wrote:

> Using the VX5400 setting of version 1.0.3.20071206, there are no  
> exceptions raised when reading or writing notes.  The notes are read  
> into Bitpim correctly.  But when writing notes to the phone, all of  
> the notes have the same text and date/time as the first note in sch/ 
> memo.dat.
>
> If anyone has a VX8550, could you check to see if the same thing is  
> happening on that phone?
>
> I have done some testing on the VX5400 to find out where the problem  
> is.  In sch/memo.dat, the first 4 bytes (apparently a dword?) are  
> reserved for the number of text notes (memos), with low byte first.   
> Bitpim increments and decrements this dword(?) correctly.
>
> After those first 4 bytes, there are 312 byte segments written for  
> each note.  The text of the note begins at the 5th byte of the 312  
> byte segment and continues for 301 total bytes (each note has a text  
> limit of 300 characters + null delimiter = 301 bytes).  After the  
> 301 bytes for the note's text, there are 7 remaining bytes of which  
> the first 4 (again, a dword?) appear to be a date/time reference for  
> the note.  The last 3 bytes are 0.  I tested the 300 character text  
> limit of the VX5400 -- Bitpim is writing the text correctly, and  
> truncates after 300 characters.
>
> I don't know what the first 4 bytes (dword?) of each note segment  
> represents, but for the first 4 bytes (dword?) of each note segment,  
> Bitpim writes an identical dword for all notes.  If the notes are  
> sent to the VX5400 phone from Bitpim, all of the notes on screen  
> will have the same text (and date/time) as the first note of  
> memo.dat (the notes are written correctly by Bitpim to memo.dat, but  
> the phone is apparently unable to read memo.dat correctly).  If I  
> manipulate the memo.dat file and make the first dword for each note  
> segment unique (no particular order, and any of the 4 bytes of the  
> dword), the notes appear on the phone with the correct text and date/ 
> time.
>
> So, it appears that the VX5400 requires this dword to be unique for  
> each note entry, even though the actual value of the dword appears  
> to be insignificant.  Is there a way to make this dword unique for  
> each note in the VX5400 (or possibly in the parent phone -- VX8550  
> -- if it is showing the same problem)?
>
> When entering a note on the phone, the dword appears to be  
> increasing based on the time (but I don't believe the actual value  
> is significant).  Is it possible to take the dword value that Bitpim  
> is writing for the first note and increment it for each note?
>
> Thanks.
>
> Ron
>
>
> -------------------------------------------------------------------------
> SF.Net email is sponsored by:
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> BitPim-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bitpim-devel


-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.