Symbian
Symbian OS Library

FAQ-0789 How can I find out the capabilities of the ROM my 9200 series app is running on?

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



 

Classification: C++ Category: Hardware
Created: 05/08/2002 Modified: 06/06/2002
Number: FAQ-0789
Platform: Symbian OS v6.0

Question:
I am aware that two ROMs have been released for the Nokia 9210 communicator with different capabilities, and another again for the 9210i. How do I know which of these I am running on?

Answer:
You can recover the ROM build number with the following code:
    #include
    TMachineInfoV1Buf buf;
    UserHal::MachineInfo(buf);
    TMachineInfoV1& t=buf();
    TInt8 buildNumber = t.iRomVersion.iMajor;

    If this number is less than 400 you are running on the original 9210 ROM. If it is greater than 500 you are running on the 9210i ROM.