But why -just- for the z22? Seems like a small device to target for so much work...
On Fri, Mar 27, 2009 at 10:06 AM, Dmitry Grinberg <[email protected]>wrote: > Z22 has two chips that ave unique serial numbers in them > not accessible via the OS, but is accessible via direct hardware access. > that is what he's trying to do > > > ---- > Best Regards, > Dmitry Grinberg > (847) 226 9295 > > > > On Fri, Mar 27, 2009 at 4:25 AM, Regis St-Gelais > <[email protected]> wrote: > > "Guilherme Campos Hazan" <[email protected]> a écrit dans le > message de > > news: 187...@palm-dev-forum... > >>I am - but that doesn't work on Z22. > >> > > > > Not all devices have a serial number. > > I don't recall if the Z22 does. > > > > There are 2 way to get the serial number depending on the device type. > > > > 1- Check if you are on an handspring based device (like the Treos) > > if (FtrGet(hsFtrCreator, hsFtrIDVersion, &ulngValue) == errNone) > > if yes, then read the serial using: > > HsGetVersionString(hsVerStrSerialNo, strpSerialNumber, &intBufferLen); > > > > 2- if not on an handspring device than use the rom token mothode: > > intResult = SysGetROMToken(0,sysROMTokenSnum, (UInt8**) &strpBuffer, > > &intBufferLen); > > > > If after that you still don't have a serial number, than the device does > not > > have one. > > > > One way to manualy check if the device has a serial number if to use the > > launcher main menu: "App --> Info..." and to select the "Version" view. > > If the device has a serial it will be display on the 3th line "Flash ID: > > ..." > > > > HTH > > > > -- > > Regis St-Gelais > > www.laubrass.com > > > > > > > > -- > > For information on using the ACCESS Developer Forums, or to unsubscribe, > please see http://www.access-company.com/developers/forums/ > > > > -- > For information on using the ACCESS Developer Forums, or to unsubscribe, > please see http://www.access-company.com/developers/forums/ > -- Thanks and best regards, Ryan Rix TamsPalm - The PalmOS Blog (623)-239-1103 <-- Grand Central, baby! Jasmine Bowden - Class of 2009, Marc Rasmussen - Class of 2008, Erica Sheffey - Class of 2009, Rest in peace. -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
