The device.yml already specifies a defaultValue field. The python interface supports it via a "default" keyword in the field constructor:
https://github.com/harp-tech/python/blob/d32971f3feba5b537d21df955b9f12b242d4292b/src/packages/harp-protocol/src/harp/protocol/_payload.py#L107
It would be nice to honor it in the generated code too. The runtime already supports it. From a quick test it looks like C# already supports it.
The device.yml already specifies a
defaultValuefield. The python interface supports it via a "default" keyword in the field constructor:https://github.com/harp-tech/python/blob/d32971f3feba5b537d21df955b9f12b242d4292b/src/packages/harp-protocol/src/harp/protocol/_payload.py#L107
It would be nice to honor it in the generated code too. The runtime already supports it. From a quick test it looks like C# already supports it.