检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
is a thermometer produced by Huawei", "service_capabilities" : [ { "service_type" : "temperature", "service_id" : "temperature",
"memoryCheckReportPeriod": 24, "batteryPercentageCheck": 1, "batteryPercentageReportPeriod": 24, "batteryPercentageThreshold": 20 }, "service_id":
字段名 必选/可选 类型 参数描述 services 可选 List<ServiceEvent> 参数解释: 事件服务列表。 ServiceEvent定义表 字段名 必选/可选 类型 参数描述 service_id 必选 String 参数解释: 系统字段。 取值范围: 固定为:"$log"。
DownLinkHandler downLinkHandler = new DownLinkHandler(); bridgeClient.setBridgeCommandListener(downLinkHandler) // 设置平台命令下发监听器
{@code * @Override * public TdpFuncResult apiHandle(FunctionGraphPara para, Context context) { * return super.apiHandle(para
orizer-name={authorizer-name}|authorizer-signature={token-signature}|signing-token={token-value} 示例: 659b70a0bd3f665a471e5ec9_auth|authorize
= 0: logger.error('init failed') return service_property = ServiceProperty() service_property.service_id = 'smokeDetector'
* 100.0f); ServiceProperty serviceProperty = new ServiceProperty(); serviceProperty.setProperties(json); serviceProperty.setServiceId("smoke
成指导请参考设备侧 IoT Device C SDK使用指南。 使用说明 SDK需运行在Linux操作系统上。 SDK依赖openssl库和paho库,如果开发者有自己的编译链,需要自行编译openssl/paho/zlib/华为安全函数库等库文件。 对于使用MCU+模组形式接入的部分设备,请使用C
该参数目前暂未实装使用,无需填写。 services 可选 List<ServiceEvent> 参数解释: 事件服务列表。 ServiceEvent定义表 字段名 必选/可选 类型 参数描述 service_id 必选 String 参数解释: 系统字段。 取值范围: 固定为:"$sub_device_manager"。
该参数目前暂未实装使用,无需填写。 services 可选 List<EventService> 参数解释: 事件服务列表。 EventService定义表 字段名 必选/可选 类型 参数描述 service_id 必选 String 参数解释: 系统字段,固定为:"$sub_device_manager"。 event_type
说明 caCert CaCertPara 设备CA证书信息。 deviceCert List<DeviceCertPara> 设备证书信息。 表8 CaCertPara 名称 类型 说明 subjectCnName String 证书使用者CN NAME。 caCertName String
该参数与Topic中的device_id一致。 services 可选 List<ServiceEvent> 参数解释: 事件服务列表。 ServiceEvent定义表 字段名 必选/可选 类型 参数描述 service_id 必选 String 参数解释: 系统字段。 取值范围: 固定为:"$sub_device_manager"。
"name" : "Thermometer", "device_type" : "Thermometer", "protocol_type" : "LWM2M", "data_format" : "binary", "manufacturer_name" : "ABC"
该参数目前暂未实装使用,无需填写。 services 必选 List<ServiceEvent> 参数解释: 事件服务列表。 ServiceEvent定义表 字段名 必选/可选 类型 参数描述 service_id 必选 String 参数解释: 系统字段。 取值范围: 固定为:"$sub_device_manager"。
如何选择合适的操作系统 选择物联网操作系统要综合考量硬件资源限制、功耗要求、网络连接需求、开发与维护成本、安全性、生态系统扩展性等因素,以下是两种华为开发的操作系统的简单介绍。 LiteOS是一种轻量级物联网操作系统,广泛适用于各种资源受限的场景,尤其适合智能家居、可穿戴设备、车
"name" : "Thermometer", "device_type" : "Thermometer", "protocol_type" : "MQTT", "data_format" : "json", "manufacturer_name" : "ABC"
以win10为例,获取电脑的系统配置:在运行窗口中输入pc,然后单击“属性”,查看系统配置,因为后续安装软件要选择操作系统。 图3 获取系统配置 访问 这里 ,根据您电脑系统配置,下载匹配的Visual Studio Code并安装。(本文以windows 10 64-bit系统Visual Studio
ServiceProperty serviceProperty = new ServiceProperty(); serviceProperty.setProperties(json); serviceProperty.se
以win10为例,获取电脑的系统配置:在运行窗口中输入pc,然后单击“属性”,查看系统配置,因为后续安装软件要选择操作系统。 图3 获取系统配置 访问 这里 ,根据您电脑系统配置,下载匹配的Visual Studio Code并安装。(本文以windows 10 64-bit系统Visual Studio