analogdevicesinc / libiio

A cross platform library for interfacing with local and remote Linux IIO devices
http://analogdevicesinc.github.io/libiio/
GNU Lesser General Public License v2.1
471 stars 309 forks source link

Better backend API #1138

Closed pcercuei closed 3 months ago

pcercuei commented 5 months ago

Modify/add functions:

With these changes, the XML backend was updated to be fully implemented on top of the public API (be it iio.h or iio-backend.h) and does not use iio-private.h anymore.

In theory, the local backend could do that too but it's a lot more work (due to how it currently creates the context).

The code should be considered very experimental, it was not thoroughly tested.

buha commented 5 months ago

@pcercuei you may merge this

pcercuei commented 5 months ago

Only people from ADI can merge 🙃

pcercuei commented 3 months ago

Gentle ping.