Support ini file to setup wifi network

This commit is contained in:
George Fu
2020-06-23 16:52:25 +08:00
parent 8d9dea5f3e
commit 31115f6f70
9 changed files with 187 additions and 67 deletions

View File

@@ -121,7 +121,7 @@ void Gcode::gcode_M51() {
*/
void Gcode::gcode_M52() {
if(!network.start()) {
SERIAL_ECHOLN("Connect fail, please set the wifi config and connect again");
SERIAL_ECHOLN("Connect fail, please check your INI file or set the wifi config and connect again");
SERIAL_ECHOLN("- M50: Set the wifi ssid , 'M50 ssid-name'");
SERIAL_ECHOLN("- M51: Set the wifi password , 'M51 password'");
SERIAL_ECHOLN("- M52: Start to connect the wifi");