Forum Discussion

vaxace's avatar
vaxace
Binge Watcher
16 years ago

Retrieving the firmware version

How does one go about retrieving the current firmware version of the DVP.
The Roku Streaming Player Component Reference manual indicates that it can be retrieved with roDeviceInfo.GetVersion().

Since I'm currently running V2.7 build 857 (according to settings - player info), that is what I was expecting to get back from GetVersion().
What I actually get back is "012.07E00857A". :?

I can see components of 2.7/857 in that, but can I rely on the format so that I can always parse it?

Or, is there another way to get the "real" version?

Thanks,

Dave

4 Replies

  • Yes, you can rely on that format. The first two characters are a hardware identifier, the next four are the major and minor version number, and the eighth through twelfth characters are the build number. The letters (E and A) should be ignored.

    --Mark
  • I usually do something like this...

        version = CreateObject("roDeviceInfo").GetVersion()
    major = Mid(version, 3, 1)
    minor = Mid(version, 5, 2)
    build = Mid(version, 8, 5)
  • YungBlood's avatar
    YungBlood
    Streaming Star
    "RokuMarkn" wrote:
    Yes, you can rely on that format. The first two characters are a hardware identifier, the next four are the major and minor version number, and the eighth through twelfth characters are the build number. The letters (E and A) should be ignored.

    --Mark

    I'm guessing that's only true as long as we stay under version 10.x *grin* 🙂
    -Kevin