Categories: Technical Solution | Symbian C++ | Base/System | S60 3rd Edition | S60 3rd Edition, Feature Pack 1 | S60 3rd Edition, Feature Pack 2
This page was last modified 11:55, 13 November 2007.
TSS000728 - Retrieving memory card unique ID
From Forum Nokia Wiki
| ID | TSS000728 | Creation date | August 23, 2007, updated November 13, 2007 |
| Platform | S60 3rd Edition, S60 3rd Edition FP1, S60 3rd Edition FP2 | Devices | All (S60 3rd Ed) |
| Category | Symbian C++ | Subcategory | Base & System, File System |
Description
The unique serial number from the MMC card identification register (CID) can be retrieved with the following function (if supported by the media):
TInt RFs::GetMediaSerialNumber( TMediaSerialNumber &aSerialNum, TInt aDrive );
Solution
RFs::GetMediaSerialNumber() returns 16 bytes (128 bits) which are a copy of the card's CID register, defined as follows:
| Description | Field | Width | CID bits |
| Manufacturer ID | MID | 8 | [127:120] |
| OEM/Application ID | OID | 16 | [119:104] |
| Product name | PNM | 40 | [103:64] |
| Product revision | PRV | 8 | [63:56] |
| Product serial number | PSN | 32 | [55:24] |
| Reserved | - | 4 | [23:20] |
| Manufacturing date | MDT | 12 | [19:8] |
| CRC7 checksum | CRC | 7 | [7:1] |
| Not used, always 1 | - | 1 | [0:0] |
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Format memorycard of 9210 | XeQtoR | General Discussion | 3 | 2003-12-02 01:31 |
| Installing a MIDlet from an MMC card on Series 60 | m4xence | Mobile Java General | 3 | 2003-11-10 13:30 |
| related to memory card | sis1987 | Mobile Java General | 4 | 2008-06-13 11:10 |
| RealOne Player 3.1.162 doesn't let me view memory card contents | gypsy182 | Graphics & Video & Streaming | 1 | 2003-04-24 17:47 |
| Nokia E61 + Transcend 4 Gb memory card | s35 | General Discussion | 7 | 2007-09-18 16:25 |

