Lab 3: GPIO Pin-Contention Guard, +IPD/CRC16 IoT Framer & Shadow State Reconciler
Diagnose hardware GPIO pin contention between board LED/KEY lines and external UART-to-Wi-Fi (ESP8266 AT) IO0/RST bootstrap pins versus native Linux wlan0 sockets, parse cloud JSON device rosters via QJsonDocument with Bearer token authentication and idempotent command framing, and reconcile optimistic HMI switch intent against confirmed device shadow state, monotonic heartbeats, and bounded retry queues.
Prerequisites in this module
What ./check.sh verifies
- Builds libcore.a and lab_cli cleanly with -std=c++20 -Wall -Wextra -Werror -pedantic.
- Fix compiler warnings or errors in files/core.cpp.
- Archives core.o into libcore.a and links independent TAP verifier.
- Preserve public declarations in files/core.hpp so tests.cpp links.
Subscribe or sign in to unlock this graded lab
Part of GL-Q04 — Embedded OpenCV 4 Vision, USB Bluetooth, Voice/IoT & Video Surveillance Projects. 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).