show and connect to available SSIDs through paneldue
-
I'm looking for placing a WiFi button on panel screen when clicked by a user it should prompt available networks. On selected the correct wifi connection it should gather SSID and password from user to connect printer to wifi network.
Can I get some help to know which file I should look for to make this possible
I'm actually new to duet but I tried my best to understand as I am aware of C,C++ it was understandable but I couldn't get a overview how everything is connected.
-
Nothing like this currently exists. Not sure it's even possible, but moved to the wishlist forum.
-
@T3P3Tony any comment on this
-
I'm no Tony, but I think I can break the problem down into "its complicated" you would likely have to make modifications to both the wifi, reprap and paneldue firmware to be able to show the scan result and accept a passphrase from the user on screen.
Currently the only way to even see the list of networks is to enable debug output from the wifi module and view the console after running M552 S1. Afaik M111 will only send debug info to the usb serial console (not paneldue and not web) so you'd have to add functionality to get the data from the wifi firmware, into reprap firmware and changes to paneldue firmware to enable selection and text input.
https://configtool.reprapfirmware.org/Network can input a known network
and if you really need to configure wifi from a touch display then i think opting duet + spc like the raspberry pi and configuring the pi's wifi on a standard hdmi touch screen rather than a paneldue is a far simpler approach.
-
@vedanth said in show and connect to available SSIDs through paneldue:
I'm looking for placing a WiFi button on panel screen when clicked by a user it should prompt available networks. On
Do you really think you would need to change your WiFi connection that often?
Frederick
-
I agree that setting up the WiFi connection could be easier.
-
@fcwilt yes I would need to change.
I hope you can help me with this -
When debugging is turned on for the wifi module, the available SSID's are displayed over USB so getting that information shouldn't be that difficult.
If the M291 command was able to accept input, it could possibly be used to enter a password via a macro. But this type of functionality would probably need variables to be enabled. -
@bearer Thank you for sharing and guiding
-
@dc42 could M557 show available Wi-Fi networks (plus signal strength) as well as remembered?
Ian
-
@droftarts said in show and connect to available SSIDs through paneldue:
@dc42 could M557 show available Wi-Fi networks (plus signal strength) as well as remembered?
Ian
We would need to have a separate command (M552 S3?) to do a network scan and then return the results. It involves changes to the wifi server firmware as well as RRF (and PanelDue if you want to display it there). I'll add it to the work list.