Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Show available networks and connecting to wifi
Forum Updated to NodeBB v4.3 + New Features

Show available networks and connecting to wifi

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
6 Posts 3 Posters 826 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • supergS Offline
    supergS Offline
    superg
    wrote on last edited by
    #1

    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:

    Screen Shot 2023-01-05 at 01.05.38 AM.png

    Screen Shot 2023-01-05 at 01.06.04 AM.png

    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.

    TomZT 1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Embedded in what exactly ?
      Here you have macOS screenshots.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      supergS 1 Reply Last reply
      0
      • supergS superg

        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:

        Screen Shot 2023-01-05 at 01.05.38 AM.png

        Screen Shot 2023-01-05 at 01.06.04 AM.png

        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.

        TomZT Offline
        TomZT Offline
        TomZ
        wrote on last edited by
        #3

        @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.

        supergS 1 Reply Last reply
        0
        • SGaistS SGaist

          Hi,

          Embedded in what exactly ?
          Here you have macOS screenshots.

          supergS Offline
          supergS Offline
          superg
          wrote on last edited by
          #4

          @SGaist Sorry, I forgot to clarify. It's going to run in a Raspberry Pi. Yes, I posted those screens because I'm using a Macbook pro to work, but I'll have to install my app on a Raspberry Pi later on.

          1 Reply Last reply
          0
          • TomZT TomZ

            @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.

            supergS Offline
            supergS Offline
            superg
            wrote on last edited by
            #5

            @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.

            TomZT 1 Reply Last reply
            0
            • supergS superg

              @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.

              TomZT Offline
              TomZT Offline
              TomZ
              wrote on last edited by TomZ
              #6

              @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.

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved