Support for Obico cloud integration (#4116)

support obico (#3)

Add printer support for Obico cloud.

---------

Co-authored-by: zzh <anjingxw@126.com>
This commit is contained in:
Kenneth Jiang 2024-02-27 06:04:51 -08:00 committed by GitHub
parent 047b889ba6
commit 8c941df4e8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 519 additions and 2 deletions

View file

@ -102,7 +102,8 @@ static t_config_enum_values s_keys_map_PrintHostType {
{ "flashair", htFlashAir },
{ "astrobox", htAstroBox },
{ "repetier", htRepetier },
{ "mks", htMKS }
{ "mks", htMKS },
{ "obico", htObico }
};
CONFIG_OPTION_ENUM_DEFINE_STATIC_MAPS(PrintHostType)
@ -3038,6 +3039,7 @@ def = this->add("filament_loading_speed", coFloats);
def->enum_values.push_back("astrobox");
def->enum_values.push_back("repetier");
def->enum_values.push_back("mks");
def->enum_values.push_back("obico");
def->enum_labels.push_back("PrusaLink");
def->enum_labels.push_back("PrusaConnect");
def->enum_labels.push_back("Octo/Klipper");
@ -3046,6 +3048,7 @@ def = this->add("filament_loading_speed", coFloats);
def->enum_labels.push_back("AstroBox");
def->enum_labels.push_back("Repetier");
def->enum_labels.push_back("MKS");
def->enum_labels.push_back("Obico");
def->mode = comAdvanced;
def->cli = ConfigOptionDef::nocli;
def->set_default_value(new ConfigOptionEnum<PrintHostType>(htOctoPrint));