How Do You Tell Device Type For Ensuring Right Firmware Version is Installed

This has probably been covered somewhere, but I'm not finding it:

How do I get what device is being run? I want to ensure the right device/firmware version before running my widget--otherwise it displays the required firmware version info.

I can get the firmware version, but don't see how to get the device.
  • This has probably been covered somewhere, but I'm not finding it:

    How do I get what device is being run? I want to ensure the right device/firmware version before running my widget--otherwise it displays the required firmware version info.

    I can get the firmware version, but don't see how to get the device.


    Same place you get the FW version, there is "part number" which ID's the device ("partNumber" in system status)
  • Oh, I would have figured part number was not the model number, but the serial number or M/N number. Is there anything that lists the form of the part numbers to match against? Looking at the back of my 920XT, there is a serial number, M/N number and also "Forerunner 920XT". Would "Forerunner 920XT" be what is returned?
  • The strings you need to look for are in <SDK-ROOT>/bin/devices.xml.