数名(paraName);如果serviceId为空则由用户自定义属性格式。设属性示例:[{"service_id": "Temperature","properties": {"value": 57}},{"service_id": "Battery","properties":
字段名 必选/可选 类型 参数描述 service_id 必选 String 参数解释: 系统字段。 取值范围: 固定为:"$ota"。 event_type 必选 String 参数解释: 系统字段。 取值范围: 固定为:"version_report"。 event_time 可选
"service_type" : "temperature", "service_id" : "temperature", "description" : "temperature", "properties" : [ {
字段名 必选/可选 类型 参数描述 service_id 必选 String 参数解释: 系统字段。 取值范围: 固定为:"$log"。 event_type 必选 String 参数解释: 系统字段。 取值范围: 固定为:"log_config"。 event_time 可选 String
必选/可选 类型 参数描述 service_id 必选 String 参数解释: 系统字段。 取值范围: 固定为:"$file_manager"。 event_type 必选 String 参数解释: 系统字段。 取值范围: 固定为:"upload_result_report"。 event_time
必选/可选 类型 参数描述 service_id 必选 String 参数解释: 系统字段。 取值范围: 固定为:"$file_manager"。 event_type 必选 String 参数解释: 系统字段。 取值范围: 固定为:"get_upload_url"。 event_time
"service_type" : "temperature", "service_id" : "temperature", "description" : "temperature", "properties" : [ {
必选/可选 类型 参数描述 service_id 必选 String 参数解释: 系统字段。 取值范围: 固定为:"$file_manager"。 event_type 必选 String 参数解释: 系统字段。 取值范围: 固定为:"download_result_report"。
必选/可选 类型 参数描述 service_id 必选 String 参数解释: 系统字段。 取值范围: 固定为:"$file_manager"。 event_type 必选 String 参数解释: 系统字段。 取值范围: 固定为:"get_download_url"。 event_time
字段名 必选/可选 类型 参数描述 service_id 必选 String 参数解释: 系统字段。 取值范围: 固定为:"$ota"。 event_type 必选 String 参数解释: 系统字段。 取值范围: 固定为:"version_query"。 event_time 可选
必选/可选 类型 参数描述 service_id 必选 String 参数解释: 系统字段。 取值范围: 固定为:"$sdk_info"。 event_type 必选 String 参数解释: 系统字段。 取值范围: 固定为:"sdk_info_report"。 event_time
"object_device_id": "{object_device_id}" "service_id": "Temperature" } 上行响应示例 Topic:$oc/devices/{device_id}/sys/properties/get/response
字段名 必选/可选 类型 参数描述 service_id 必选 String 参数解释: 系统字段。 取值范围: 固定为:"$log"。 event_type 必选 String 参数解释: 系统字段。 取值范围: 固定为:"log_report"。 event_time 可选 String
login", deviceId); sendResponse(channel, message, 1); return; } // 调用网桥reportProperties接口,上报设备属性数据 BridgeService.getBridgeClient()
[ { "service_type" : "temperature", "service_id" : "temperature", "description" : "temperature", "properties" : [ { "unit"
ies { "services" : [ { "service_id" : "Temperature", "properties" : { "value" : 57
对各种场景提供了丰富的demo代码。相关集成指导请参考IoT Device SDK(C)使用指南。 使用说明 SDK需运行在Linux操作系统上。 SDK依赖openssl库和paho库,如果开发者有自己的编译链,需要自行编译openssl/paho/zlib/华为安全函数库等库文件。
对各种场景提供了丰富的demo代码。相关集成指导请参考IoT Device SDK(C)使用指南。 使用说明 SDK需运行在Linux操作系统上。 SDK依赖openssl库和paho库,如果开发者有自己的编译链,需要自行编译openssl/paho/zlib/华为安全函数库等库文件。
必选/可选 类型 参数描述 service_id 必选 String 参数解释: 系统字段。 取值范围: 固定为:"$sub_device_manager"。 event_type 必选 String 参数解释: 系统字段。 取值范围: 固定为:"delete_sub_device_request"。
必选/可选 类型 参数描述 service_id 必选 String 参数解释: 系统字段,固定为:"$sub_device_manager"。 event_type 必选 String 参数解释: 系统字段,固定为:"sub_device_update_status"。 event_time
您即将访问非华为云网站,请注意账号财产安全