检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
连接参数。 const container = require('rhea'); //获取当前时间戳 var timestamp = Math.round(new Date()); //建立连接。 var connection = container.connect({
行。 Waiting for the device online timeout 等待设备上线超时 请检查设备侧。 Wait for the device to report upgrade result timeout 等待设备上报升级结果超时 请检查设备侧。 Waiting for
-f]、数字、连接符(-)的组成。 charge_mode String 参数说明:实例的付费方式。 取值范围: prePaid:包年/包月 postPaid:按需计费 name String 参数说明:实例名称。 取值范围:由中文字符,英文字母、数字及“_”、“-”组成,且长度为[1-64]个字符。
正在执行的子任务个数。 success Integer 执行成功的子任务个数。 fail Integer 执行失败的的子任务个数。 waitting Integer 等待执行的子任务个数。 fail_wait_retry Integer 失败等待重试的子任务个数。 stopped Integer
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]个字符。
MongoDB流转失败次数:iotda_mongodb_forwarding_failedCount 软固件升级/远程配置 AOM.IoTDA 成功数量:iotda_batchtask_success_count 失败数量:iotda_batchtask_failure_count 父主题: 监控运维
行。 Waiting for the device online timeout 等待设备上线超时 请检查设备侧是否上线。 Waiting for report cellId timeout 等待上报cellId超时 请通过模组日志检查设备侧是否上报的小区ID。 Waiting for
ShowLogs("next retry time: " + waitTImeUtilNextRetry + Environment.NewLine); }))); Thread.Sleep((int)waitTImeUtilNextRetry); retryTimes++;
成功的目标id列表。 failure_targets Array of DevicePolicyBindOrUnbindFailureDetail objects 失败的目标id列表 表5 DevicePolicyBindOrUnbindFailureDetail 参数 参数类型 描述
String 参数说明:实例的付费方式。 取值范围: prePaid:包年/包月 postPaid:按需计费 period_type 否 String 参数说明:订购设备接入实例的周期类型(包年、包月等)。charge_mode为prePaid时生效,且为必选值。 取值范围: month:包月
下: 表1 业务场景 业务场景 通信Topic 报文Payload 设备上报数据 /aircondition/data/up { "temperature": 26.0 } 服务端控制指令 /aircondition/cmd { "switch": "off" } 设备使用一机一密的认证方式。
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
passWord; 连接成功后,设备显示在线。 图1 设备列表-设备在线 注:如果连接失败,在onFailure函数中已实现退避重连,代码样例如下: @Override public void onFailure(IMqttToken iMqttToken, Throwable throwable)
成功的目标id列表。 failure_targets Array of DevicePolicyBindOrUnbindFailureDetail objects 失败的目标id列表 表5 DevicePolicyBindOrUnbindFailureDetail 参数 参数类型 描述
组成,且长度为[1-64]个字符。 charge_mode String 参数说明:实例的付费方式。 取值范围: prePaid:包年/包月 postPaid:按需计费 flavor Flavor object 参数说明:设备接入实例的规格参数。 status String 参数说明:实例状态。
行。 Waiting for the device online timeout 等待设备上线超时 请检查设备侧。 Wait for the device to report upgrade result timeout 等待设备上报升级结果超时 请检查设备侧。 Waiting for
DMS_ROCKETMQ_FORWARDING:转发RocketMQ消息类型。(仅标准版和企业版支持) channel_detail ChannelDetail object 通道配置信息。 表4 ChannelDetail 参数 参数类型 描述 http_forwarding HttpForwarding object
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great