// specifications

OneWili API

OneWiliAPI
One API — every language, host or on-device

OneWili is one API for everything FREE-WILi — generated directly from the firmware sources, so the bindings are always in sync with the device. The same commands, with the same names and signatures, drive FREE-WILi 2 from a host PC or the onboard Linux CM0 in Python, Rust, and C/C++.

The very same API surface runs on the device itself: rThon scripts, sandboxed WASM guests written in C or Rust, and WiliBSP for building your own firmware on the display CPU. Learn it once, use it everywhere — from quick host-side scripts to real-time embedded control.

Everything is organized by subsystem: dev.io (GPIO, UART, I2C, SPI, CAN FD, analog in/out, logic analyzer & player, sensors, audio), dev.gui, dev.wireless (NFC, WiFi, BLE, IR), dev.scripting, dev.hardware, and more.

Read the OneWili API documentation — getting-started guides for every language and the full command reference.

Key facts

On host
Python, Rust, C/C++
On device
rThon, WASM, WiliBSP
Generated
from firmware — always in sync