How can I fetch device model information using Symbian C++?
Article Metadata
Compatibility
S60 2nd Edition
Article
Overview
How can I fetch device model information?
Description
In Symbian OS phones the machine UID is unique for each device type. Unfortunately the UID can be same for device variants, such as Communicator variants (Nokia 9210, Nokia 9210i, Nokia 9290, and Nokia 9210c), and the UID cannot be used to distinguish between exact device models. The Symbian machine UID can be retrieved with the HAL::Get() method, using HALData::EMachineUid as a parameter.
#include <hal.h> // also link to hal.lib
TInt mUid = 0;
HAL::Get(HALData::EMachineUid, mUid);
For example:
Nokia 3650 0x101f466a
Nokia 7650 0x101f4fc3
Nokia N-Gage 0x101f8c19
Nokia N-Gage QD 0x101fb2b1
Siemens SX1 0x101F9071
Nokia 6600 0x101fb3dd
Nokia 7610 0x101fb3f3
Nokia 9500 0x101f3ee3
Nokia 6260 0x101fb3f4
Nokia 6630 0x101fbb55
Nokia 6680 0x10200F99
Nokia 3230 0x10200F97
Nokia 6682 0x10200F9B
Nokia 6681 0x10200F9C
N90 0x10200F98
N70 0x10200F9A
Check the document S60 Platform Identification Code for a list of machine UIDs.


(no comments yet)