检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
result_code 必选 Integer 参数解释: 设备的配置结果。 取值范围: 结果码定义如下: 0:处理成功。 其他整数:设备自定义异常。 description 可选 String 参数解释: 设备配置执行结果信息,可以返回具体配置失败原因。 示例 Topic: $oc/devices/{
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
参数说明:项目ID。获取方法请参见 获取项目ID 。 device_id 是 String 参数说明:下发消息的设备ID,用于唯一标识一个设备,在注册设备时由物联网平台分配获得。 取值范围:长度不超过128,只允许字母、数字、下划线(_)、连接符(-)的组合。 请求参数 表2 请求Header参数
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
version 必选 String 参数解释: 设备当前版本号(升级完成时上报的版本号要与上传软固件包时在平台设置的版本号一致)。 description 可选 String 参数解释: 升级状态描述信息,可以返回具体升级失败原因。 示例 Topic: $oc/devices/{de
创建产品,产品的“协议类型”选择“MQTT”。 图9 创建产品-M2M 在1中创建的产品下分别注册设备A(test111)和设备B(test222),详细步骤可参考注册单个设备。 图10 设备-注册M2M设备 您可以根据自己的业务场景来实现设备间消息通信。下面以MQTT.fx为例说明如何进行设备间消息通信:
设备标识码。 device_id 必选 String 参数解释: 设备ID。 name 可选 String 参数解释: 设备名称。 description 可选 String 参数解释: 设备描述。 manufacturer_id 可选 String 参数解释: 厂商ID。 model
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
调。 前提条件 已经注册华为账号并开通华为云,具体可参考华为账号注册。 已开通设备接入服务。 已在管理控制台创建MQTT协议类型的产品、开发产品模型、新增设备。创建产品、开发产品模型和新增设备的具体操作细节,请参考创建产品、开发产品模型、注册单个设备或批量注册设备。 已建立设备和
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
Explorer可以无码化快速调用接口,详细请参考在线调试。 API Explorer调试支持基础版、标准版和企业版。 登录后instance_id自动填充,无需用户输入。 多实例下需下拉选择对应实例ID,默认基础版。 使用API Explorer调试时接入地址对应所选择的实例ID,具体可参考平台对接信息。
设备标识。 device_id 必选 String 参数解释: 设备ID。 name 可选 String 参数解释: 设备名称。 description 可选 String 参数解释: 设备描述。 manufacturer_id 可选 String 参数解释: 厂商ID。 model
帮助快速构筑物联网应用,简化海量设备管理复杂性,节省人工操作,提升管理效率。使用设备接入控制台,可以实现对产品的创建、开发、调试,设备的注册、管理、鉴权、软固件升级。在设备接入控制台,可以创建规则引擎,满足用户实现设备联动和数据转发的需求;还可以存储产品和设备数据及生成相应统计报表,方便用户监控设备的各种状态。
定义产品模型,在物联网平台构建一款设备的抽象模型,使平台理解该款设备支持的服务、属性、命令等信息,如开关等。当定义完一款产品模型后,在进行注册设备时,就可以使用在控制台上定义的产品模型。 产品模型定义了服务能力: 服务能力 描述设备具备的业务能力。将设备业务能力拆分成若干个服务后
接入类型 鉴权方式 使用LwM2M/CoAP协议接入的设备 在设备接入物联网平台前,用户通过应用服务器调用创建设备接口或通过控制台在物联网平台注册设备。若为非安全设备,在设备接入物联网平台时携带设备唯一标识,完成设备的接入鉴权;当采用DTLS/DTLS+传输层安全协议接入时,即设备为
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
"65382450e8f64ac0870cd180d1...", "name": "cn-north-4", "description": "", "links": { "next": null,
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted