Improved Intel AMT activation logging.

This commit is contained in:
Ylian Saint-Hilaire
2020-10-22 14:35:12 -07:00
parent 2df78feb6b
commit 5a3e68a935
5 changed files with 29 additions and 14 deletions

View File

@@ -1093,7 +1093,7 @@ function createMeshCore(agent) {
};
apftunnel = require('apfclient')({ debug: false }, apfarg);
apftunnel.onJsonControl = function (data) {
//if (data.action == 'console') { require('MeshAgent').SendCommand({ action: 'msg', type: 'console', value: data.msg }); } // Display a console message (DEBUG)
if (data.action == 'console') { require('MeshAgent').SendCommand({ action: 'msg', type: 'console', value: data.msg }); } // Display a console message (DEBUG)
if (data.action == 'mestate') { getMeiState(15, function (state) { apftunnel.updateMeiState(state); }); } // Update the MEI state
if (data.action == 'deactivate') { // Request CCM deactivation
var amtMeiModule, amtMei;