Use this service to control the device.
More...
#include <IDeviceControlService.hpp>
|
static IRscServiceProxyFactory & | GetProxyFactory (void) |
|
static IRscServiceProxyFactory & | GetProxyFactory (void) |
| Returns a reference to service proxy factory to create a proxy instance of the service More...
|
|
Use this service to control the device.
This service is defined in library Arp.Device.Interface.
◆ IDeviceControlService()
Arp::Device::Interface::Services::IDeviceControlService::IDeviceControlService |
( |
void |
| ) |
|
|
default |
◆ ResetToFactoryDefaults()
virtual AccessErrorCode Arp::Device::Interface::Services::IDeviceControlService::ResetToFactoryDefaults |
( |
uint16 |
resetType | ) |
|
|
pure virtual |
Reset device configuration
- Parameters
-
resetType | 1 Reset device configuration to factory default, 2 Downgrade FW to factory version and reset configuration |
- Returns
- Result of start execute Arp.Device.Interface.Services.AccessErrorCode
After successfull start the PLC will stop and than reboot. While the reboot the requested defaults will be set.
◆ RestartDevice()
virtual void Arp::Device::Interface::Services::IDeviceControlService::RestartDevice |
( |
| ) |
|
|
pure virtual |
◆ StartFirmwareUpdate()
virtual AccessErrorCode Arp::Device::Interface::Services::IDeviceControlService::StartFirmwareUpdate |
( |
uint16 |
updateType | ) |
|
|
pure virtual |
Start FW update
- Parameters
-
updateType | Reserved for extentions, must be 0 in this version. |
- Returns
- Result of start execute Arp.Device.Interface.Services.AccessErrorCode
Before you can start an update a raucb-container must be copied to path "/opt/plcnext". After successfull start an update the PLC will stop, execute the update and than reboot.
The documentation for this class was generated from the following file: