esp-openclaw-node/examples/README.md
2026-04-14 18:32:58 +05:30

1.9 KiB

Examples

This directory contains the example applications in this repository and the shared source they build on.

Available Examples

Directory Structure

  • common/ Shared source used by more than one example. This is not a standalone example.
  • esp32-node/ The generic ESP32 example.
  • esp-box-3-display/ The ESP-BOX-3 example.

Naming Convention

  • *_node_cmd.c OpenClaw Node command handlers and the function that registers those commands with the node.
  • *_repl_cmd.c REPL command handlers and the function that registers those commands with the console.
  • Other .c files Helper code, board setup, runtime services, or the main application entry point.

The public esp_openclaw_node API passes command parameters as raw JSON text. The examples parse that text with cJSON explicitly inside the example sources.

Common Directory

The shared files under common/ are split the same way: