Grid eXchange Fabric Documentation

  Fix This Page

SwitchFirmware

Description

Request to switch from the current firmware version to the other firmware version, indicated by the argument newFirmwareVersion.

Message definitions

message SwitchFirmwareRequest {
    required string newFirmwareVersion = 1; // [(nanopb).max_size = 6]; // The version of the firmware which should be installed. 
}

message SwitchFirmwareResponse {
    required Status status = 1; // FIRMWARE_EVENTS_ACTIVATING Event will be sent, after the firmware change has completed.
}

Datatypes

enum Status {
    OK = 0;
    FAILURE = 1; // general failure
    REJECTED = 2; // request received in wrong state
}

Example

Soap requests and responses sent to and from platform:


   
      SoapUI
      Kevin
      LianderNetManagement
   
   
      
         
         device-01
         
         W0311g
      
   



   
   
      
         
            LianderNetManagement|||device-01|||20160313211917467
            device-01
         
      
   



   
      SoapUI
      Kevin
      LianderNetManagement
   
   
      
         
            
            LianderNetManagement|||device-01|||20160313211917467
            
            device-01
         
      
   



   
   
      
         OK
      
   

OSLP messages:

switchFirmwareRequest {
  newFirmwareVersion: "W0311g"
}

switchFirmwareResponse {
  status: OK
}