At 3:34 PM -0800 2000/02/02, Jeff Allen wrote:
>I understand that the ROM ID on a Palm Device is unique per device (ie per
>user). First of all, am I correct that this is unique to each users palm (I
>compared several Palms running identical OS's, and they each had different
>ROM ID's).
Masked ROM based Palm OS devices do not have a serial number, or may have a partial
non-unique serial number which identifies its manufacturing origin.
>What happens if the user upgrades his OS?
For flash based devices, a new version of the Palm OS is written to the flash. For
masked ROM based devices, various components of the OS are replaced with RAM resident
versions.
>Does the ROM ID change?
No, this area is not modified by an end-user flash upgrade.
>Also, is there a way for a program (compiled .prc file) to access
>the Device ID that can be accessed through pqa's (using %deviceid)?
CharPtr bufP;
Word bufLen;
Word retval;
retval = SysGetROMToken (0, sysROMTokenSnum, (BytePtr*) &bufP, &bufLen);
if ((!retval) && (bufP) && ((Byte) *bufP != 0xFF)) {
// it's valid!
WinDrawChars(bufP, bufLen, 20, 50);
}
else
// do something else; we don't have a serial number.
Regards,
Jim Schram
3Com/Palm Computing
Partner Engineering
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html