Merge pull request #3039 from jsastriawan/meshcore-apf-uuid

Fix capitalization uuid to UUID to make console apf working
This commit is contained in:
Ylian Saint-Hilaire 2021-08-18 11:27:44 -07:00 committed by GitHub
commit deec47ac7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4068,7 +4068,7 @@ function processConsoleCommand(cmd, args, rights, sessionid) {
mpskeepalive: 60000,
clientname: require('os').hostname(),
clientaddress: '127.0.0.1',
clientuuid: meshCoreObj.intelamt.uuid,
clientuuid: meshCoreObj.intelamt.UUID,
conntype: connType // 0 = CIRA, 1 = Relay, 2 = LMS. The correct value is 2 since we are performing an LMS relay, other values for testing.
};
if ((apfarg.clientuuid == null) || (apfarg.clientuuid.length != 36)) {