检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
值(温度) 上报数据 0s 100℃ 100℃ 10s 100℃ - 20s 100℃ - 30s 100℃ 100℃(30s) 场景示例 场景1:变更检测 SilentWin = 35s,Deviation = 0% 在35秒的时间窗口内,相同的值将不进行上报。在值有变化之后,将会上报当前值。示例如下:
update_sub_device_status(); sleep(1); sync_sub_devices(); // 这里是为了使应用能够长时间运行 while (1) { sleep(1000); } } void driver_demo()