Jeff Loucks wrote:

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.

http://www.mobilegeographics.com/dev/devices.php

For devices made by Palm, there are enums defined in palmOneResources.h in the SDK.


--
Luc Le Blanc

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

Reply via email to