Symbian
Symbian OS Library

FAQ-1333 What are the values of the HAL::TAttributes (including Machine ID)?

[Index][spacer] [Previous] [Next]



 

Classification: General Category: Installation
Created: 11/04/2005 Modified: 12/05/2005
Number: FAQ-1333
Platform: Symbian OS v7.0, Symbian OS v7.0s, Symbian OS v8.0, Symbian OS v8.0a, Symbian OS v8.0b, Symbian OS v8.1a, Symbian OS v8.1b, Symbian OS v9, Symbian OS v9.0

Question:
What are the values of the HAL::TAttributes (including Machine ID)?

Answer:
The HAL::TAttribute values can be used in PKG (SIS) file condition blocks to control the flow of installation, and indeed what is installed. They can also be used within a program to conditionally execute code. This FAQ lists the values of some of the common attributes for real phones.

    Note that it is up to handset manufacturers to use appropriate values for these attributes. In some cases they might choose not to define values for all attribute parameters, or indeed to use non-intuitive values for UIDs - e.g to use the semiconductor manufacturer baseport UID rather than the actual manufacturer UID.

    There are examples and related information in:
    Manufacturer UID
    The manufacturer UID (HalData::TAttribute:EManufacturer) is defined (for a small subset of handset/semiconductor manufacturers) in the enum HALData::TManufacturer. Manufacturers not defined in this enum have UIDs directly allocated from the UID registry.

    Manufacturer ID Name ID Value
    Ericsson TManufacturer::EManufacturer_Ericsson 0x00000000
    Motorola TManufacturer::EManufacturer_Motorola 0x00000001
    Nokia TManufacturer::EManufacturer_Nokia 0x00000002
    Panasonic TManufacturer::EManufacturer_Panasonic 0x00000003
    Psion TManufacturer::EManufacturer_Psion 0x00000004
    Intel TManufacturer::EManufacturer_Intel 0x00000005
    Cogent TManufacturer::EManufacturer_Cogent 0x00000006
    Cirrus TManufacturer::EManufacturer_Cirrus 0x00000007
    Linkup TManufacturer::EManufacturer_Linkup 0x00000008
    Texas Instruments TManufacturer::EManufacturer_TexasInstruments 0x00000009
    Sony Ericsson KUidManufacturerSonyEricsson 0x101F6CED
    ARM KUidManufacturerARM 0x101F4ED9
    Samsung KUidManufacturerSamsung 0x101F7E7B
    Siemens KUidManufacturerSiemens 0x101F9072
    Sendo KUidManufacturerSendo 0x101FA032
    BenQ KUidManufacturerBENQ 0x101FD278
    LG KUidManufacturerLG 0x10200A8C
    Lenovo KUidManufacturerLenovo 0x1020E440
    NEC KUidManufacturerNEC 0x102740C4


    Machine UID (and other attributes)
    Attribute information can be obtained from HAL using HAL::Get().
    For example, in order to the get the machine UID, you can use:

    #include

    TInt uid;
    HAL::Get(HAL::EMachineUid, uid)

    The following table lists the attributes for many Symbian OS devices/reference boards.
    Device Machine ID Manufacturer ID Hardware Rev. Software Rev. Software build Model Device Family Device Family Rev
    SE P800 0x101F408B 0x101F6CED 1 1 1 2 1
    SE P900 0x101FB2AE 0x101F6CED 1 2 1 2 1
    SE P910 0x10200AC6
    SE P910i 0x10200AC6 0x101F6CED 1 2 959524969 2 1
    SE P990
    Nokia 3650 0x101F466A 0x00000002 256 256 256 270485098 1 1552
    Nokia 3660 0x101F466A 0x00000002 256 256 256 270485098 1 1552
    Nokia 7650 0x101F4FC3 0x00000002 256 256 256 270487491 1 1552
    Nokia N-Gage™ 0x101F8C19 0x00000002 256 256 256 270502937 1 1552
    Nokia N-Gage™ QD 0x101FB2B1 0x00000002 256 256 256 270512817 1 1552
    Nokia 6260 0x101FB3F4 0x00000002 256 256 256 270513140 1 1792
    Nokia 6600 0x101FB3DD 256 256 256 270513117 1 1792
    Nokia 6620 0x101F3EE3
    Nokia 6680 0x10200f99 0x00000002 256 256 592 1112691795 1 1792
    Nokia 6630 0x101FBB55 0x00000002 256 256 592 1112691795 1 1792
    Nokia 7610 0x101FB3F3 0x00000002 256 256 256 270513139 1 1792
    Nokia 9210/9290 0x10005E33
    Sendo-X 0X101FA031 0x101FA032 514 1 72 270508081 270503194 1
    Siemens SX1 0x101F9071 0x101F9072 1 256 592 270504049 1 1552
    NEC hardware board
    MP211MCT
    0x102740C6
      The attached console executables allow developers to extend this list as more phones are released. The files are intended to run on phones prior to Symbian OS v9.