Downloaded 19.2 firmware and server, and copied them to the /sys folder of the SD card, ran M997 S0, and also M997 S1 and got this error:
Connecting…
Printer is now online.
M115
SENDING:M115
FIRMWARE_NAME: RepRapFirmware for Duet WiFi FIRMWARE_VERSION: 1.19 ELECTRONICS: Duet WiFi 1.0 FIRMWARE_DATE: 2017-08-14
M997 S0
SENDING:M997 S0
[ERROR] Can't read from printer (disconnected?) (SerialException): call to ClearCommError failed
M997 S1
SENDING:M997 S1
[ERROR] Can't write to printer (disconnected?) (SerialException): WriteFile failed ([Error 22] The device does not recognize the command.)
I then tried M997 S1 first and it worked.