-
Notifications
You must be signed in to change notification settings - Fork 11
Description
QDMI aims to be a uniform interface to various devices with different available properties and parameters to be set. While it tries to incorporate often-used properties and parameters after consolidation from the different devices, especially in the beginning, most likely also in the long run, there will be properties and parameters specific to some devices that are not covered by QDMI. To this end, QDMI provides enumeration values ..._CUSTOM_... at the end of almost all enumerations. However, there are two problems with the current approach:
- The number of custom properties and parameters is limited by the number of respective enumeration values provided by QDMI, five at the moment.
- Those custom properties and parameters do not convey any semantic information. When used in the device, driver, or client code, this makes the code less clear and comprehensible.
Regarding the latter point, note, that QDMI by design cannot provide this semantic information because custom properties and parameters only make sense in combination with a specific device.
So, it remains an open question: how can we facilitate custom properties and parameters while keeping the code clear and comprehensible?