Skip to content

Installation - DaaSIoT SDK for ESP32 Devices

The DaaSIoT ESP32 SDK provides a wrapper interface for the static library libdaas.a enabling the integration of the DaaSIoT network layer on ESP32 devices and embedded projects. As of now, the ESP32 wrapper is only tested on PlatformIO IDE.

Option 1: Create a new project and add the following line to platformio.ini:

lib_deps = sebyone/DaaSIoT-ESP32

Option 2: On PlatformIO CLI, run the following command:

pio pkg install daasiot-esp32
This will install:

  • The ESP32 wrapper
  • All public headers required for DaaSIoT
  • Helper classes such as device_storage to interface with the filesystem.
  • The related version of the static librart libdaas.a

After the installation of the package, add the appropiate headers to your platformio project:

#include "dw_esp32.h"
#include "device_storage.h" // if needed