🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Get RSSI on connected WiFi

    General
    3
    6
    9.5k
    Loading More Posts
    • 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.
    • M5StickFreaklerM
      M5StickFreakler
      last edited by

      Hi folks

      How can I get the RSSI value of the connected WiFi?

      There is no no RSSI() function on wifiCfg in micropython (uiflow)

      Thanks for help ;-)

      Best regards
      Thomas

      1 Reply Last reply Reply Quote 0
      • m5stackM
        m5stack
        last edited by m5stack

        refer below code . use this function

        import wifiCfg
        
        wifiCfg.wlan_sta.scan()
        
        
        M5StickFreaklerM 1 Reply Last reply Reply Quote 0
        • M5StickFreaklerM
          M5StickFreakler @m5stack
          last edited by

          @m5stack said in Get RSSI on connected WiFi:

          wifiCfg.wlan_sta.scan()

          ok, thats cool.
          Do you know, how I can get the current connected SSID if I use auto connect?

          m5stackM 1 Reply Last reply Reply Quote 0
          • m5stackM
            m5stack @M5StickFreakler
            last edited by m5stack

            @m5stickfreakler in UIFlow we have not provided this API yet

            M5StickFreaklerM 1 Reply Last reply Reply Quote 0
            • M5StickFreaklerM
              M5StickFreakler @m5stack
              last edited by

              @m5stack said in Get RSSI on connected WiFi:

              @m5stickfreakler in UIFlow we have not provided this API yet

              Thanks for your info. So unfortunately I can't get the RSSI of the current connected WiFi SSID snif

              1 Reply Last reply Reply Quote 0
              • M
                mwenghi
                last edited by mwenghi

                @m5stack said in Get RSSI on connected WiFi:

                wifiCfg

                Refer to the documentation, you can get RSSI value of current connected WiFi by calling:

                wifiCfg.wlan_sta.status('rssi')
                

                It could be attached to the variable and / or to the function:
                0_1610147943000_Screen Shot 2021-01-08 at 3.52.27 PM.png

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post