How-to guides
Deployment setting (export)
KOFA can export the finished graph as a standalone program to the vehicle's machine (KOFA Lite). Some settings belong to the machine, not to the graph: an address, a name, a device id. Mark them:
public sealed record BluetoothSettings
{
[DeploymentSetting(Label = "Bluetooth name")]
[StringLength(32)]
public string DeviceName { get; init; } = "KOFA";
}
Effect
- On the Komod settings tab of the export, a field appears for it when the Komod is included in the package (according to the type,
[Description],[Range]and[StringLength]). - The value goes into the
komodOptionssection of the exportedapp.json. - The Lite host writes it over the instance's own setting at every start.
Supported types: string, integer, number, bool, enum.