-
public class DeviceBean
Describe the device model.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
DeviceBean.DevUpgradeStatus
Device upgrade status.
public interface
DeviceBean.EnableState
-
Field Summary
Fields Modifier and Type Field Description public final static String
UI_TYPE_RN
public final static int
BASE_ATTRIBUTE_THING_MATTER
public String
iconUrl
public String
devId
public String
name
public String
schema
public String
ui
public String
verSw
public String
uiType
public String
productId
public String
productVer
public String
appRnVersion
public String
uiPhase
public boolean
rnFind
public boolean
supportGroup
public long
time
public String
pv
public String
bv
public Map<String, SchemaBean>
schemaMap
public Map<String, Object>
dps
public Map<String, Long>
dpsTime
public Map<String, Object>
uiConfig
public Map<String, Object>
panelConfig
public Boolean
isShare
public String
runtimeEnv
public String
gwType
public boolean
virtual
public String
lon
public String
lat
public int
ability
public String
displayMsgs
public String
displayDps
public String
quickOpDps
public long
i18nTime
public String
localKey
public String
uuid
public Map<String, Object>
dpCodes
private String
communicationId
private boolean
hasMqttCommunication
private boolean
hasLanCommunication
private boolean
hasBleCommunication
private boolean
hasSigmeshCommunication
private boolean
hasHttpCommunication
private String
ip
private Boolean
isOnline
private Boolean
isLocalOnline
private long
attribute
private int
switchDp
private List<Integer>
faultDps
private String
schemaExt
private String
uiName
private HgwBean
hgwBean
private ProductBean
productBean
private ProductRefBean
productRefBean
private DeviceBizPropBean
deviceBizPropBean
private ProductStandardConfig
productStandardConfig
private String
timezoneId
private String
cadv
private String
meshId
private String
nodeId
private int
displayOrder
private int
homeDisplayOrder
private long
dpMaxTime
private long
errorCode
private Map<String, Object>
skills
private Map<String, String>
dpName
private String
devKey
private String
mac
private String
parentId
private String
parentDevId
private List<DeviceBean.DevUpgradeStatus>
devUpgradeStatus
private long
sharedTime
private long
devAttribute
private String
deviceCategory
private String
categoryCode
private String
category
private boolean
hasThingMeshCommunication
private long
protocolAttribute
private long
baseAttribute
private List<Integer>
otaUpgradeModes
private boolean
supportAutoUpgrade
private int
wifiEnableState
private int
zigBeeBleSubEnableStatus
private Map<String, Object>
meta
private String
ownerId
private int
connectionStatus
private boolean
supportProxyAndRelay
private boolean
openProxy
private boolean
openRelay
private int
accessType
private ThingSmartThingModel
thingModel
private String
secKey
private int
dataModel
private long
mqttTopicAttr
private boolean
virtualExperience
-
Constructor Summary
Constructors Constructor Description DeviceBean()
DeviceBean(Boolean useNewCache)
-
Method Summary
Modifier and Type Method Description String
getIconUrl()
void
setIconUrl(String iconUrl)
String
getDevId()
Get device id. void
setDevId(String devId)
String
getName()
Get device name. void
setName(String name)
String
getSchema()
Get schema of the defined all data points. void
setSchema(String schema)
String
getUi()
void
setUi(String ui)
String
getVerSw()
void
setVerSw(String verSw)
String
getUiType()
void
setUiType(String uiType)
String
getProductId()
void
setProductId(String productId)
String
getProductVer()
void
setProductVer(String productVer)
String
getAppRnVersion()
void
setAppRnVersion(String appRnVersion)
String
getUiPhase()
void
setUiPhase(String uiPhase)
boolean
getRnFind()
void
setRnFind(boolean rnFind)
void
setSupportGroup(boolean supportGroup)
long
getTime()
void
setTime(long time)
String
getPv()
void
setPv(String pv)
String
getBv()
void
setBv(String bv)
Map<String, SchemaBean>
getSchemaMap()
Get the mapping between data points and the schema that defines data points form ProductBean.SchemaInfo. void
setSchemaMap(Map<String, SchemaBean> schemaMap)
Map<String, Object>
getDps()
void
setDps(Map<String, Object> dps)
Map<String, Long>
getDpsTime()
Get data points update time map. void
setDpsTime(Map<String, Long> dpsTime)
Map<String, Object>
getUiConfig()
void
setUiConfig(Map<String, Object> uiConfig)
Map<String, Object>
getPanelConfig()
void
setPanelConfig(Map<String, Object> panelConfig)
Boolean
getIsShare()
void
setIsShare(Boolean isShare)
String
getRuntimeEnv()
void
setRuntimeEnv(String runtimeEnv)
String
getGwType()
void
setGwType(String gwType)
void
setVirtual(boolean virtual)
String
getLon()
void
setLon(String lon)
String
getLat()
void
setLat(String lat)
int
getAbility()
void
setAbility(int ability)
String
getDisplayMsgs()
void
setDisplayMsgs(String displayMsgs)
String
getDisplayDps()
void
setDisplayDps(String displayDps)
String
getQuickOpDps()
void
setQuickOpDps(String quickOpDps)
long
getI18nTime()
void
setI18nTime(long i18nTime)
String
getLocalKey()
Get device local communication key. void
setLocalKey(String localKey)
String
getUuid()
void
setUuid(String uuid)
Map<String, Object>
getDpCodes()
Get device data point codes, such as "switch_led:true"The code defined by the device for each function point may be different,depending on the background definition during firmware development. void
setDpCodes(Map<String, Object> dpCodes)
String
getCommunicationId()
Get communication node id. void
setCommunicationId(String communicationId)
void
setHasMqttCommunication(boolean hasMqttCommunication)
void
setHasLanCommunication(boolean hasLanCommunication)
void
setHasBleCommunication(boolean hasBleCommunication)
void
setHasSigmeshCommunication(boolean hasSigmeshCommunication)
void
setHasHttpCommunication(boolean hasHttpCommunication)
String
getIp()
Get device LAN ip. void
setIp(String ip)
Boolean
getIsOnline()
Get device online status, combine local online and cloud online status. void
setIsOnline(Boolean isOnline)
Boolean
getIsLocalOnline()
Get local online status. long
getAttribute()
void
setAttribute(long attribute)
int
getSwitchDp()
void
setSwitchDp(int switchDp)
List<Integer>
getFaultDps()
void
setFaultDps(List<Integer> faultDps)
String
getSchemaExt()
void
setSchemaExt(String schemaExt)
String
getUiName()
void
setUiName(String uiName)
HgwBean
getHgwBean()
Get device local area network model. void
setHgwBean(HgwBean hgwBean)
ProductBean
getProductBean()
Get product information. void
setProductBean(ProductBean productBean)
ProductRefBean
getProductRefBean()
void
setProductRefBean(ProductRefBean productRefBean)
DeviceBizPropBean
getDeviceBizPropBean()
void
setDeviceBizPropBean(DeviceBizPropBean deviceBizPropBean)
ProductStandardConfig
getProductStandardConfig()
void
setProductStandardConfig(ProductStandardConfig productStandardConfig)
String
getTimezoneId()
Get time zone id. void
setTimezoneId(String timezoneId)
String
getCadv()
Get CAD version. void
setCadv(String cadv)
String
getMeshId()
The mesh id of the device, which is useful when the device is a sub-device. void
setMeshId(String meshId)
String
getNodeId()
The node id of the device, which is useful when the device is a sub-device. void
setNodeId(String nodeId)
int
getDisplayOrder()
void
setDisplayOrder(int displayOrder)
int
getHomeDisplayOrder()
void
setHomeDisplayOrder(int homeDisplayOrder)
long
getDpMaxTime()
void
setDpMaxTime(long dpMaxTime)
long
getErrorCode()
void
setErrorCode(long errorCode)
Map<String, Object>
getSkills()
void
setSkills(Map<String, Object> skills)
Map<String, String>
getDpName()
Get data point names. void
setDpName(Map<String, String> dpName)
String
getDevKey()
void
setDevKey(String devKey)
String
getMac()
Get device MAC address. void
setMac(String mac)
String
getParentId()
void
setParentId(String parentId)
String
getParentDevId()
If the device is sub-device, this method can get parent device id. void
setParentDevId(String parentDevId)
List<DeviceBean.DevUpgradeStatus>
getDevUpgradeStatus()
Get the current update status of the device. void
setDevUpgradeStatus(List<DeviceBean.DevUpgradeStatus> devUpgradeStatus)
long
getSharedTime()
void
setSharedTime(long sharedTime)
long
getDevAttribute()
Get device attribute. void
setDevAttribute(long devAttribute)
String
getDeviceCategory()
Get the secondary category of device. void
setDeviceCategory(String deviceCategory)
String
getCategoryCode()
Get the three-level category of device. void
setCategoryCode(String categoryCode)
String
getCategory()
Get Bluetooth Mesh product category. void
setCategory(String category)
boolean
getHasThingMeshCommunication()
Determine whether the device has Bluetooth Mesh (Thing) communication capability void
setHasThingMeshCommunication(boolean hasThingMeshCommunication)
long
getProtocolAttribute()
Activate sub-device capability flag. void
setProtocolAttribute(long protocolAttribute)
long
getBaseAttribute()
void
setBaseAttribute(long baseAttribute)
List<Integer>
getOtaUpgradeModes()
void
setOtaUpgradeModes(List<Integer> otaUpgradeModes)
void
setSupportAutoUpgrade(boolean supportAutoUpgrade)
int
getWifiEnableState()
void
setWifiEnableState(int wifiEnableState)
int
getZigBeeBleSubEnableStatus()
void
setZigBeeBleSubEnableStatus(int zigBeeBleSubEnableStatus)
Map<String, Object>
getMeta()
void
setMeta(Map<String, Object> meta)
String
getOwnerId()
Get owner id of this device, owner id is home id. void
setOwnerId(String ownerId)
int
getConnectionStatus()
void
setConnectionStatus(int connectionStatus)
void
setSupportProxyAndRelay(boolean supportProxyAndRelay)
void
setOpenProxy(boolean openProxy)
void
setOpenRelay(boolean openRelay)
int
getAccessType()
get device type0 : thing device1 : tripartite matter device2 : thing link device void
setAccessType(int accessType)
ThingSmartThingModel
getThingModel()
get thinglink model void
setThingModel(ThingSmartThingModel thingModel)
String
getSecKey()
void
setSecKey(String secKey)
int
getDataModel()
void
setDataModel(int dataModel)
long
getMqttTopicAttr()
void
setMqttTopicAttr(long mqttTopicAttr)
void
setVirtualExperience(boolean virtualExperience)
boolean
isVirtualExperience()
boolean
isMatter()
是否是Matter设备,包含涂鸦Matte与三方Matter boolean
isThingMatter()
是否是涂鸦体系的Matter 设备 boolean
isTripartiteMatter()
是否是三方 Matter 设备 boolean
isSupportAutoUpgrade()
Is device support auto upgrade. boolean
isSupportProxyAndRelay()
boolean
isProxyOpen()
boolean
isRelayOpen()
boolean
isOpenRelay()
boolean
isOpenProxy()
boolean
getCommunicationOnline(CommunicationEnum commEnum)
Get communication node online status, combine local online and cloud online status. boolean
isSupportGroup()
boolean
isZigBeeSubDev()
Determine whether the current device is a zigbee sub-device boolean
isInfraredSubDev()
Determine whether the current device is a infrared sub-device boolean
isInfraredWifi()
Determine whether the current device is a infrared gateway device boolean
is433SubDev()
Determine whether the current device is a 433 sub-device boolean
is433Wifi()
Determine whether the current device is a 433 gateway device boolean
isThreadGwDev()
Determine whether the current device is a thread gateway device boolean
isThreadSubDev()
Determine whether the current device is a thread sub device void
setLocalOnline(Boolean localOnline)
boolean
isEncrypt()
boolean
isCloudOnline()
Determine whether the device is online in the cloud. boolean
isZigBeeWifi()
Determine whether it is a zigbee gateway. boolean
hasZigBee()
Determine the device has zigbee communication capability. boolean
isBleMeshWifi()
Please use isBlueMeshWifi and isSigMeshWifi replace. boolean
isBluetooth()
Determine whether the device has Bluetooth communication capability. boolean
isBeacon()
Determine whether the device has Beacon communication capability. boolean
isSingleBle()
Determine whether the current device is a single-point Bluetooth device. boolean
isBleMesh()
Please use isBlueMesh and isSigMesh replace. boolean
isBlueMesh()
Determine whether it has Bluetooth Mesh (Thing) capability. boolean
isSigMesh()
Determine whether it has Bluetooth Mesh (SIG) capability. boolean
isSigMeshWifi()
Determine whether it is a Bluetooth Mesh (SIG) gateway. boolean
hasConfigSigMesh()
Determine whether the current device can activate Bluetooth Mesh (SIG) sub-device. boolean
hasConfigZigbee()
Determine whether the current device can activate Zigbee sub-device. boolean
hasConfigSubpieces()
Determine whether the current device can activate Subpieces sub-device or Thing-Smesh sub-device. boolean
hasConfigBeacon()
boolean
isBlueMeshWifi()
Determine whether it is a blue mesh gateway. boolean
isWifiDevice()
Determine whether the device is a wifi device. boolean
isVirtual()
Determine whether the current device is a virtual device boolean
isHasMqttCommunication()
Determine whether the device has mqtt communication capability boolean
isHasLanCommunication()
Determine whether the device has LAN communication capability boolean
isHasBleCommunication()
Determine whether the device has BLE(bluetooth low energy) communication capability boolean
isHasSigmeshCommunication()
Determine whether the device has Bluetooth Mesh (SIG) communication capability boolean
isHasHttpCommunication()
Determine whether the device has HTTP communication capability boolean
isLocalDevice()
是否是本地直连设备 boolean
isSupportThingModelDevice()
-
-
Method Detail
-
getIconUrl
String getIconUrl()
-
setIconUrl
void setIconUrl(String iconUrl)
-
getDevId
String getDevId()
Get device id.
-
setDevId
void setDevId(String devId)
-
getName
String getName()
Get device name.
-
setName
void setName(String name)
-
getSchema
String getSchema()
Get schema of the defined all data points.
-
setSchema
@Deprecated() void setSchema(String schema)
-
getUi
String getUi()
-
setUi
@Deprecated() void setUi(String ui)
-
getVerSw
String getVerSw()
-
setVerSw
void setVerSw(String verSw)
-
getUiType
String getUiType()
-
setUiType
void setUiType(String uiType)
-
getProductId
String getProductId()
-
setProductId
void setProductId(String productId)
-
getProductVer
String getProductVer()
-
setProductVer
@Deprecated() void setProductVer(String productVer)
-
getAppRnVersion
String getAppRnVersion()
-
setAppRnVersion
void setAppRnVersion(String appRnVersion)
-
getUiPhase
String getUiPhase()
-
setUiPhase
@Deprecated() void setUiPhase(String uiPhase)
-
getRnFind
boolean getRnFind()
-
setRnFind
@Deprecated() void setRnFind(boolean rnFind)
-
setSupportGroup
void setSupportGroup(boolean supportGroup)
-
getTime
long getTime()
-
setTime
void setTime(long time)
-
getPv
String getPv()
-
setPv
void setPv(String pv)
-
getBv
String getBv()
-
setBv
void setBv(String bv)
-
getSchemaMap
Map<String, SchemaBean> getSchemaMap()
Get the mapping between data points and the schema that defines data points form ProductBean.SchemaInfo.
-
setSchemaMap
@Deprecated() void setSchemaMap(Map<String, SchemaBean> schemaMap)
-
getDps
Map<String, Object> getDps()
-
setDps
void setDps(Map<String, Object> dps)
-
getDpsTime
Map<String, Long> getDpsTime()
Get data points update time map.
-
setDpsTime
@Deprecated() void setDpsTime(Map<String, Long> dpsTime)
-
getUiConfig
Map<String, Object> getUiConfig()
-
setUiConfig
@Deprecated() void setUiConfig(Map<String, Object> uiConfig)
-
getPanelConfig
Map<String, Object> getPanelConfig()
-
setPanelConfig
void setPanelConfig(Map<String, Object> panelConfig)
-
getIsShare
Boolean getIsShare()
-
setIsShare
void setIsShare(Boolean isShare)
-
getRuntimeEnv
String getRuntimeEnv()
-
setRuntimeEnv
void setRuntimeEnv(String runtimeEnv)
-
getGwType
String getGwType()
-
setGwType
void setGwType(String gwType)
-
setVirtual
@Deprecated() void setVirtual(boolean virtual)
-
getLon
String getLon()
-
setLon
@Deprecated() void setLon(String lon)
-
getLat
String getLat()
-
setLat
@Deprecated() void setLat(String lat)
-
getAbility
int getAbility()
-
setAbility
void setAbility(int ability)
-
getDisplayMsgs
String getDisplayMsgs()
-
setDisplayMsgs
@Deprecated() void setDisplayMsgs(String displayMsgs)
-
getDisplayDps
@Deprecated() String getDisplayDps()
-
setDisplayDps
@Deprecated() void setDisplayDps(String displayDps)
-
getQuickOpDps
String getQuickOpDps()
-
setQuickOpDps
@Deprecated() void setQuickOpDps(String quickOpDps)
-
getI18nTime
long getI18nTime()
-
setI18nTime
@Deprecated() void setI18nTime(long i18nTime)
-
getLocalKey
String getLocalKey()
Get device local communication key.
-
setLocalKey
void setLocalKey(String localKey)
-
getUuid
String getUuid()
-
setUuid
void setUuid(String uuid)
-
getDpCodes
Map<String, Object> getDpCodes()
Get device data point codes, such as "switch_led:true"
The code defined by the device for each function point may be different,depending on the background definition during firmware development.
-
setDpCodes
@Deprecated() void setDpCodes(Map<String, Object> dpCodes)
-
getCommunicationId
String getCommunicationId()
Get communication node id.
A communication node is a node that can connect to the Internet. For a sub-device,it is a gateway device; for a wifi and device, it is itself.
Communication node id is device id of communication node.
-
setCommunicationId
@Deprecated() void setCommunicationId(String communicationId)
-
setHasMqttCommunication
void setHasMqttCommunication(boolean hasMqttCommunication)
-
setHasLanCommunication
void setHasLanCommunication(boolean hasLanCommunication)
-
setHasBleCommunication
void setHasBleCommunication(boolean hasBleCommunication)
-
setHasSigmeshCommunication
void setHasSigmeshCommunication(boolean hasSigmeshCommunication)
-
setHasHttpCommunication
void setHasHttpCommunication(boolean hasHttpCommunication)
-
getIp
String getIp()
Get device LAN ip.
-
setIp
@Deprecated() void setIp(String ip)
-
getIsOnline
Boolean getIsOnline()
Get device online status, combine local online and cloud online status.
-
setIsOnline
void setIsOnline(Boolean isOnline)
-
getIsLocalOnline
Boolean getIsLocalOnline()
Get local online status.
-
getAttribute
long getAttribute()
-
setAttribute
@Deprecated() void setAttribute(long attribute)
-
getSwitchDp
int getSwitchDp()
-
setSwitchDp
void setSwitchDp(int switchDp)
-
getFaultDps
List<Integer> getFaultDps()
-
setFaultDps
@Deprecated() void setFaultDps(List<Integer> faultDps)
-
getSchemaExt
String getSchemaExt()
-
setSchemaExt
void setSchemaExt(String schemaExt)
-
getUiName
String getUiName()
-
setUiName
@Deprecated() void setUiName(String uiName)
-
getHgwBean
HgwBean getHgwBean()
Get device local area network model.
If it is not null, it means the device has established a LAN connection with the mobile phone
-
setHgwBean
@Deprecated() void setHgwBean(HgwBean hgwBean)
-
getProductBean
ProductBean getProductBean()
Get product information.
-
setProductBean
@Deprecated() void setProductBean(ProductBean productBean)
-
getProductRefBean
ProductRefBean getProductRefBean()
-
setProductRefBean
@Deprecated() void setProductRefBean(ProductRefBean productRefBean)
-
getDeviceBizPropBean
DeviceBizPropBean getDeviceBizPropBean()
-
setDeviceBizPropBean
@Deprecated() void setDeviceBizPropBean(DeviceBizPropBean deviceBizPropBean)
-
getProductStandardConfig
ProductStandardConfig getProductStandardConfig()
-
setProductStandardConfig
@Deprecated() void setProductStandardConfig(ProductStandardConfig productStandardConfig)
-
getTimezoneId
String getTimezoneId()
Get time zone id.
-
setTimezoneId
@Deprecated() void setTimezoneId(String timezoneId)
-
getCadv
String getCadv()
Get CAD version. CAD version is communication protocol version of cloud, application and device.
-
setCadv
@Deprecated() void setCadv(String cadv)
-
getMeshId
String getMeshId()
The mesh id of the device, which is useful when the device is a sub-device.
If the device is a Zigbee/infrared sub-device, meshId is parent device id.If the device is a sigmesh or thingmesh sub-device, meshId is mesh id (top-level virtual node id).
-
setMeshId
void setMeshId(String meshId)
-
getNodeId
String getNodeId()
The node id of the device, which is useful when the device is a sub-device.
-
setNodeId
@Deprecated() void setNodeId(String nodeId)
-
getDisplayOrder
int getDisplayOrder()
-
setDisplayOrder
@Deprecated() void setDisplayOrder(int displayOrder)
-
getHomeDisplayOrder
int getHomeDisplayOrder()
-
setHomeDisplayOrder
@Deprecated() void setHomeDisplayOrder(int homeDisplayOrder)
-
getDpMaxTime
long getDpMaxTime()
-
setDpMaxTime
@Deprecated() void setDpMaxTime(long dpMaxTime)
-
getErrorCode
long getErrorCode()
-
setErrorCode
@Deprecated() void setErrorCode(long errorCode)
-
getSkills
Map<String, Object> getSkills()
-
setSkills
@Deprecated() void setSkills(Map<String, Object> skills)
-
getDpName
Map<String, String> getDpName()
Get data point names.
-
setDpName
@Deprecated() void setDpName(Map<String, String> dpName)
-
getDevKey
String getDevKey()
-
setDevKey
@Deprecated() void setDevKey(String devKey)
-
getMac
String getMac()
Get device MAC address.
-
setMac
void setMac(String mac)
-
getParentId
String getParentId()
-
setParentId
@Deprecated() void setParentId(String parentId)
-
getParentDevId
String getParentDevId()
If the device is sub-device, this method can get parent device id.
-
setParentDevId
@Deprecated() void setParentDevId(String parentDevId)
-
getDevUpgradeStatus
List<DeviceBean.DevUpgradeStatus> getDevUpgradeStatus()
Get the current update status of the device.
-
setDevUpgradeStatus
void setDevUpgradeStatus(List<DeviceBean.DevUpgradeStatus> devUpgradeStatus)
-
getSharedTime
long getSharedTime()
-
setSharedTime
@Deprecated() void setSharedTime(long sharedTime)
-
getDevAttribute
long getDevAttribute()
Get device attribute.
bit0 Whether the device supports automatic activation bit1 The device supports dp query No. 31 protocol query bit2 Whether the device has local linkage capability bit3 Does the device support WIFI scanning bit4 Does the device support google local home bit5 Does the device support lightning distribution network capability bit6 Does the device support Bluetooth control bit7 Does the device support security capabilities bit8 Is the device a shared device bit9 Does the device support sunrise and sunset timing bit10 Does the device support fault replacement capability bit11 Does the device support OTA bit12 Does the device support WIFI backup switching
-
setDevAttribute
@Deprecated() void setDevAttribute(long devAttribute)
-
getDeviceCategory
String getDeviceCategory()
Get the secondary category of device. same asgetCategory
-
setDeviceCategory
@Deprecated() void setDeviceCategory(String deviceCategory)
-
getCategoryCode
String getCategoryCode()
Get the three-level category of device. same as getCategoryCode
-
setCategoryCode
@Deprecated() void setCategoryCode(String categoryCode)
-
getCategory
String getCategory()
Get Bluetooth Mesh product category. from getMeshCategory and getMeta,when getMeshCategory is empty ,will use getMeta.
-
setCategory
void setCategory(String category)
-
getHasThingMeshCommunication
boolean getHasThingMeshCommunication()
Determine whether the device has Bluetooth Mesh (Thing) communication capability
-
setHasThingMeshCommunication
void setHasThingMeshCommunication(boolean hasThingMeshCommunication)
-
getProtocolAttribute
long getProtocolAttribute()
Activate sub-device capability flag.
-
setProtocolAttribute
@Deprecated() void setProtocolAttribute(long protocolAttribute)
-
getBaseAttribute
long getBaseAttribute()
-
setBaseAttribute
@Deprecated() void setBaseAttribute(long baseAttribute)
-
getOtaUpgradeModes
List<Integer> getOtaUpgradeModes()
-
setOtaUpgradeModes
@Deprecated() void setOtaUpgradeModes(List<Integer> otaUpgradeModes)
-
setSupportAutoUpgrade
@Deprecated() void setSupportAutoUpgrade(boolean supportAutoUpgrade)
-
getWifiEnableState
int getWifiEnableState()
-
setWifiEnableState
@Deprecated() void setWifiEnableState(int wifiEnableState)
-
getZigBeeBleSubEnableStatus
int getZigBeeBleSubEnableStatus()
-
setZigBeeBleSubEnableStatus
@Deprecated() void setZigBeeBleSubEnableStatus(int zigBeeBleSubEnableStatus)
-
getMeta
Map<String, Object> getMeta()
-
setMeta
@Deprecated() void setMeta(Map<String, Object> meta)
-
getOwnerId
String getOwnerId()
Get owner id of this device, owner id is home id.
-
setOwnerId
@Deprecated() void setOwnerId(String ownerId)
-
getConnectionStatus
int getConnectionStatus()
-
setConnectionStatus
@Deprecated() void setConnectionStatus(int connectionStatus)
-
setSupportProxyAndRelay
void setSupportProxyAndRelay(boolean supportProxyAndRelay)
-
setOpenProxy
void setOpenProxy(boolean openProxy)
-
setOpenRelay
void setOpenRelay(boolean openRelay)
-
getAccessType
int getAccessType()
get device type0 : thing device1 : tripartite matter device2 : thing link device
-
setAccessType
@Deprecated() void setAccessType(int accessType)
-
getThingModel
ThingSmartThingModel getThingModel()
get thinglink model
-
setThingModel
@Deprecated() void setThingModel(ThingSmartThingModel thingModel)
-
getSecKey
String getSecKey()
-
setSecKey
void setSecKey(String secKey)
-
getDataModel
int getDataModel()
-
setDataModel
void setDataModel(int dataModel)
-
getMqttTopicAttr
long getMqttTopicAttr()
-
setMqttTopicAttr
void setMqttTopicAttr(long mqttTopicAttr)
-
setVirtualExperience
void setVirtualExperience(boolean virtualExperience)
-
isVirtualExperience
boolean isVirtualExperience()
-
isMatter
boolean isMatter()
是否是Matter设备,包含涂鸦Matte与三方Matter
-
isThingMatter
boolean isThingMatter()
是否是涂鸦体系的Matter 设备
-
isTripartiteMatter
boolean isTripartiteMatter()
是否是三方 Matter 设备
-
isSupportAutoUpgrade
boolean isSupportAutoUpgrade()
Is device support auto upgrade.
-
isSupportProxyAndRelay
boolean isSupportProxyAndRelay()
-
isProxyOpen
boolean isProxyOpen()
-
isRelayOpen
boolean isRelayOpen()
-
isOpenRelay
boolean isOpenRelay()
-
isOpenProxy
boolean isOpenProxy()
-
getCommunicationOnline
boolean getCommunicationOnline(CommunicationEnum commEnum)
Get communication node online status, combine local online and cloud online status.
A communication node is a node that can connect to the Internet. For a sub-device,it is a gateway device; for a wifi and device, it is itself.
-
isSupportGroup
boolean isSupportGroup()
-
isZigBeeSubDev
boolean isZigBeeSubDev()
Determine whether the current device is a zigbee sub-device
-
isInfraredSubDev
boolean isInfraredSubDev()
Determine whether the current device is a infrared sub-device
-
isInfraredWifi
boolean isInfraredWifi()
Determine whether the current device is a infrared gateway device
-
is433SubDev
boolean is433SubDev()
Determine whether the current device is a 433 sub-device
-
is433Wifi
boolean is433Wifi()
Determine whether the current device is a 433 gateway device
-
isThreadGwDev
boolean isThreadGwDev()
Determine whether the current device is a thread gateway device
-
isThreadSubDev
boolean isThreadSubDev()
Determine whether the current device is a thread sub device
-
setLocalOnline
@Deprecated() void setLocalOnline(Boolean localOnline)
-
isEncrypt
@Deprecated() boolean isEncrypt()
-
isCloudOnline
boolean isCloudOnline()
Determine whether the device is online in the cloud.
-
isZigBeeWifi
boolean isZigBeeWifi()
Determine whether it is a zigbee gateway.
-
hasZigBee
boolean hasZigBee()
Determine the device has zigbee communication capability.
-
isBleMeshWifi
@Deprecated() boolean isBleMeshWifi()
Please use isBlueMeshWifi and isSigMeshWifi replace.
-
isBluetooth
boolean isBluetooth()
Determine whether the device has Bluetooth communication capability.
-
isBeacon
boolean isBeacon()
Determine whether the device has Beacon communication capability.
-
isSingleBle
boolean isSingleBle()
Determine whether the current device is a single-point Bluetooth device.
Single-point Bluetooth devices are devices that have no Internet communication capabilitiesand can only be controlled via Bluetooth in the near field.
-
isBleMesh
@Deprecated() boolean isBleMesh()
Please use isBlueMesh and isSigMesh replace.
-
isBlueMesh
boolean isBlueMesh()
Determine whether it has Bluetooth Mesh (Thing) capability.
Blue mesh is Bluetooth Mesh (Thing) protocol.
-
isSigMesh
boolean isSigMesh()
Determine whether it has Bluetooth Mesh (SIG) capability.
Sig mesh is Bluetooth Mesh (SIG) protocol.
-
isSigMeshWifi
boolean isSigMeshWifi()
Determine whether it is a Bluetooth Mesh (SIG) gateway.
Sig mesh device is Bluetooth Mesh (SIG) protocol.
-
hasConfigSigMesh
boolean hasConfigSigMesh()
Determine whether the current device can activate Bluetooth Mesh (SIG) sub-device.
-
hasConfigZigbee
boolean hasConfigZigbee()
Determine whether the current device can activate Zigbee sub-device.
-
hasConfigSubpieces
boolean hasConfigSubpieces()
Determine whether the current device can activate Subpieces sub-device or Thing-Smesh sub-device.
-
hasConfigBeacon
boolean hasConfigBeacon()
-
isBlueMeshWifi
boolean isBlueMeshWifi()
Determine whether it is a blue mesh gateway.
Blue mesh device is thing private mesh protocol.
-
isWifiDevice
@Deprecated() boolean isWifiDevice()
Determine whether the device is a wifi device.
Deprecated, replace by hasMqttCommunication
-
isVirtual
boolean isVirtual()
Determine whether the current device is a virtual device
-
isHasMqttCommunication
boolean isHasMqttCommunication()
Determine whether the device has mqtt communication capability
-
isHasLanCommunication
boolean isHasLanCommunication()
Determine whether the device has LAN communication capability
-
isHasBleCommunication
boolean isHasBleCommunication()
Determine whether the device has BLE(bluetooth low energy) communication capability
-
isHasSigmeshCommunication
boolean isHasSigmeshCommunication()
Determine whether the device has Bluetooth Mesh (SIG) communication capability
-
isHasHttpCommunication
boolean isHasHttpCommunication()
Determine whether the device has HTTP communication capability
-
isLocalDevice
boolean isLocalDevice()
是否是本地直连设备
-
isSupportThingModelDevice
boolean isSupportThingModelDevice()
-
-
-
-