ret = iio_device_attr_write_raw(tx,
"filter_fir_config", filter_buf, filter_len);
What is tx?
Can you print your buf to console?
Why are you trying to do direct register access?
- if you are modifying registers your own - the driver may not work anymore.
Please use the driver API.
-Michael