1.Curtain.getStateโ
Get Current Curtain State
BDDP
Param | Value | Desc |
---|
method | Curtain.getState | Get Current State |
targetDevice | <String,Necessary> | DeviceId of the Curtain you use; |
token | <String,Necessary> | Net token of the Curtain you use; |
BUDP*
2.Curtain.openโ
Open Curtain
BDDP
Param | Value | Desc |
---|
method | Curtain.open | Open Curtain |
targetDevice | <String,Necessary> | DeviceId of the Curtain you use; |
token | <String,Necessary> | Net token of the Curtain you use; |
BUDP*
3.Curtain.closeโ
Close Curtain
BDDP
Param | Value | Desc |
---|
method | Curtain.close | Close Curtain |
targetDevice | <String,Necessary> | DeviceId of the Curtain you use; |
token | <String,Necessary> | Net token of the Curtain you use; |
BUDP*
4.Curtain.stopโ
Stop Curtain
BDDP
Param | Value | Desc |
---|
method | Curtain.stop | Stop Curtain |
targetDevice | <String,Necessary> | DeviceId of the Curtain you use; |
token | <String,Necessary> | Net token of the Curtain you use; |
BUDP*
5.Curtain.getVersionโ
Get firmware info
BDDP
Param | Value | Desc |
---|
method | Curtain.getVersion | Get firmware info; |
targetDevice | <String,Necessary> | DeviceId of this device; |
token | <String,Necessary> | Net Token of this device; |
BUDP
Param | Value | Desc |
---|
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
Param | Value | Desc |
---|
method | Curtain.startUpgrade | Start 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
Param | Value | Desc |
---|
data.isStarted | <Boolean,Necessary> | Is upgrading started; |