检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
的命令。详细操作请参考设备影子。 消息跟踪 物联网平台支持通过消息跟踪功能进行快速的故障定位和原因分析。详细操作请参考设备消息跟踪。 设备监控 设备运行日志:物联网平台支持接收设备上传的日志,您若打开设备日志开关,可将本地日志流转到云日志服务(LTS)(注:此功能仅适用于MQTT设备)。
0X3RpbWUiOiAiMjAyNDA2MDFUMDAwMDAwWiIsCiAgICAiZXZlbnRfdGltZV9tcyI6ICIyMDI0LTA2LTAxVDAwOjAwOjAwLjAwMFoiLAogICAgInJlcXVlc3RfaWQiOiAiMjEzMWQwNDg
MqttCallBack4IoTHub()); 注:如果连接失败,在initMqttConnects函数中的onFailure回调函数中已实现退避重连,代码样例如下: @Override public void onFailure(IMqttToken asyncActionToken, Throwable
返回结果 状态码 请求发送以后,您会收到响应,包含状态码、响应消息头和消息体。 状态码是一组从1xx到5xx的数字代码,状态码表示了请求响应的状态,完整的状态码列表请参见状态码。 对于创建产品接口,如果调用后返回状态码为“201”,则表示请求成功。 响应消息头 对应请求消息头,响
channelDetailbody = new ChannelDetail(); channelDetailbody.withHttpForwarding(httpForwardingChannelDetail); body.withChannelDeta
"processing" : 0, "success" : 0, "fail" : 0, "waitting" : 0, "fail_wait_retry" : 0, "stopped" : 0 }, "create_time"
行。 Waiting for the device online timeout 等待设备上线超时 请检查设备侧。 Wait for the device to report upgrade result timeout 等待设备上报升级结果超时 请检查设备侧。 Waiting for
backoff_with_jitter) wait_time_s = round(wait_time_ms / 1000, 2) print("client will try to reconnect after " + str(wait_time_s) + " s")
Length Required 服务器无法处理客户端发送的不带Content-Length的请求信息。 412 Precondition Failed 未满足前提条件,服务器未满足请求者在请求中设置的其中一个前提条件。 413 Request Entity Too Large 由于
行。 Waiting for the device online timeout 等待设备上线超时 请检查设备侧。 Wait for the device to report upgrade result timeout 等待设备上报升级结果超时 请检查设备侧。 Waiting for
"iam:permissions:grantRoleToAgencyOnDomain", "iam:permissions:revokeRoleFromAgencyOnDomain", "iam:permissions:
subRes.Wait() && subRes.Error() != nil { fmt.Printf("sub topic failed,error is %s\n", subRes.Error()) panic("subscribe topic failed.")
连接参数。 const container = require('rhea'); //获取当前时间戳 var timestamp = Math.round(new Date()); //建立连接。 var connection = container.connect({
IOTDA.000030 Failed to register the resource in Stage. Please try again later. 注册资源失败。 请稍后重试或联系华为工程师分析解决。 400 IOTDA.000031 Failed to deregister
-f]、数字、连接符(-)的组成。 charge_mode String 参数说明:实例的付费方式。 取值范围: prePaid:包年/包月 postPaid:按需计费 name String 参数说明:实例名称。 取值范围:由中文字符,英文字母、数字及“_”、“-”组成,且长度为[1-64]个字符。
Method URI Success Failure Register POST /rd?ep={nodeId} 2.01 Created 4.00 Bad Request, 4.03 Forbidden, 4.12 Precondition Failed 物联网平台向设备订阅资源,设
-f]、数字、连接符(-)的组成。 charge_mode String 参数说明:实例的付费方式。 取值范围: prePaid:包年/包月 postPaid:按需计费 name String 参数说明:实例名称。 取值范围:由中文字符,英文字母、数字及“_”、“-”组成,且长度为[1-64]个字符。
String 参数说明:实例的付费方式。 取值范围: prePaid:包年/包月 postPaid:按需计费 period_type 否 String 参数说明:订购设备接入实例的周期类型(包年、包月等)。charge_mode为prePaid时生效,且为必选值。 取值范围: month:包月
正在执行的子任务个数。 success Integer 执行成功的子任务个数。 fail Integer 执行失败的的子任务个数。 waitting Integer 等待执行的子任务个数。 fail_wait_retry Integer 失败等待重试的子任务个数。 stopped Integer
passWord; 连接成功后,设备显示在线。 图1 设备列表-设备在线 注:如果连接失败,在onFailure函数中已实现退避重连,代码样例如下: @Override public void onFailure(IMqttToken iMqttToken, Throwable throwable)