检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
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
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
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
参数说明:条件中简单定时类型的信息,当type为SIMPLE_TIMER时,为必选参数。 daily_timer_condition DailyTimerType object 参数说明:条件中每日定时类型的信息,当type为DAILY_TIMER时,为必选参数。 device_linkage_status_condition
参数说明:条件中简单定时类型的信息,当type为SIMPLE_TIMER时,为必选参数。 daily_timer_condition 否 DailyTimerType object 参数说明:条件中每日定时类型的信息,当type为DAILY_TIMER时,为必选参数。 device_linkage_status_condition
超时。 低配置且资源受限或者对网络流量有要求的设备,不适合直接构造JSON数据与物联网平台通信时,可将原始二进制数据透传到物联网平台。通过开发编解码插件实现二进制数据到平台定义JSON格式的转换。 Topic 下行: $oc/devices/{device_id}/sys/pro
则。 验证操作 您可以使用配置设备接入服务时注册的真实设备接入平台,上报任意数据。 您也可以使用模拟器模拟设备上报数据,操作方法请参考在线开发MQTT协议的智慧路灯。 期望结果: 登录OBS的管理控制台,单击进去2中创建的桶,再单击进去3中创建的文件夹可以看到最新由DIS转发至OBS的数据。
启动规则-转发至Kafka 验证操作 您可以使用配置设备接入服务时注册的真实设备接入平台,上报任意数据。 您也可以使用模拟器模拟设备上报数据,操作方法请参考在线开发MQTT协议的智慧路灯。 期望结果: 登录Kafka管理控制台,单击Kafka实例名进入实例管理页面后,在“消息查询”页面可以查看到设备上报的数据。
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
"paras": { "areaIds": [ 1 ] } } 请求参数 paras字段同协议中消息的映射关系 表23 参数描述 字段名 类型 协议字段 参数描述 areaIds stringList 区域ID列表 /
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
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
必选/可选 类型 参数描述 successful_devices 必选 List<DeviceInfo> 参数解释: 成功新增的子设备列表详情。 failed_devices 必选 List<Reason> 参数解释: 新增子设备失败的原因。 DeviceInfo定义表 字段名 必选/可选
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
图1 业务流程图 使用场景 通过设备证书触发自动注册,免去走设备发放流程。 对于车联网场景,车机启动设备即上线,使用自注册可以减少车端应用侧开发。 对于大企业客户购买多个IoTDA实例,使用自注册功能可以免去设备提前在不同实例上发放注册。 使用限制 单账号下自注册模板最多可以创建10个。