Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update full version, and marking of the amt to check if activated #5803

Merged
merged 1 commit into from Feb 17, 2024

Conversation

bennyc-huji
Copy link
Contributor

  • added full version of 3 markings, for easier comparison
  • added marking in amt only groups to detect the state of the amt

@si458
Copy link
Collaborator

si458 commented Feb 15, 2024

thanks! will merge later today, incase you need to push anymore commits 👍

@@ -707,7 +707,7 @@ module.exports.CreateAmtManager = function (parent) {
dev.aquired.controlMode = responses['IPS_HostBasedSetupService'].response.CurrentControlMode; // 1 = CCM, 2 = ACM
if (typeof stack.wsman.comm.amtVersion == 'string') { // Set the Intel AMT version using the HTTP header if present
var verSplit = stack.wsman.comm.amtVersion.split('.');
if (verSplit.length >= 3) { dev.aquired.version = verSplit[0] + '.' + verSplit[1] + '.' + verSplit[2]; dev.aquired.majorver = parseInt(verSplit[0]); dev.aquired.minorver = parseInt(verSplit[1]); }
if (verSplit.length >= 3) { dev.aquired.version = verSplit[0] + '.' + verSplit[1] + '.' + verSplit[2]; dev.aquired.majorver = parseInt(verSplit[0]); dev.aquired.minorver = parseInt(verSplit[1]); dev.aquired.maintenance=parseInt(verSplit[2]);}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this correct? you list maintenance here, but further down you say versionmaintenance ?

@Ylianst Ylianst merged commit fb15d94 into Ylianst:master Feb 17, 2024
3 checks passed
@Ylianst
Copy link
Owner

Ylianst commented Feb 17, 2024

This PR was pretty much as poor as it gets, but I accepted it and fixed it. Fix commit here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants