Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

How can I fetch device model information using Symbian C++?

From Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

The article is believed to be still valid for the original topic scope.

Article Metadata
Platform(s): S60 1st Edition
S60 2nd Edition
S60 2nd Edition (initial release)
S60 1st Edition
Created: User:Technical writer 2 (24 May 2005)
Last edited: lpvalente (27 Jun 2014)


How can I fetch device model information?


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.

This page was last modified on 27 June 2014, at 21:27.
29 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.