IoTClassTeacher kit · MQTT

Run sheet · MQTT Session Management · 35 min

TimeTeacher doesLearners doLink
0–5 minShow the session state diagramState what keep-alive measuresChapter
5–15 minShow what a persistent session keeps while a device sleepsDecide between a clean and a persistent session for a sleeping deviceChapter
15–26 minWalk through keep-alive and how the broker notices a silent clientPredict how long a silent client stays connectedChapter
26–35 minAsk what the broker still holds after a disconnectChoose a session type and a queue limit for a battery deviceChapter

If the lab fails: Use the chapter's session state tables to trace a sleep and reconnect on paper. Camera off: Collect each pair's session choice and the reason in writing.

Next move: If many learners reuse one client ID everywhere, revisit what the broker keys a session on.