Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Wifi module idle

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    6
    40
    2.2k
    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.
    • Dougal1957undefined
      Dougal1957
      last edited by

      The # is ok (I have that in my PW as well with no special treatment) not sure about the +

      But it may be worth trying

      M587 S"U'+'Net48C4" p"8040P8C0#1"

      Do make sure that you are sending it in the correct case.

      Doug

      tkdirpundefined 1 Reply Last reply Reply Quote 0
      • A Former User?
        A Former User
        last edited by

        screen shouldn't affect case, thats a workaround for pronterface or whats it called that converts all gcode to uppercase, incluing the strings for parameters like wifi credentials.

        Dougal1957undefined 1 Reply Last reply Reply Quote 0
        • Dougal1957undefined
          Dougal1957 @A Former User
          last edited by

          @bearer said in Wifi module idle:

          screen shouldn't affect case, thats a workaround for pronterface or whats it called that converts all gcode to uppercase, incluing the strings for parameters like wifi credentials.

          It was more a warning rather than in instruction and not know the ops system I felt it worth pointing out!

          1 Reply Last reply Reply Quote 0
          • tkdirpundefined
            tkdirp @Dougal1957
            last edited by

            @Dougal1957
            I guess M587 S"U'+'Net48C4" p"8040P8C0#1" seems to work because the terminal responded "ok" but when I put "m552 S1" this still happens...
            Screen Shot 2020-07-04 at 7.03.30 PM.png

            1 Reply Last reply Reply Quote 0
            • A Former User?
              A Former User
              last edited by

              show us M587 with no parameters?

              tkdirpundefined 1 Reply Last reply Reply Quote 0
              • tkdirpundefined
                tkdirp @A Former User
                last edited by

                @bearer
                What does it mean to have an M587 with no parameters? I just don't know because I am pretty new to this.

                Dougal1957undefined 1 Reply Last reply Reply Quote 0
                • Dougal1957undefined
                  Dougal1957 @tkdirp
                  last edited by

                  @tkdirp said in Wifi module idle:

                  @bearer
                  What does it mean to have an M587 with no parameters? I just don't know because I am pretty new to this.

                  just send M587 on its own with nothing after it then the Duet will tell us what it has set!

                  1 Reply Last reply Reply Quote 0
                  • A Former User?
                    A Former User
                    last edited by

                    just send M587 (with no S"......" P".....")

                    it should return the stored netwoks in the wifi module.

                    tkdirpundefined 1 Reply Last reply Reply Quote 0
                    • tkdirpundefined
                      tkdirp @A Former User
                      last edited by

                      @bearer @Dougal1957
                      SSID: U+Net48C4
                      PW: 8040P8C0#1

                      1 Reply Last reply Reply Quote 0
                      • A Former User?
                        A Former User
                        last edited by

                        what firmware are you running?

                        check with M122. The Duet board firmware will be at the top, and the Wifi firmware will be in a a section at the bottom.

                        tkdirpundefined 1 Reply Last reply Reply Quote 0
                        • tkdirpundefined
                          tkdirp @A Former User
                          last edited by

                          @bearer
                          seem to be 2.03
                          Screen Shot 2020-07-04 at 4.23.59 PM.png

                          A Former User? 1 Reply Last reply Reply Quote 0
                          • A Former User?
                            A Former User @tkdirp
                            last edited by

                            @tkdirp said in Wifi module idle:

                            2.03

                            thats just the RepRapFirmware version, as I said when you run M122 it will also print the version of the firmware running om the Wifi module.

                            tkdirpundefined 1 Reply Last reply Reply Quote 0
                            • tkdirpundefined
                              tkdirp @A Former User
                              last edited by

                              @bearer
                              This happens if I send a M122 command...
                              Screen Shot 2020-07-04 at 7.45.15 PM.png

                              1 Reply Last reply Reply Quote 0
                              • A Former User?
                                A Former User
                                last edited by A Former User

                                right, wifi not happy.

                                btw could you try running stty -F /dev/tty.usbmodem14101 inlcr in another terminal and see if it sorts the line endings for you? (edit or stty -F /dev/tty.usbmodem14101 -icrnl)

                                then lets try the nuke from orbit approach.

                                M552 S-1
                                M552 S0
                                M588 S"*"
                                M587 S"U'+Net48C4" p"8040P8C0#1" 
                                M552 S1
                                

                                M552 S-1 resets the wifi module
                                M588 S"*" clears the wifi credentials

                                edit fixed typo M589 to M588

                                tkdirpundefined 2 Replies Last reply Reply Quote 0
                                • tkdirpundefined
                                  tkdirp @A Former User
                                  last edited by

                                  @bearer said in Wifi module idle:

                                  in another terminal

                                  So, on another computer?

                                  A Former User? 1 Reply Last reply Reply Quote 0
                                  • A Former User?
                                    A Former User @tkdirp
                                    last edited by

                                    @tkdirp said in Wifi module idle:

                                    another computer?

                                    no, same computer just another window with a terminal. (but its not that important, it just makes it easier to read if the end of line characters actually causes a new line - and I'm not sure if it would work on a Mac)

                                    1 Reply Last reply Reply Quote 1
                                    • tkdirpundefined
                                      tkdirp @A Former User
                                      last edited by

                                      @bearer said in Wifi module idle:

                                      M552 S-1 resets the wifi module
                                      M589 S"*" clears the wifi credentials

                                      The nuke plan failed... 😞
                                      Screen Shot 2020-07-04 at 8.26.26 PM.png

                                      1 Reply Last reply Reply Quote 0
                                      • A Former User?
                                        A Former User
                                        last edited by A Former User

                                        but M122 shows the wifi version now?

                                        if not lets try

                                        M552 S-1
                                        M552 S0
                                        M588 S"*"
                                        M122
                                        

                                        edit: fixed typo M589 to M588

                                        tkdirpundefined 2 Replies Last reply Reply Quote 0
                                        • tkdirpundefined
                                          tkdirp @A Former User
                                          last edited by

                                          @bearer
                                          M122 is still not working

                                          1 Reply Last reply Reply Quote 0
                                          • tkdirpundefined
                                            tkdirp @A Former User
                                            last edited by

                                            @bearer said in Wifi module idle:

                                            M552 S-1
                                            M552 S0
                                            M589 S"*"
                                            M122

                                            Worked.
                                            Screen Shot 2020-07-04 at 8.46.44 PM.png

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA