API recommendation?
Does anyone have recommendations for interacting with iwd programmatically? I'm trying to integrate a Python-based web back-end with iwd so that I can set up Wi-Fi client connections, report on available access points, etc. It's easy enough for me to shell out and use iwctl to set parameters, but its output is less than ideal for screen-scraping (which is admittedly a Bad Idea anyway). I've been looking to see if someone has put together an API, and I'm coming up empty. I would hate to try to reinvent the wheel, hence the question.
Thanks!
Hi,
Quoted 9 lines · Bruce Johnson
Does anyone have recommendations for interacting with iwd programmatically? I'm trying to integrate a Python-based web back-end with iwd so that I can set up Wi-Fi client connections, report on available access points, etc. It's easy enough for me to shell out and use iwctl to set parameters, but its output is less than ideal for screen-scraping (which is admittedly a Bad Idea anyway). I've been looking to see if someone has put together an API, and I'm coming up empty. I would hate to try to reinvent the wheel, hence the question.
DBus is the intended way to interact with IWD. You can find documentation for various APIs here:
https://git.kernel.org/pub/scm/network/wireless/iwd.git/tree/doc
Thanks,
James
Quoted 5 lines
Thanks!
_______________________________________________
iwd mailing list -- iwd(a)lists.01.org
To unsubscribe send an email to iwd-leave(a)lists.01.org
Thanks, this looks like what I need.