Read an IIO attribute
sdr_read_attributeRead any IIO attribute by name to access settings not covered by other tools. Use device list for valid names; append '_available' to see legal values.
Instructions
Read any single IIO attribute by name - an escape hatch for anything the other tools do not cover. Use sdr_list_devices to find valid names. Reading an attribute called '_available' shows the legal values for ''.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | Yes | Device name, e.g. 'ad9361-phy' | |
| output | No | True for an output channel | |
| channel | No | Channel id, e.g. 'voltage0'. Omit for a device-level attribute. | |
| attribute | Yes | Attribute name, e.g. 'rf_bandwidth' | |
| response_format | No | markdown for reading, json for structured output | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |