Nuno Sá

Results 70 comments of Nuno Sá

Well, I saw that the class is minimal for now and it's very likely that all the ABI supported in the class will be present on the driver. That said,...

BTW, we also need a bindings file in here :)

> I've implemented most of the changes (2 remaining changes) you suggested but in the process I found some bugs which will take some time to hash out. Yeah, this...

v2: * Added the `--no-optional-locks'` to `getChanges()` where is also needed...

@ethancedwards8 , is this theme still maintained?

> As for error handling, I think we should get rid of errno codes completely... I guess we could always extend it... But anyways, if libiio was to only work...

> how do you differenciate between a parser error ("unknown command") and e.g. an attribute write ("unknown attribute") using standard errno? I do agree that in some cases there's no...

> Ok, let's take another example: ETIMEDOUT. You're running over the network, your iio_device_get_buffer() returned ETIMEDOUT. Can you tell me what happened? Well, I would just assume that I could...

I do not think `ETIMEDOUT` will be returned by the kernel both for `poll` or `recv`. As for the connection issue, the only thing I guess we can do is...

Ups, I wrongly closed this... Definitely it can be returned by the IIO driver (on accessing attributes files) and in that case I guess we could do some distinction regarding...