Namespaces
Variants
Actions

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

Jump to: navigation, search



Article Metadata

Compatibility
Platform(s): S60 1st Edition
S60 2nd Edition

Article
Created: User:Technical writer 2 (24 May 2005)
Last edited: hamishwillee (14 Jun 2012)

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.

This page was last modified on 14 June 2012, at 07:56.
83 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved