~/talk

Implementing a Modern C++ MQTT Client for Embedded Devices

Talkat CppCon 2016 · 2016-09-18..09-23· [embedded-and-hardware, networking]
links:none on file
slides:none on file

A C++14 MQTT client for tiny embedded targets is implemented using Boost.MSM state machines, Spirit parsers and a poor-man type eraser to keep the state machine type-free. The prototype runs on a Nordic BLE board, compiles with -Os, and proves surprising size results: 5 KB for exception support can be removed, the Spirit grammar costs just over 3 KB, and adding one submachine is ~28 bytes. The library works and will appear on GitHub.

AI-written summary · about

  1. 0:00Introduction to embedded MQTT
  2. 1:23MQTT and embedded systems
  3. 7:48Challenges of C++ in embedded
  4. 11:26Designing an asynchronous client
  5. 17:56Project implementation setup
  6. 20:17Optimizing code with C++ features
  7. 40:18Parsing with Boost Spirit
  8. 51:36Conclusions and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.