Lab 6: CMake Nonblocking Epoll MQTT 3.1.1 Telemetry & Command Client
Encode and decode OASIS MQTT 3.1.1 binary control packets, implement QoS 0/1/2, Retained, LWT, and KeepAlive state machines, and integrate CMake + nonblocking epoll into a deterministic MQTT client.
Prerequisites in this module
What ./check.sh verifies
- Builds with -std=c11 -Wall -Wextra and no warnings.
- Encodes and decodes multi-byte base-128 Remaining Length and rejects 5-byte varint.
- Completes OASIS MQTT 3.1.1 CONNECT (with LWT) and SUBSCRIBE handshake.
- Publishes multi-byte QoS 1 telemetry packet and exchanges PINGREQ/PINGRESP.
Subscribe or sign in to unlock this graded lab
Part of GL-C03 — Advanced I/O, IPC & Network Sockets. Full access includes all 16 KSA Terminal courses across GL-C01..GL-C04, GL-E00..GL-E07 & GL-Q01..GL-Q04 (288 lessons, 96 TAP 13 graded labs, real Linux 6.12, C11 & C++20/Qt 6 captures, slide decks, printable PDF/HTML handbooks, and flashcards).
Annual All-AccessUS$349/yrsave 25% · 3 months free
Monthly All-AccessUS$39/moCancel any time · All 16 courses
Team (3+ seats)US$290/seat/yrCard or Net-30 PO invoice
Progress is saved on this device.