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

    Cannot prevent WIFI console output

    Scheduled Pinned Locked Moved Enhancements
    wlanwifinetwork
    8 Posts 4 Posters 2.2k Views 4 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.
    • A Offline
      Andrea Filippini
      last edited by Andrea Filippini

      Hi all,
      I'm using the network.WLAN module to connect to my WiFi router using the LoPy but I'm really annoyed by the fact that the status output on the console cannot be shut down.
      It would be nice if there could be a "verbose" parameter to be set during the initialization

      1 Reply Last reply Reply Quote 0
      • B Offline
        BluCode
        last edited by

        I completely second this, especially after the REPL console starts up.

        1 Reply Last reply Reply Quote 0
        • J Offline
          jmarcelino
          last edited by jmarcelino

          It's not easy because those come from the low level ESP-IDF C API (the "operating system") where that's a compile time option.

          You can recompile the firmware yourself and disable but then there's no dynamic way to turn them back on again.

          That said if you access the console (REPL) over telnet instead of the serial port you won't see them.

          1 Reply Last reply Reply Quote 0
          • B Offline
            BluCode
            last edited by

            What is the compile time option exactly?

            J 1 Reply Last reply Reply Quote 0
            • J Offline
              jmarcelino @BluCode
              last edited by

              @BluCode
              CONFIG_CONSOLE_UART_NONE=y in sdkconfig

              robert-hhR 1 Reply Last reply Reply Quote 1
              • robert-hhR Offline
                robert-hh @jmarcelino
                last edited by

                @jmarcelino Which file is to change where. The only sdkconfig file I have here in the sdk is:
                $MYPATH/pycom-esp-idf/tools/unit-test-app/sdkconfig

                J 1 Reply Last reply Reply Quote 0
                • J Offline
                  jmarcelino @robert-hh
                  last edited by

                  @robert-hh
                  Ha yes, slightly different setup on my side sorry.

                  You should add #define CONFIG_CONSOLE_UART_NONE 1 to your pycom-micropython-sigfox/esp32/sdkconfig.h

                  robert-hhR 1 Reply Last reply Reply Quote 0
                  • robert-hhR Offline
                    robert-hh @jmarcelino
                    last edited by

                    @jmarcelino Thanks. I think I tried that this morning, but w/o success. I'll retry this evening.

                    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