mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-13 04:26:49 +00:00
Merge pull request #1245 from PepperDash/fix-add-client
Update `mobileadduiclient` command & `CrestronGenericBaseDevice.CustomActivate` method
This commit is contained in:
commit
403c03491c
2 changed files with 9 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ namespace PepperDash.Essentials.Core
|
||||||
Hardware.OnlineStatusChange += Hardware_OnlineStatusChange;
|
Hardware.OnlineStatusChange += Hardware_OnlineStatusChange;
|
||||||
CommunicationMonitor.Start();
|
CommunicationMonitor.Start();
|
||||||
|
|
||||||
return true;
|
return base.CustomActivate();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
||||||
|
|
@ -679,6 +679,14 @@ namespace PepperDash.Essentials.WebSocketServer
|
||||||
}
|
}
|
||||||
|
|
||||||
var values = s.Split(' ');
|
var values = s.Split(' ');
|
||||||
|
|
||||||
|
if(values.Length < 2)
|
||||||
|
{
|
||||||
|
CrestronConsole.ConsoleCommandResponse("Invalid number of arguments. Please provide a room key and a grant code");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
var roomKey = values[0];
|
var roomKey = values[0];
|
||||||
var grantCode = values[1];
|
var grantCode = values[1];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue