| 
    PLCnext API Documentation
    20.6.0.30321
    
   | 
 
Use this service to control the device. More...
#include <IDeviceControlService.hpp>

Public Types | |
| typedef std::shared_ptr< IDeviceControlService > | Ptr | 
  Public Types inherited from Arp::System::Rsc::Services::IRscService | |
| typedef std::shared_ptr< IRscService > | Ptr | 
Public Member Functions | |
| IDeviceControlService (void) | |
| Constructs an IDeviceControlService instance. More... | |
| virtual | ~IDeviceControlService (void) | 
| Destructs this instance and frees all resouces. More... | |
| virtual void | RestartDevice ()=0 | 
| Reboot the device  More... | |
| virtual AccessErrorCode | ResetToFactoryDefaults (uint16 resetType)=0 | 
| Reset device configuration  More... | |
| virtual AccessErrorCode | StartFirmwareUpdate (uint16 updateType)=0 | 
| Start FW update  More... | |
  Public Member Functions inherited from Arp::System::Rsc::Services::IRscService | |
| IRscService (void)=default | |
| Constructs an IRscService instance. More... | |
| virtual | ~IRscService (void)=default | 
| Destructs this instance and frees all resouces. More... | |
Static Public Member Functions | |
| static IRscServiceProxyFactory & | GetProxyFactory (void) | 
  Static Public Member Functions inherited from Arp::System::Rsc::Services::IRscService | |
| 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.
      
  | 
  inline | 
Constructs an IDeviceControlService instance.
      
  | 
  inlinevirtual | 
Destructs this instance and frees all resouces.
      
  | 
  pure virtual | 
Reset device configuration
| resetType | 1 Reset device configuration to factory default, 2 Downgrade FW to factory version and reset configuration | 
After successfull start the PLC will stop and than reboot. While the reboot the requested defaults will be set.
      
  | 
  pure virtual | 
Reboot the device
      
  | 
  pure virtual | 
Start FW update
| updateType | Reserved for extentions, must be 0 in this version. | 
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.
 1.8.13