1

I have a little problem with development HTML5 app on Toshiba SmartTV platform.

Did anyone knows how to get device info from TV like Model, Firmware, MAC, IP? I tried to find some docs about it but, Toshiba is now one of the smartTV alliance and on there's website is only link to https://developers.smarttv-alliance.org/ what is great but smartTV allinace spec don't support getting this info.

Ivan Solntsev
  • 2,081
  • 2
  • 31
  • 40
Kamil Kiełbasa
  • 130
  • 1
  • 7

1 Answers1

0

a lot of device info is not available :( but some you can parse from user-agent

var getFirmware = function() {
    var match = String(navigator.userAgent).match(/Firmware\/([\d\.\-\_]+)/);
    if (match) {
        return match[1];
    } else {
        return '';
    }
};
alfredo86
  • 194
  • 3