The Embever IoT library depends on the CWPack library written by Claes Wihlborg (available here). To use it you just need to build this library (one source and three header files) together with Embever IoT library.

Install as an Arduino library

There are several ways to use the Embever IoT library with Arduino but this document is going to show the most frequent way: adding it as an external library. In this way, any Arduino sketch will be able to use it.

The Embever IoT library is distributed on GitLab where it can be downloaded as a compressed file (to get more information about handling compressed libraries in Arduino IDE please refer the following article). Installing it straight from arduino-cli is also possible with arduino-cli lib install command and using a remote repository URL or a compressed file as parameter. For more information follow this link.

Verifying the installation

To make sure that the libraries are ready to use, try to compile one of the sample application. They can be found between the Arduino sample applications.