NEW:Add request access code function from printer

JIRA: 4690
Change-Id: I18657629b714823fa5691901c5807bdaccf56000
This commit is contained in:
hu.wang
2023-10-16 15:45:23 +08:00
committed by Lane.Wei
parent 9c55209518
commit 82684b1d20
3 changed files with 26 additions and 1 deletions

View File

@@ -1878,6 +1878,8 @@ void GUI_App::init_networking_callbacks()
obj->is_tunnel_mqtt = tunnel;
obj->command_request_push_all(true);
obj->command_get_version();
obj->erase_user_access_code();
obj->command_get_access_code();
GUI::wxGetApp().sidebar().load_ams_list(obj->dev_id, obj);
}
});