/// <summary> /// Gets BMC firmware revision. Returns HEX string. /// </summary> /// <returns>firmware revision</returns> public virtual BmcFirmware GetFirmware() { // Get Device Id GetDeviceIdResponse response = (GetDeviceIdResponse)this.IpmiSendReceive(new GetDeviceIdRequest(), typeof(GetDeviceIdResponse)); BmcFirmware responseObj = new BmcFirmware(response.CompletionCode); if (response.CompletionCode == 0) { responseObj.SetParamaters(response.MajorFirmware, response.MinorFirmware); } return(responseObj); }
/// <summary> /// Gets Device Id. Returns HEX string. /// </summary> /// <returns>firmware revision</returns> public virtual BmcDeviceId GetDeviceId() { // Get Device Id GetDeviceIdResponse response = (GetDeviceIdResponse)this.IpmiSendReceive(new GetDeviceIdRequest(), typeof(GetDeviceIdResponse)); BmcDeviceId responseObj = new BmcDeviceId(response.CompletionCode); if (response.CompletionCode == 0) { responseObj.SetParamaters(response.MajorFirmware, response.MinorFirmware, response.AuxFwVer, response.ManufacturerId, response.ProductId); } return(responseObj); }