add debug statement for catching EISC registration result.

This commit is contained in:
Andrew Welker
2020-07-08 11:47:36 -06:00
parent 615c0d1545
commit a1ee157ab8
2 changed files with 7 additions and 2 deletions

View File

@@ -74,7 +74,10 @@ namespace PepperDash.Essentials.Bridges
}
}
Debug.Console(1, this, "Devices Linked.");
Eisc.Register();
var registerResult = Eisc.Register();
Debug.Console(2, this, "Registration result: {0}", registerResult);
});
}

View File

@@ -120,7 +120,9 @@ namespace PepperDash.Essentials.Core.Bridges
if (bridge != null) bridge.LinkToApi(Eisc, d.JoinStart, d.JoinMapKey, this);
}
Eisc.Register();
var registerResult = Eisc.Register();
Debug.Console(2, this, "Registration result: {0}", registerResult);
});
}