vemu.

interface

PeripheralViewProps

Uniform props every peripheral inspector view receives. Domain-specific views (KMU, UICR) and the generic fallback all implement this interface, so adding a new view is: write a component matching these props + register it in peripheralViews.tsx.

interface PeripheralViewProps

Fields

NameTypeDescription
namestringPeripheral name as reported by the machine (e.g. "kmu", "uicr").
eventsPeripheralEvent[]All peripheral events seen so far; the view filters for the ones it cares about.
refreshKeynumberMonotonic counter that increments whenever new events arrive.
getSnapshot() => PeripheralSnapshot | nullPull the current snapshot for this peripheral (null if unavailable).
sendCommand(cmd: { name: string; params: Record<string, string> }) => voidSend a command to this peripheral's inspector.