ENH: detect printer uses ssl for local connection

Change-Id: I6131bf5ed1f6d44f0bd761ad6bc3a492ba4945b7
(cherry picked from commit c68d48ecf290e5abd37a97654c5b1f7779f061e2)
This commit is contained in:
chunmao.guo 2023-01-03 11:58:01 +08:00 committed by Lane.Wei
parent 5fc3694e08
commit aa880e34a7
8 changed files with 13 additions and 1 deletions

View file

@ -1284,6 +1284,11 @@ void MachineObject::parse_version_func()
is_support_ai_monitoring = true;
is_support_ams_humidity = true;
}
if (ota_version->second.sw_ver.compare("01.03.00.00") <= 0) {
local_use_ssl = false;
} else {
local_use_ssl = true;
}
}
}
}