Diagnostic Extension
Ahsoka.Extensions.Diagnostics implements a Diagnostic Event Manager (DEM) for OpenPV applications — a central place to report, debounce, and query the pass/fail status of named diagnostic events, shared across every service and application component running on the device.
Like other OpenPV extensions, it follows the Ahsoka service pattern — functionality is exposed as an independent client/service pair your application talks to, rather than as a library you link directly against.
Table of Contents
Service
The extension registers a single Ahsoka service:
| Service | Client | Responsibility |
|---|---|---|
| DiagnosticService | DiagnosticServiceClient |
Tracks configured diagnostic events, applies debounce logic, and notifies clients when an event's state changes |
DiagnosticService is AutoStart — it starts alongside your application, and any service or
application code in the same package can report against it without further setup.
Events are configured up front (origin, name, and debounce behavior) in a
DiagnosticConfiguration.json deployed with your package; the service loads this once at startup
and tracks live state for every configured event from then on.
Where to Go Next
| If you want to | Read |
|---|---|
| Run something within ten minutes | Getting Started |
| Understand events, states, and debounce modes | Core Concepts |
| Browse the client and message API | API Reference |
Note
These documents ship inside the Ahsoka.Extensions.Diagnostics package, so what you are reading
always matches the package version installed in your project.