Create a new field ("type") in the XML that describes the the type of the attribute and other metadata.
Modify the xml_gen to populate the field mentioned above. In order to detect the type of an iio attribute the board will be queried (brute-force).
Every time an attribute is modified, check its type.
Create a new field ("type") in the XML that describes the the type of the attribute and other metadata. Modify the xml_gen to populate the field mentioned above. In order to detect the type of an iio attribute the board will be queried (brute-force). Every time an attribute is modified, check its type.