Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
vaxace
Level 7

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
0 Kudos
4 REPLIES 4\
RokuMarkn
Level 8

Re: Retrieving the firmware version

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
0 Kudos
RokuChris
Roku Employee
Roku Employee

Re: Retrieving the firmware version

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)
0 Kudos
vaxace
Level 7

Re: Retrieving the firmware version

Thank you very much Smiley Very Happy
0 Kudos
YungBlood
Level 8

Re: Retrieving the firmware version

"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* Smiley Happy
-Kevin
YungBlood

Bringing more fun to Roku!
0 Kudos