The position enum for the device type being allocated (e.g. ThrusterPosition, LightPosition).
OptionalcmdFrontend-issued command. See DeviceConfigCmd.
OptionaldeviceThe device position targeted by cmd. Required for ASSIGN and INVERT_DIRECTION.
OptionalerrorBackend-reported error from the most recently rejected command. See DeviceConfigError.
OptionalknownThe set of device positions that have already been assigned to a physical device.
OptionalstateBackend-reported state of the allocation state machine. See DeviceConfigState.
OptionalunknownThe number of physical devices detected that have not yet been assigned a position.
Shared shape for the device allocation payload. The frontend sets
cmd(anddeviceIdwhere required); the backend reports progress back throughstate/errorCode/knownDevices/unknownCount.