Skip to main content

Curtain

1.Curtain.getState

Get Current Curtain State

BDDP

ParamValueDesc
methodCurtain.getStateGet Current State
targetDevice<String,Necessary>DeviceId of the Curtain you use;
token<String,Necessary>Net token of the Curtain you use;

BUDP*

ParamValueDesc

2.Curtain.open

Open Curtain

BDDP

ParamValueDesc
methodCurtain.openOpen Curtain
targetDevice<String,Necessary>DeviceId of the Curtain you use;
token<String,Necessary>Net token of the Curtain you use;

BUDP*

ParamValueDesc

3.Curtain.close

Close Curtain

BDDP

ParamValueDesc
methodCurtain.closeClose Curtain
targetDevice<String,Necessary>DeviceId of the Curtain you use;
token<String,Necessary>Net token of the Curtain you use;

BUDP*

ParamValueDesc

4.Curtain.stop

Stop Curtain

BDDP

ParamValueDesc
methodCurtain.stopStop Curtain
targetDevice<String,Necessary>DeviceId of the Curtain you use;
token<String,Necessary>Net token of the Curtain you use;

BUDP*

ParamValueDesc

5.Curtain.getVersion

Get firmware info

BDDP

ParamValueDesc
methodCurtain.getVersionGet firmware info;
targetDevice<String,Necessary>DeviceId of this device;
token<String,Necessary>Net Token of this device;

BUDP

ParamValueDesc
data.version<String,Necessary>Current Version;
data.newVersion.versionId<String,Optional>Id of the newest version;
data.newVersion.versionCode<String,Optional>Code of the newest version;
data.newVersion.fileSize<String,Optional>File Size of the newest version;

6.Curtain.startUpgrade

Start Upgrade

BDDP

ParamValueDesc
methodCurtain.startUpgradeStart Upgrade
targetDevice<String,Necessary>DeviceId of this device;
token<String,Necessary>Net Token of this device;
params.versionId<String,Necessary>Version Id you want to upgrade;

BUDP

ParamValueDesc
data.isStarted<Boolean,Necessary>Is upgrading started;