The node

This section covers the firmware for the integration test specifically the reimplementation of the (Arduino) APIs used in the Sming framework.

Most crucial here is that we don't in any way modify the firmware code itself. The only parts that we wish to change from the original firmware image for the ESP8266 MCU are the APIs that our own code interacts with.

This means that we have to first determine the APIs that our code interacts with and reimplement these in a way that is supported on the target (desktop) platform. For our ESP8266-based firmware, this means, for example, that the Wi-Fi network side is left unimplemented, as we are using the local network stack of the OS and therefore don't care about such details.

Similarly, the ...

Get Hands-On Embedded Programming with C++17 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.