r***@cox.net
2007-12-10 04:14:08 UTC
In p_lgvx8550.p, pbfileentry and pnfileentry are showing "entry type" and "entry group" definitions for 12 bytes beginning at offset 5. The actual usage for these 12 bytes are (for the VX5400, anyway):
2 bytes (word, low byte first) year_last_modified
2 bytes (word, low byte first) month_last_modified
2 bytes (word, low byte first) day_last_modified
2 bytes (word, low byte first) hour_last_modified # 00 - 24 hour
2 bytes (word, low byte first) minute_last_modified
2 bytes (word, low byte first) second_last_modified
Except for year_last_modified, all of the other values will always have 0 for the high byte. Date and time values are based on the phone's displayed date and time. Whenever a contact's entry is modified, the entry is changed in pbentry.dat to reflect the modified date/time, and all of the associated record(s) for the contact in pbnumber.dat are changed to reflect the same modified date/time.
Ron
2 bytes (word, low byte first) year_last_modified
2 bytes (word, low byte first) month_last_modified
2 bytes (word, low byte first) day_last_modified
2 bytes (word, low byte first) hour_last_modified # 00 - 24 hour
2 bytes (word, low byte first) minute_last_modified
2 bytes (word, low byte first) second_last_modified
Except for year_last_modified, all of the other values will always have 0 for the high byte. Date and time values are based on the phone's displayed date and time. Whenever a contact's entry is modified, the entry is changed in pbentry.dat to reflect the modified date/time, and all of the associated record(s) for the contact in pbnumber.dat are changed to reflect the same modified date/time.
Ron