Timex M851 Watch User Manual


 
M851 WristApp Design Guide Rev 1.2
Timex Corporation 77
Section Description
Allocation Size
A 16-bit quantity indicating the EEPROM usage of the database. This
value is always in multiples of 64. This optimizes the download speed
during communications. The allocation size is defined by the A and I
pointers.
AllocationSize = (((DatabaseSize-1)/64)+1)*64
Database Size
A 16-bit quantity indicating the actual size of the database. This is
computed by:
DatabaseSize = Offset(H) – Offset(A)
App Specific Header Size
An 8-bit quantity that indicates the number of bytes allocated for
application specific information. This section can also store information
about the database itself. It might be used after an upload of the database to
recreate the database in the PC.
AppSpecificHeaderSize = Offset(D) – Offset(C)
The required minimum size of this section is 0x02 (2 bytes for the number
of records.)
Number Of Records
A 16-bit quantity that specifies the number of records in the database. The
number of records will also indicate the number of offset pointers.
Previous Pointer #0
A 16-bit quantity that points to the base offset of the previous record. Since
this this the first record in the list (there is no previous record), its value is
0x0000.
PrevPointer_1 = 0x0000