mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 01:18:36 +02:00
FIRE3: Add reboot support
This commit is contained in:
committed by
Kyle Schwarz
parent
54fb89b675
commit
8af6d5f2a8
@@ -862,10 +862,17 @@ public:
|
||||
|
||||
virtual bool supportsGPTP() const { return false; }
|
||||
|
||||
virtual bool supportsReboot() const { return false; }
|
||||
|
||||
bool requestTC10Wake(Network::NetID network);
|
||||
|
||||
bool requestTC10Sleep(Network::NetID network);
|
||||
|
||||
// Reboot the device. When safe is true the device boots the Linux rescue image and does not
|
||||
// load coremini ("safe boot"); otherwise it reboots normally. The device reboots in response,
|
||||
// so no reply is expected. Only supported on devices where supportsReboot() is true.
|
||||
bool reboot(bool safe = false);
|
||||
|
||||
std::optional<TC10StatusMessage> getTC10Status(Network::NetID network);
|
||||
std::optional<GPTPStatus> getGPTPStatus(std::chrono::milliseconds timeout = std::chrono::milliseconds(100));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user