Changeset 126


Ignore:
Timestamp:
2014-07-07 14:11:38 (11 years ago)
Author:
andrei
Message:

added "FirmwareVersion" and "UIVersion" state variables;

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified branches/UI7/I_ApexisUI7.xml

    r125 r126  
    751751                    local fwVersion = content:match("var sys_ver='([%d.]+)';") or "" 
    752752                    local uiVersion = content:match("var app_ver='([%d.]+)';") or "" 
     753                     
     754                    luup.variable_set(CAM_SID,"FirmwareVersion", fwVersion, lug_device) 
     755                    luup.variable_set(CAM_SID,"UIVersion", uiVersion, lug_device) 
     756                     
    753757                    luup.log("ApexisUI7:CheckFirmwareVersion- model: ".. model ..", ".. p2p ..", fw: ".. fwVersion ..", ui: ".. uiVersion) 
    754758 
     
    806810                    local fwVersion = content:match("var ret_server_version='([%x.]+)';") or "" 
    807811                    local uiVersion = content:match("var ret_client_version='([%x.]+)';") or "" 
     812                     
     813                    luup.variable_set(CAM_SID,"FirmwareVersion", fwVersion, lug_device) 
     814                    luup.variable_set(CAM_SID,"UIVersion", uiVersion, lug_device) 
     815                     
    808816                    luup.log("ApexisUI7:CheckFirmwareVersion- model: ".. model ..", ".. p2p ..", fw: ".. fwVersion ..", ui: ".. uiVersion) 
    809817 
Note: See TracChangeset for help on using the changeset viewer.