Help with Duet WiFi to work as an Access Point
-
Hello,
I've got a Duet 2 WiFi board. I am running 1.21 firmware version. I am able to connect to this board via USB, using Pronterface. Then with following M commands it is possible to set up WiFi as AP
SENDING:M552
WiFi module is idlem552 s0
SENDING:M552 S0
M589 S"DuetSSID" P"password" I192.168.0.1 C1
SENDING:M589 S"DuetSSID" P"password" I192.168.0.1 C1
M552 S2
SENDING:M552 S2
WiFi module is providing access point DuetSSID, IP address 192.168.0.1Now I want all of this to run as a macro called form config.g, at a start, so I specified name of the macro: start-access-point.g, and put an M98 P"start-access-poit.g" command in config.g file. Nothing happens. Wi-Fi is in idle state. No AP is established.
-
Ok, problem solved. No need to run a macro from config.g. M552 S2 command is only needed after setting up WiFi module using M589 command with appropriate parameters via usb.
-
You might want to update your firmware...
-
@mrehorstdmd Hi ! Which would you recommend?
-
@Arek 3.2.2. There would be a big change in config required so it's best to read all the change notes
-
@jay_s_uk THX !
-
Nothing really wrong with 1.21. If it works, it works. But reading through the change notes would give you an idea of all that has changed and been fixed.
Updating to 2.05.1 would be pretty easy actually and only require minor changes to the config files and macros.
First you'd need to manually update to 2.0 (including the DWC files) and from there you can update directly to 2.05.1 by uploading the zip file from that release in the web interface.
From there you could use the same upload method to go to 3.0 and then 3.2.2 but the config file would need to be replaced. Starting with a fresh config set from the config tool would be the best way to go and then adding in any customizations you currently have.
Here's a post that has more details on updating from 1.x
https://forum.duet3d.com/topic/18962/firmware-not-updating?_=1615414302153