DevelopersDocumentation

Kiiroo Control SDK

The Kiiroo Control SDK allows easy connection and control of Kiiroo devices via Bluetooth. This SDK is designed to interact with devices using the Bluetooth Low Energy (BLE) protocol and supports a wide range of features, including battery level monitoring, device control, and over-the-air (OTA) firmware updates.

Key Features:

These features make Kiiroo devices easy to use for both end-users and developers, providing simple ways to control and configure them.

Modes supported by the device:

Key Control Commands:

SDK Structure

Supported Bluetooth Mode:

BLE Services and Characteristics

The SDK utilizes BLE services and characteristics to communicate with and control the device. Below are the key services and their respective characteristics:

OTA (Over-The-Air) Firmware Update

Although the SDK focuses on Bluetooth Control Mode, it also provides functionality for over-the-air (OTA) updates to keep the device firmware up-to-date.

Working with MTU (Maximum Transmission Unit)

By default, the MTU for BLE communication is 23 bytes across Android, iOS, and Windows. To optimize the performance of data transmission, especially during OTA updates, the MTU can be negotiated to a larger size, up to 255 bytes, to reduce the transfer time for large data packets.

React and React Native SDK Support

This SDK is compatible with both React and React Native, providing flexibility for developers working on web or mobile applications:

Key Development Scripts

Both SDKs come with a set of useful development scripts for building, testing, and linting:

Example Workflow

  1. Connecting to a Device:
    • Scan for available BLE devices.
    • Connect to the device via Bluetooth Control Mode.
  2. Reading Device Information:
    • Retrieve the device’s manufacturer, model, serial number, and battery level using the appropriate GATT characteristics.
  3. Controlling the Device:
    • Send commands via the Toy Control Service to adjust device settings, such as triggering vibration modes or resetting the device to factory settings.
  4. Performing OTA Updates:
    • Use the OTA characteristics to upload new firmware to the device, ensuring it is up-to-date with the latest features and improvements.

GitHub Repo

Kiiroo Control Bluetooth Service for React

Kiiroo Control Bluetooth Service for React Native


This SDK offers comprehensive BLE control for Kiiroo devices, including full device management through Bluetooth Control Mode, battery monitoring, and firmware updates.