Device Profile,即设备描述文件,是开发者上传到华为物联网平台OceanConnect之上的一系列json文件,用来描述设备“是什么”、“能干什么”。
- MultiSensor_eSDK_v01
- 常规模式下的设备描述文件;
- 包含温度、湿度、电池电量三个服务;
- 每个服务包含1-3个属性:
- 温度和湿度包含3个属性:当前值、当天最高值、当天最低值;
- 电量包含1个属性:当前值;
- 每个服务包含2个命令:
- 温度、湿度和电量都包含2个命令:
- 设置上报周期
- 预警命令
- 温度、湿度和电量都包含2个命令:
上传的设备描述文件需为zip压缩包格式,压缩包名应为[deviceType]_[manufacturerId]_[model].zip的格式。
Device Profile Demo v1.0
在开发过程中,您有任何问题均可以至DevCenter中提单跟踪。也可以在华为开发者社区中查找或提问。另外,华为技术支持热线电话:400-822-9999(转二次开发)