SimBLE API Explorer

every android::* member, documented — and most of them runnable, one line of Rhai at a time starting…

new constructor · get property · fn method · cb callback · doc reference table Execute evaluates the line in the live session Copy line — real API, but this page hosts only the peripheral half

Live session

device
no server yet
connection
—
bound objects
none yet

Create a server, then add services and characteristics.

Execution log

Each Execute appends the generated Rhai, its return value, and any events fired.

netsim is not reachable

Could not reach netsim at localhost:7681 — is netsimd running with its WebSocket frontend enabled? The API Explorer works fully offline: you can build and inspect a device without netsim. Connect to expose it on the scene. Start netsim with:

netsimd --logtostderr --no-shutdown --ws-port 7681

Needs the canary-channel emulator. Once connected, the device you assemble here advertises on the scene — open the scanner in another tab to see it.