AnsweredAssumed Answered

Unable to print the values of attributes of ad9361 using libiio linux drivers

Question asked by sushant714 on Jun 24, 2018
Latest reply on Jun 25, 2018 by larsc

I am using the function to determine the attributes defined under context and devices.

I am using the command 

__api int iio_context_get_attr(const struct iio_context ctx,
unsigned int index,
const char ** name,
const char ** value 


for getting the name and value of the attribute for the given index. The return value of the function shows a success in reading the values. When I try to print the values of char** it always shows me a segmentation fault (core dumped), I have also tried various methods to read char** given in other forums.


Can someone help me with this? Thank You