This is a great thing to search the forum archives for, since it has
been discussed so much. Try searching for 'device id', 'serial
number', 'unique id', 'rom version'.

Do you mean device classification or type, unique serial number, or
ROM version? Not all devices have a serial number and retrieving an
either a serial number or an accurate ROM version can be problematic.
See previous posts regarding serial number and ROM version.

For device classification or type, there are three pieces of info available.
1. The companyID is the identity of the manufacturer of the device.
2. The deviceID is the identity of the actual device, unique for the
manufacturer.
3. The HALID is the identity of the hardware abstraction layer on the device.

Taking the three as a tuple completely identifies the device class,
such as Treo 650 or Tungsten T3. The info can be found in system
features. Here is some sample code;

{
UInt32 companyID,deviceID,HALID;

FtrGet(sysFtrCreator,sysFtrNumOEMCompanyID,&companyID);
FtrGet(sysFtrCreator,sysFtrNumOEMDeviceID,&deviceID);
FtrGet(sysFtrCreator,sysFtrNumOEMHALID,&HALID);
}

Search the forum for further details and links to device info lists.

On 6/20/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hello. I'm new to Palm OS programming and currently using PODS. I'm sure most 
of you guys have the answer on my question... I just would like to know how to 
get the Device ID of a Palm OS handheld device programmatically using PODS 
(kindly provide sample code if possible) and wanted to include on my 
application. Thanks in advance. Cheers.
--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/



--
yisdersomenimororsisasisdenderisorsis?
Jeff Loucks

--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to