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.
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.