Table of Contents

Control Extension

Ahsoka.Extensions.Control adds CAN and IO to applications running on Enovation Controls OpenView displays. It covers two independent surfaces: raw and J1939 CAN messaging over the device's CAN ports, and the onboard digital/analog IO, buzzer, battery, and ignition sensing.

Like other OpenPV extensions, it follows the Ahsoka service pattern — functionality is exposed as independent client/service pairs your application talks to, rather than as a library you link directly against hardware.

Table of Contents

Services

Platform Support

Plugins

Where to Go Next

Services

The extension registers two independent Ahsoka services:

Service Client Responsibility
CanService CanServiceClient Raw and J1939 CAN messaging: send/receive, address claim, transport protocol, filtering, bus diagnostics
IOService IOServiceClient Digital/analog inputs and outputs, buzzer, battery/rail voltages, ignition state, core temperature, reboot reason

Both are registered with AutoStart behavior in the extension's .extensioninfo.json, so they start alongside your application. You do not start them yourself; you only construct the clients you want to talk to.

The two services are genuinely independent — an application that only reads IO never touches CanServiceClient, and one that only talks CAN never touches IOServiceClient.

Platform Support

Both services select their real implementation at runtime based on the hardware they are running on. You write against CanServiceClient/IOServiceClient once; the extension picks the platform implementation underneath:

Platform CAN IO
Desktop (Windows/macOS/Ubuntu) ECOM USB-CAN adapter (Windows) or a mock implementation Mock implementation
OpenView (CM4, Linux) Linux SocketCAN, or the embedded coprocessor depending on port configuration Runs directly on Linux — no coprocessor bridge
OpenView Pro (CA91) Embedded coprocessor Embedded coprocessor

The mock/desktop implementations let you build and exercise application logic on a development machine with no CAN or IO hardware attached — see Getting Started.

Plugins

CanService hosts three optional service plugins, requested by an application via the Ahsoka plugin registration mechanism rather than started automatically:

Plugin Purpose
CanLocationPlugin Decodes NMEA 2000 GNSS position messages carried over CAN
CruisePlugin Cruise control integration
PdmPlugin Power Distribution Module integration

These are opt-in — an application that never requests one never pays for it.

Where to Go Next

If you want to Read
Run something within ten minutes Getting Started
Understand the Ahsoka service pattern, ports, and platform selection Core Concepts
Subscribe to and handle asynchronous events from either service Notifications
Browse the client and message API API Reference
Note

These documents ship inside the Ahsoka.Extensions.Control package, so what you are reading always matches the package version installed in your project.