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

    FiPy wlan promiscuous, channel, packet format

    Scheduled Pinned Locked Moved FiPy
    3 Posts 2 Posters 61 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.
    • M Offline
      martin janssen
      last edited by

      Hi,

      I am trying to program a simple wifi scanner based on the example documentation using promiscuous mode.

      In AP mode, the channel can be set with wlan.channel (x). In STA mode this is not possible. Does the FiPy scan all channels automatically in STA mode or is there a way to set the channel?

      Further more I am searching for documentation about the wlan.packet format. The tutorial/example is very basic. Is there in dept documentation how to retrieve information of the several packet types/subtypes?

      Thanks in advanance,

      Martin

      1 Reply Last reply Reply Quote 0
      • P Offline
        Pete Allen 0 Global Moderator
        last edited by

        Hi Martin,

        When you are in STA mode, the channel will be whatever the channel of your AP is, and you will receive all packets on that network.

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          martin janssen @Pete Allen 0
          last edited by

          @Pete-Allen-0 Hi Pete, thank you. In scanning mode (sta/promiscious), the FyPi is not attached to an access point, so it should switch to each wifi channel for a certain time and sniff the packages. The question is, how can I switch the channels in sta-mode? If channel switching is not possible, the sniff function will mis a lot of packages because it is bound to one channel.

          Best regards,

          Martin

          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