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

    Space in SSID: Correct Syntax Please

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    3
    6
    947
    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.
    • lasakroundefined
      lasakro
      last edited by

      Hello,

      I read that the instructions mention that the space requires quotes around it but dosen't mention how to handle the remaing SSID. I've tried several attempts but it's kicking my "but".

      Ex: M587 S"Bobs Home" P"8312831283128312"

      All combinations don't find any network after a M552 S1:

      "Bobs"" ""Home"
      "Bobs" "Home"
      'Bobs'" "'Home'

      dc42undefined 1 Reply Last reply Reply Quote 0
      • themelleundefined
        themelle
        last edited by

        @lasakro said in Space in SSID: Correct Syntax Please:

        M587

        You may consider using single quotes as stated in https://duet3d.dozuki.com/Wiki/Gcode#Section_M587_Add_WiFi_host_network_to_remembered_list_or_list_remembered_networks to mark characters as lower case, e.g. for your example

        M587 S"B'o'b's H'o'm'e" P"8312831283128312"

        1 Reply Last reply Reply Quote 0
        • dc42undefined
          dc42 administrators @lasakro
          last edited by

          @lasakro said in Space in SSID: Correct Syntax Please:

          Hello,

          I read that the instructions mention that the space requires quotes around it but dosen't mention how to handle the remaing SSID. I've tried several attempts but it's kicking my "but".

          Ex: M587 S"Bobs Home" P"8312831283128312"

          That is the correct syntax, assuming that "Bobs Home" (without the quotes) is the SSID. However, some GCode senders (e.g. Pronterface) convert all characters to uppercase before sending, so it would be sent as BOBS HOME which won't match your SSID. To avoid this, either use a terminal emulator to send the M587 command (e.g. YAT under Windows), or put the M587 command in a temporary macro file on the SD card and execute that, or prefix each lowercase character with a single quote mark as @themelle indicated.

          Duet WiFi hardware designer and firmware engineer
          Please do not ask me for Duet support via PM or email, use the forum
          http://www.escher3d.com, https://miscsolutions.wordpress.com

          1 Reply Last reply Reply Quote 0
          • lasakroundefined
            lasakro
            last edited by

            Thanks for the reply's guys. Got it to work. Looks like the Wiki still has an outdated info about the space used in a SSID for M587:

            https://duet3d.dozuki.com/Wiki/Gcode#Section_M587_Add_WiFi_host_network_to_remembered_list_or_list_remembered_networks

            "If a password or SSID includes space or semicolon characters then it must be enclosed in double quotation marks. For security, do not use this command in the config.g file, or if you do then remove it after running it once so that the network password is not visible in the file."

            lasakroundefined 1 Reply Last reply Reply Quote 0
            • lasakroundefined
              lasakro @lasakro
              last edited by

              Or maybe better clarification. 🙂

              1 Reply Last reply Reply Quote 0
              • dc42undefined
                dc42 administrators
                last edited by

                Thanks, I have corrected the description of M587 in the GCodes wiki page.

                Duet WiFi hardware designer and firmware engineer
                Please do not ask me for Duet support via PM or email, use the forum
                http://www.escher3d.com, https://miscsolutions.wordpress.com

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