SiLabs Simplicity SDK

This guide explains how to integrate the Hubble Device SDK into a Simplicity SDK (SiSDK) project. The SDK ships as a Simplicity SDK extension (hubble-network.hubble-device-sdk). Projects add it through their .slcp file, and the SLC tooling pulls in the SDK sources, include paths, and configuration.

See also

This page covers Simplicity SDK setup and adding the Hubble components. For a complete, end-to-end satellite dual-stack application on SiLabs FreeRTOS, see the SiLabs (FreeRTOS) Integration Guide.

Prerequisites

  • For the Hubble Terrestrial (BLE) Network: a Silicon Labs board with Bluetooth® Low Energy support.

  • For the Hubble Satellite Network: a satellite-capable board (see Supported Devices and SDK Version).

  • The Hubble Device SDK cloned or added as a submodule.

  • Device key (generated when you register a new device to your organization through the Hubble Cloud API).

Set the following environment variables before continuing, e.g.:

export SISDK=/path/to/simplicity_sdk
export SLC=/path/to/slc_cli/slc
export COMMANDER=/path/to/commander
export HUBBLE_SDK=/path/to/hubble-device-sdk

Tip

See Useful paths for where Simplicity Studio and SLT install these tools.

Installing the Extension

  1. Go to Settings → SDKs and select the Simplicity SDK version you want to use.

  2. Click Add Extension, then Browse to the directory where you cloned the Hubble Device SDK, and click Finish.

  3. In the Verify SDK Extensions dialog, click Trust.

Adding Hubble Network to a Project

  1. Open your project’s .slcp file to launch the Project Configurator.

    Opening the project's .slcp file in Simplicity Studio
  2. Go to Software Components and search for Hubble.

    Searching for Hubble in Software Components
  3. Select the component for the network you want and click Install. Install both for a dual-stack application:

    • Hubble Device SDK Terrestrial (BLE) (under Hubble → BLE)

    • Hubble Device SDK Satellite (under Hubble → Satellite)

    Installing the Hubble Device SDK Component

Configuration

The SDK is configured through hubble_config.h (common options) and hubble_sat_config.h (satellite options). See $HUBBLE_SDK/port/sisdk/ for the available options and their defaults.

In the Project Configurator, open Software Components, select the component and click Configure:

  • Hubble Device SDK Common (under Hubble) for the common options.

  • Hubble Device SDK Satellite (under Hubble → Satellite) for the satellite options.

Configuring the Hubble Device SDK Component

Building and Running Your First Application

The following steps build and flash the ble-beacon sample. Replace brd4187c with your target board.

Embed the device key and the current time into the sample sources:

cd $HUBBLE_SDK/samples/freertos/silabs/ble-beacon
$HUBBLE_SDK/tools/embed_key_time.py -b master.key -o src/

Generate a Simplicity Studio project:

$SLC generate --sdk $SISDK -tlcn gcc -np -p ble_beacon.slcp \
    -d /path/to/workspace/ble-beacon --with brd4187c

Then in Simplicity Studio go to PROJECTS → Open Project(s), select the generated ble-beacon directory, and build and flash as usual.

See the sample’s README.md for key formats and troubleshooting.