MACAddress)
#return STB MAC Address
fw_printenv ethaddr 2>/dev/null | awk ' { if( index($0,"ethaddr=") ) { print substr($0,9) } }'
;;
MAC=`/home/default/rdir.cgi MACAddress`
MACAddress)
#return STB MAC Address
fw_printenv ethaddr 2>/dev/null | awk ' { if( index($0,"ethaddr=") ) { p
;;
<?php
struct OutGaugePack
{
unsigned Time; // time in milliseconds (to check order)
char Car[4]; // Car name
word Flags; // Info (see OG_x below)
byte Gear; // Reverse:0, Neutral:1, First:2...
byte PLID; // Unique ID of viewed player (0 = none)
float Speed; // M/S
float RPM; // RPM
float Turbo; // BAR
float EngTemp; // C
float Fuel; // 0 to 1
float OilPressure; // BAR
float OilTemp; // C
unsigned DashLights; // Dash lights available (see DL_x below)
unsigned ShowLights; // Dash lights currently switched on
float Throttle; // 0 to 1
float Brake; // 0 to 1
float Clutch; // 0 to 1
char Display1[16]; // Usually Fuel
char Display2[16]; // Usually Settings
int ID; // optional - only if OutGauge ID is specified
};
?>