IoTClassTeacher kit · MQTT

Run sheet · MQTT Packet and Broker Features · 35 min

TimeTeacher doesLearners doLink
0–5 minShow the PUBLISH packet layoutName the three parts of a packetChapter
5–16 minDecode the fixed header and remaining length of one MQTT packetName the fields of a PUBLISH packetChapter
16–27 minCompare packet sizes for short and long topic namesEstimate the bytes a topic choice adds to every messageChapter
27–35 minAsk which field tells the broker how long the packet isState how topic length changes packet sizeChapter

If the lab fails: Decode the chapter's example packet by hand from its byte table. Camera off: Ask pairs to write the byte count of one packet.

Next move: If many learners ignore the remaining length bytes, decode the example again field by field.