Controller upgrade and backup APIs.
更多...
#include <upgrade_cli.hpp>
|
| | BaseUpgrade () |
| | Default constructor without connection. 更多...
|
| |
| | BaseUpgrade (String^ remote_ip) |
| | Construct and connect to upgrade server. 更多...
|
| |
|
| ~BaseUpgrade () |
| | Destructor
|
| |
| void | connect ([System::Runtime::InteropServices::Out] ErrorCode^% ec) |
| | Connect to robot upgrade server. 更多...
|
| |
| void | connect (String^ remote_ip) |
| | 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. 更多...
|
| |
Controller upgrade and backup APIs.
在文件 upgrade_cli.hpp 第 19 行定义.
◆ BaseUpgrade() [1/2]
| rokae::clr::BaseUpgrade::BaseUpgrade |
( |
| ) |
|
Default constructor without connection.
◆ BaseUpgrade() [2/2]
| rokae::clr::BaseUpgrade::BaseUpgrade |
( |
String^ |
remote_ip | ) |
|
Construct and connect to upgrade server.
- 参数
-
| remote_ip | Robot IP address |
◆ connect() [1/2]
| void rokae::clr::BaseUpgrade::connect |
( |
[System::Runtime::InteropServices::Out] ErrorCode^% |
ec | ) |
|
Connect to robot upgrade server.
- 参数
-
◆ connect() [2/2]
| void rokae::clr::BaseUpgrade::connect |
( |
String^ |
remote_ip | ) |
|
Connect to robot upgrade server.
- 参数
-
| remote_ip | Robot IP address |
◆ exportBackup()
| void rokae::clr::BaseUpgrade::exportBackup |
( |
String^ |
local_file_path, |
|
|
array< BackupItem >^ |
items, |
|
|
[System::Runtime::InteropServices::Out] ErrorCode^% |
ec |
|
) |
| |
Export controller backup.
- 参数
-
| local_file_path | Local backup file path |
| items | Backup items |
| ec | Error code output |
◆ upgrade()
| void rokae::clr::BaseUpgrade::upgrade |
( |
String^ |
local_file_path, |
|
|
[System::Runtime::InteropServices::Out] ErrorCode^% |
ec |
|
) |
| |
Upgrade controller package.
- 参数
-
| local_file_path | Local package path |
| ec | Error code output |
该类的文档由以下文件生成: