Skip to content
michael.caisse.io michael.caisse.io
c++ embedded library

Message Handling in Embedded: A Declarative Modern C++ Approach

Messages are everywhere. This declarative library is what you have been looking for.

M

Michael Caisse

60 minutes

Event: emBO++

Abstract

A common characteristic of embedded systems is that they have a broad interface surface interacting with many distinct devices. Often the interfaces support a message passing protocol. This is true at the device-to-device level with implementations on I2C, SPI, and CAN as well as deeply embedded systems communicating within a chip package. Often the structure and semantics of a message depend on the value of a series of bits within the packet. In event driven designs, messages are filtered and routed to proper handlers.

This talk will explore a declarative approach to solving common problems with message handling: bit map fields, filtering, and dispatching to handlers. The solution is sensitive to small footprint embedded targets yet fairly flexible.

Play the video