espressif/esp_service

0.5.0

Latest
uploaded 1 day ago
ESP Service is a three-layer service infrastructure providing a lifecycle base class, a dynamic service registry, and an optional MCP server for AI-agent tool invocation over multiple transports

changelog

# Changelog

## v0.5.0

### Features

- Initial version of `esp_service`
- `esp_service_t` lifecycle base class with `UNINITIALIZED → INITIALIZED → RUNNING ⇄ PAUSED` state machine
- Vtable-based subclassing via `esp_service_ops_t` (`on_init`, `on_start`, `on_stop`, `on_pause`, `on_resume`, low-power hooks)
- `esp_service_manager` dynamic service registry with batch `start_all` / `stop_all` and lookup by name or category
- Automatic JSON-schema tool discovery and dispatch via `esp_service_manager_invoke_tool()`
- Optional MCP (Model Context Protocol) 2024-11-05 server (`CONFIG_ESP_MCP_ENABLE`)
- Pluggable MCP transports: HTTP, SSE, WebSocket, UART, STDIO, SDIO
- Per-service `adf_event_hub_t` for publish/subscribe domain events

Links

Supports all targets

License: Custom

To add this component to your project, run:

idf.py add-dependency "espressif/esp_service^0.5.0"

download archive

Stats

  • Archive size
    Archive size ~ 208.21 KB
  • Downloaded in total
    Downloaded in total 0 times
  • Downloaded this version
    This version: 0 times

Badge

espressif/esp_service version: 0.5.0
|