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"
All combinations don't find any network after a M552 S1:
"Bobs"" ""Home"
"Bobs" "Home"
'Bobs'" "'Home' -
@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"
-
@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.
-
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:
"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."
-
Or maybe better clarification.
-
Thanks, I have corrected the description of M587 in the GCodes wiki page.