状态与心跳

retained state 与业务 heartbeat。

  • 在线感知:订阅 retained state(第 3.6 节)。
  • 业务心跳:设备每约 30 秒发起 rpc heartbeat(第 9.1 节),平台可在应答中返回 serverTime 供对时。