Post Go back to editing

iio_buffer_set_blocking_mode fails with -38 (ENOSYS)

Category: Software
Product Number: adalm pluto
Software Version: v0.39

I'm running pluto firmware v0.39 which has libiio v0.26 and libad9361 v0.3. I've compiled my app against pluto-0.39.sysroot. 

Everything was working fine, but then I went to put the rx buffer into non-blocking mode via iio_buffer_set_blocking_mode( rxbuf, false ) and it returns -38 which is ENOSYS

On older versions of libiio, a call to iio_buffer_set_blocking_mode() checked to see if rxbuf->dev->ctx->ops->set_blocking_mode existed, and if not, return -ENOSYS.

I'm unsure if iio_buffer_set_blocking_mode() is supported in libiio v0.26. I thought that 0.26 was changes that were going to make it into v1,.0 and hence iio_buffer_set_blocking_mode() was removed but then supported through the compatibility layer?

Is it supported?

Thread Notes

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.