Examples
Browse end-to-end examples that show the SDK in action. Each example is small-ish and focused, designed to make a single integration pattern easy to read and adapt. The examples are not meant to be production-grade applications, so they may lack proper error handling and more.
All examples live in the $ROKOKO_SDK_HOME/examples folder and sub-folders.
We recommend you explore the examples folder thoroughly as it may contain extra and updated examples not listed here.
Basic RCSP Client (Python) Minimal Python script that connects to an RCSP server, lists the attached devices, and queries info for the first one.
Network configuration script (Python) Python script that connects to an RCSP server, and gets/sets the network configuration on the device.
RGMP v2 Streaming Client (Python) Python script that subscribes to an RGMP v2 server and streams matched values as pipe-friendly, delimited rows.
Firmware Update (Python) Python script that runs an UpdateFirmware flow end-to-end — subscribes to UpdateFwEvents, sends the command, and renders live progress until Done or Failure.
Set LED Color (Python) Minimal Python script that sets the RGB color of an LED on a connected device via SetColorLed.
Button Click (Python) Minimal Python script that subscribes to the ButtonPushed device event via DeviceSubscribe and prints each press type.
Web apps (browser)
Section titled “Web apps (browser)”Browser-based reference apps built with Vite + React. They talk to the driver
through the rkk-ws-bridge relay, so start with the
overview & setup — it covers the architecture and the order to
start the driver, bridge, and app in.
Web apps: overview & setup Architecture and shared setup for both browser apps: prerequisites, install, and the driver → bridge → app run sequence.
RCSP Console Browser console for driving an RCSP server: send commands and watch responses and events live.
RGMP v2 Viewer Browser viewer for the live RGMP v2 stream, with per-device cards, measured rates, and a 3D hand visualization.