> 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.

I'm not sure I understand the implications of this.  I understand that Palm
devices prior to the Palm III do not have this serial number.  Specifically,
I am developing for the Palm VII and possibly the Palm V, and need to know
if the serial number is a reliable way to identify a unique device for those
and future models.  What devices qualify as "Masked ROM based?"

Secondly, about the function that you listed below to retreive a device ID:

I am already using this function successfully, however, the 12 digit
alpha-numeric number that it retrieves is different from the device ID
returned by using %deviceid in a pqa form.  This number is all numeric, with
multiple periods.

Thanks,

Jeff Allen



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jim Schram
Sent: Wednesday, February 02, 2000 4:16 PM
To: Palm Developer Forum
Subject: Re: Rom ID


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


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to