Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Getting Started with the Device SDK

Welcome to the Device SDK tutorial! This guide will walk you through building and connecting your first device to the Mir IoT Hub.

🎯 What You’ll Learn

  • Core concepts and structure of a Mir device
  • How to establish secure device communication
  • Implementing telemetry data streaming
  • Handling remote commands
  • Handling configuration via properties
  • Using the Mir CLI to manage your devices

By the end of this tutorial, you’ll have a fully functional device connected to Mir and understand the fundamental patterns for device or software integration.

📋 Prerequisites

Before starting:

  1. A running instance of the Mir Server
  2. The Mir CLI tool installed
  3. Basic familiarity with Go programming

Follow the Running Mir Setup guide to prepare your environment.

🔧 SDK Language Support

Currently, the SDK is available for:

  • Go

Coming soon:

  • Python
  • C/C++
  • Additional languages based on community needs

Let’s begin building your first Mir device.