6#ifndef XCORESDK_SRC_CLI_UPGRADE_CLI_HPP_
7#define XCORESDK_SRC_CLI_UPGRADE_CLI_HPP_
12using namespace System;
21 rokae::BaseUpgrade* raw_;
56 void upgrade(String^ local_file_path, [System::Runtime::InteropServices::Out]
ErrorCode^% ec);
64 void exportBackup(String^ local_file_path, array<BackupItem>^ items, [System::Runtime::InteropServices::Out]
ErrorCode^% ec);
Controller upgrade and backup APIs.
void connect(String^ remote_ip)
Connect to robot upgrade server.
void connect([System::Runtime::InteropServices::Out] ErrorCode^% ec)
Connect to robot upgrade server.
void upgrade(String^ local_file_path, [System::Runtime::InteropServices::Out] ErrorCode^% ec)
Upgrade controller package.
void exportBackup(String^ local_file_path, array< BackupItem >^ items, [System::Runtime::InteropServices::Out] ErrorCode^% ec)
Export controller backup.
BaseUpgrade(String^ remote_ip)
Construct and connect to upgrade server.
BaseUpgrade()
Default constructor without connection.