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 question

    Scheduled Pinned Locked Moved WiPy 2&3
    wipywifiboot.py
    3 Posts 2 Posters 1.2k 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
      mike632t
      last edited by mike632t

      On the WiPy 2.0 when does the wireless interface come up?

      I know I can disable both the wireless network and network server using the following code in my boot.py (before re-configuring them as required) but I was wondering if the default wireless access point and network server are active before the boot.py script is executed.

      import network
      server = network.Server()
      server.deinit() 
      wlan = network.WLAN()
      wlan.deinit()
      

      Thanks,

      Mike T.

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

        @mike632t
        i suppose that all features like wifi, blootooth, lora, ... should be disabled at start
        maybe this can be achived by e.g. file existence on the flash.
        like boot.config

        if it does not exist - then all go same as is now
        but if it exists then it should be parsed

        but question remain open @daniel @bucknall can you point here something?

        think about people first, then computers

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          mike632t @livius
          last edited by mike632t

          As you need to connect using wireless to modify 'boot.py' in the first place this makes disabling the wireless interface by default an 'interesting' challenge to a new user!

          Hopefully the wireless, bluetooth, etc are only started (if not already active) after 'boot.py' is executed.

          Mike T.

          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