You could take a look at the ServiceManager.DeviceSettings API [this is JavaScript BTW]. There are functions there to get various system settings that should be hardware independent.
The SystemSettings API also seems to deliver the same data.
One word of caution: these script functions themselves do seem to be a little presumptuous. the ECM MAC code expects SNMP to be up and running on the CableCARD at 192.168.100.1 and the STB MAC Address of IP devices, or DEVICE_TYPE=="mediaclient" looks at the command line used to launch Linux for the phrase 'comcast.stbmacaddr'
2 Comments
Z-Howard Teece
Joby,
You could take a look at the
ServiceManager.DeviceSettings
API [this is JavaScript BTW]. There are functions there to get various system settings that should be hardware independent.is a good starting point and take a look at
and in particular the
getEcmMac()
andgetMacAddress()
functions.You can call them like this:
or
The
SystemSettings
API also seems to deliver the same data.One word of caution: these script functions themselves do seem to be a little presumptuous. the ECM MAC code expects SNMP to be up and running on the CableCARD at 192.168.100.1 and the STB MAC Address of IP devices, or
DEVICE_TYPE=="mediaclient"
looks at the command line used to launch Linux for the phrase 'comcast.stbmacaddr'Howard.
Z-Joby Bett
Thanks! I'll take a look