cancel
Showing results for 
Search instead for 
Did you mean: 

Usage of iio_readdev application for IIO triggered buffer

bhagis
Visitor

I am able to read the IIO triggered data through hexdump utility on my device.

# hexdump -e '"iio0 :" 8/2 "%04x " "\n"' /dev/iio:device1
iio0 :036b 0368 0358 0369 0369 036b 0369 036b
iio0 :036c 0368 036b 0368 036f 0370 036e 036b
iio0 :0b62 0b6a 0b68 0b5f 0b6c 0b70 0b6d 0b6d
iio0 :0b6d 0b71 0b6a 0b6b 0b71 0b6e 0b70 0b6d
^C
#


However when I am trying to use the ./iio_readdev application then I am getting the context creation error.

./iio_readdev /sys/bus/iio/devices/iio:device1

Unable to create IIO context
#

It seems local context is not getting created even though configuration is correct.

Seems some improper usage of application or some more configuration missing for its usage

I am using it for local context creation as it ./iio_readdev is running on target device itself.

Any help of its usage will be appreciated ?

0 REPLIES 0