Setupgrade(upgradeconf, reboot, callbackfunction) – Grandstream GXV3275 GMI Web Service Guide User Manual
Page 31
GXV3240/3275 GMI Web Service v1.9 User Guide
Page 30 of 44
setUpgrade(upgradeConf, reboot, callbackFunction)
Description
• Set up upgrading configuration
• Configuration item structure. Each configuration item contains
two fields with the following format:
ConfItem
{
value; //P value
key; //nvram address (P parameter)
}
• The ConfItem list is as follows:
UpgradeConf
{
ConfItem updaterule
ConfItem updatevia
ConfItem firpath
ConfItem confpath
ConfItem firpre
ConfItem firpost
ConfItem confpre
ConfItem confpost
ConfItem dhcp66
ConfItem autoup
ConfItem keypadup
ConfItem authconffile
ConfItem hourofday
ConfItem dayofweek
ConfItem peroid
ConfItem xmlpass
ConfItem httpuser
ConfItem httppass
}
Parameters
• UpgradeConf: Upgrade configuration
• Reboot: 0 - Save configuration without reboot; 1 - Yes, reboot
• callbackFunction: Call back function
Structure Parameter
Settings
Configuration Name
Value
Configuration
nvram
Address
(key)