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 PeripheralViewPropsFields
| Name | Type | Description |
|---|---|---|
name | string | Peripheral name as reported by the machine (e.g. "kmu", "uicr"). |
events | PeripheralEvent[] | All peripheral events seen so far; the view filters for the ones it cares about. |
refreshKey | number | Monotonic counter that increments whenever new events arrive. |
getSnapshot | () => PeripheralSnapshot | null | Pull the current snapshot for this peripheral (null if unavailable). |
sendCommand | (cmd: { name: string; params: Record<string, string> }) => void | Send a command to this peripheral's inspector. |