Skip to main content

Device SDK Overview

The Spotflow Device SDK is a library that enables you to connect your Devices to the Spotflow IoT Platform. The Device SDK provides the following features:

  • Simple interface: Instead of manually calling the Platform API and communicating via MQTT, you can use the provided libraries for Python and C.
  • Data persistence: All the Messages are temporarily stored in a local database file until they are successfully sent to the Platform. Therefore, you don't have to worry about losing data if connection fails or the Device restarts.
  • Connection handling: The Device SDK automatically reconnects to the Platform in the case of an Internet connection failure.


We currently compile the Device SDK for Linux, Windows, and macOS (macOS is now supported only in Python). Supported CPU architectures for each operating system are listed for each language: Python, C.

Contact us if you need the Device SDK for a different operating system and CPU architecture combination. It should be possible to compile the Device SDK for any operating system that supports the following:

  • File system: The local database file is essential for ensuring data persistence.
  • Threading: Multiple threads handle the connection in the background, making the public interface of the Device SDK simple.

Source Code

We're working on making the Device SDK open-source. If you want early access to the source code, contact us and describe your use case.