1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2026-01-08 11:33:42 +00:00

1. Added info logging to heci onconnect

2. Updated amt-mei to use a singleton for PTHI
This commit is contained in:
Bryan Roe
2021-07-14 09:38:17 -07:00
parent 1f5022ed16
commit e861afc5a6
2 changed files with 94 additions and 63 deletions

View File

@@ -175,9 +175,10 @@ function heci_create()
.createEvent('error')
.addMethod('connect', function _connect(guid, options)
{
console.info1('connect()');
console.info1('connect(' + guid + ')');
this.doIoctl(this.heciParent.IOCTL.CLIENT_CONNECT, guid, Buffer.alloc(16), function _onconnect(status, buffer, opt)
{
console.info1('doIoctl(): onConnect => ' + status);
if(status!=0)
{
console.info1('HECI Connection Error [' + this.LastError + ']');