Show available networks and connecting to wifi
-
Hi!
I'm developing a software that is intended to be embedded. I have to manage Wi-fi connection through my app and I was thinking of making a menu where I can see all wifi networks in range and choose whichever I want to connect to. Then a dialog should pop up and let the user write a password if needed. Like this:The problem is that the class "QNetworkConfigurationManager" is deprecated, and I have only found solutions that use this library (and a few others that have suffered the same fate).
Can anyone help me with this? It's a crucial functionality of my software and setting network connections in the "tradicional" way (a.k.a using the O.S wifi menu) is not an option.
Thanks to all in advance. -
Hi,
Embedded in what exactly ?
Here you have macOS screenshots. -
Hi!
I'm developing a software that is intended to be embedded. I have to manage Wi-fi connection through my app and I was thinking of making a menu where I can see all wifi networks in range and choose whichever I want to connect to. Then a dialog should pop up and let the user write a password if needed. Like this:The problem is that the class "QNetworkConfigurationManager" is deprecated, and I have only found solutions that use this library (and a few others that have suffered the same fate).
Can anyone help me with this? It's a crucial functionality of my software and setting network connections in the "tradicional" way (a.k.a using the O.S wifi menu) is not an option.
Thanks to all in advance.@superg said in Show available networks and connecting to wifi:
It's a crucial functionality of my software and setting network connections in the "traditional" way (a.k.a using the O.S wifi menu) is not an option.
There are many different ways to list, select and manage wifi networks. Only on Linux you'll find a dozen. As you indicate you are using "embedded" I'm afraid your answer will not lie on this forum. You're going to have to find out what that "embedded" system uses.
-
@superg said in Show available networks and connecting to wifi:
It's a crucial functionality of my software and setting network connections in the "traditional" way (a.k.a using the O.S wifi menu) is not an option.
There are many different ways to list, select and manage wifi networks. Only on Linux you'll find a dozen. As you indicate you are using "embedded" I'm afraid your answer will not lie on this forum. You're going to have to find out what that "embedded" system uses.
-
@TomZ The app it's going to be running in a Raspberry Pi. I saw there are some commands that could help with this but I was asking if there's a way of developing this functionality using a Qt Library.
@superg As I pointed out, there are a lot of different ways this works. Just saying which hardware you are running doesn't narrow down which distro or which wifi stack you are using.
You need to do the research on what wifi manager there is and which libraries they use. Maybe there is a Qt solution for it.