bluerobotics / BlueOS

The open source platform for ROV, USV, robotic system operation, development, and expansion.
https://blueos.cloud/docs/
Other
168 stars 80 forks source link

frontend: wifi: display status of the network connection procedure #668

Open patrickelectric opened 3 years ago

patrickelectric commented 3 years ago

We could inform what is the status of connection while doing it image

rafaellehmkuhl commented 3 years ago

With our currently wpa_supplicant interface, this would demand a really hard work, since we are not using the events interface, but only fetching on demand.

I was taking a look at alternatives some days ago and found this library which could be a great substitute for what we currently have and also facilitate the introduction of such features.

khancyr commented 2 years ago

why not get rid of wpa_supplicant and use network-manager with the XML-RPC call ? it is really performant and simple to do in python even without python-networkmanager !

rafaellehmkuhl commented 2 years ago

why not get rid of wpa_supplicant and use network-manager with the XML-RPC call ? it is really performant and simple to do in python even without python-networkmanager !

Hey khancyr! What's up?

I'm also in favor of getting rid of the wpa_supplicant layer! It's a rework we should do at some point.

I was taking a look at XML-RPC calls. Really cool! Didn't know about them. Does network-manager have an XML-RPC server?

Another good alternative is the iwutil module on pyroute2. While refactoring part of our ethernet manager (which uses pyroute2) I noticed their IW module is already very mature.