Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    WiFi Scan - security models is there a mapping

    Scheduled Pinned Locked Moved Discussion
    wlanscan
    3 Posts 2 Posters 943 Views 2 Watching
    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.
    • ahaw021A Offline
      ahaw021
      last edited by

      when you run .scan() on WLAN classes you get a bunch of information including security model which includes a security model

      is there a mapping of the numbers to wifi types

      e.g. 0 = open WLAN, 1 = WPA, 2 = WPA2

      etc etc

      Andrei

      L 1 Reply Last reply Reply Quote 0
      • L Offline
        livius @ahaw021
        last edited by livius

        @ahaw021 said in WiFi Scan - security models is there a mapping:

        #define WLAN_SEC_UNSEC (0)
        #define WLAN_SEC_WEP (1)
        #define WLAN_SEC_WPA (2)
        #define WLAN_SEC_WPA2 (3)

        https://github.com/pycom/pycom-micropython-sigfox/blob/baa8c33a3f3e1adf17677f3c01028683f3a51479/drivers/cc3000/inc/wlan.h#L50

        think about people first, then computers

        ahaw021A 1 Reply Last reply Reply Quote 2
        • ahaw021A Offline
          ahaw021 @livius
          last edited by

          @livius thank you muchly

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • 1 / 1
          • First post
            Last post

          Pycom on Twitter

          Pycom