检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
三方应用可调用此接口向设备下发命令,配置或修改设备的服务属性,以实现对设备的控制。 物联网平台不对设备命令进行缓存而是直接下发命令,设备不在线时命令下发失败。下发命令的具体格式需要第三方应用与设备自定义,物联网平台在接口中直接进行封装,透传。 此接口适用于使用MQTT协议接入的设备,例如集成了AgentLite
Method: POST request: {callbackUrl} Header: Content-Type:application/json Body: { "notifyType":"swUpgradeStateChangeNotify", "deviceId":"******"
服务合入到水表基础服务中。 维护能力 描述设备具备软固件升级、配置更新等能力。 在线开发和离线开发 Profile的开发手段有在线开发和离线开发两种,我们推荐使用开发中心在线开发Profile。 在线开发即在开发中心上,通过界面操作开发Profile,开发完成后可以下载。 离线开
Method: POST request: {callbackUrl} Header: Content-Type:application/json Body: { "notifyType":"deviceDesiredPropertiesModifyStatusChanged"
Method: POST request: {callbackUrl} Header: Content-Type:application/json Body: { "notifyType":"fwUpgradeStateChangeNotify", "deviceId":"******"
标签值。 请求示例 POST 由应用服务器订阅设备消息上报通知的callbackUrl决定 Content-Type: application/json { "resource" : "string", "event" : "string", "notify_data" :
Token”,“Token”填写鉴权接口返回的accessToken。 然后配置Body。 参数 取值 Content-Type 选择raw之后选择JSON(application/json)。 注:选择Body格式后Postman会自动添加一个Content-Type头域。 notifyType 填写为“deviceDataChanged”。
https://{host}:{port}/iocm/app/batchtask/v1.1.0/tasks Content-Type: application/json app_key: ****** Authorization: Bearer ****** { "appId": "******"
Content-Type: application/json app_key: ****** Authorization: Bearer ***** 正常响应示例 Status Code: 200 OK Content-Type: application/json { "totalCount":"****"
Status Code: 200 OK 请求示例 POST {callbackUrl} Content-Type: application/json { "notifyType": "messageConfirm", "header": { "requestId":
Method: POST request: {callbackUrl} Header: Content-Type:application/json Body: { "notifyType":"serviceInfoChanged", "deviceId":"*******"
Method: POST request: {callbackUrl} Header: Content-Type:application/json Body: { "notifyType":"deviceModelAdded", "appId":"*****",
Method: POST request: {callbackUrl} Header: Content-Type:application/json Body: { "notifyType":"deviceModelAdded", "appId":"*****",
Method: POST request: {callbackUrl} Header: Content-Type:application/json Body: { "notifyType":"fwUpgradeResultNotify", "deviceId":"******"
Method: POST request: {callbackUrl} Header: Content-Type:application/json Body: { "deviceId":"*********", "commandId":"***********",
Content-Type: application/json app_key: ****** Authorization: Bearer ***** 正常响应示例 Status Code: 200 OK Content-Type: application/json { "totalCount":"****"
Content-Type: application/json app_key: ****** Authorization: Bearer ****** 正常响应示例 Status Code: 200 OK Content-Type: application/json { "taskId": "********"
Method: POST request: {callbackUrl} Header: Content-Type:application/json Body: { "notifyType":"deviceDataChanged", "requestId":"*************"
thbound/v1.5.0/operations/softwareUpgrade Content-Type: application/json app_key: ****** Authorization: Bearer ****** { "fileId": "**********"
thbound/v1.5.0/operations/firmwareUpgrade Content-Type: application/json app_key: ****** Authorization: Bearer ****** { "fileId": "**********"