mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-08-31 19:08:29 +00:00
Adds QR code join to mobile control Ddvc01 room bridge and passes accross QR code url (join 403)
This commit is contained in:
parent
c4a64ab3c2
commit
9b5d7411af
3 changed files with 15 additions and 2 deletions
|
|
@ -182,6 +182,10 @@ namespace PepperDash.Essentials.Room.MobileControl
|
|||
/// 402
|
||||
/// </summary>
|
||||
public const uint ServerUrl = 402;
|
||||
/// <summary>
|
||||
/// 403
|
||||
/// </summary>
|
||||
public const uint QrCodeUrl = 403;
|
||||
/// <summary>
|
||||
/// 512
|
||||
/// </summary>
|
||||
|
|
@ -907,6 +911,7 @@ namespace PepperDash.Essentials.Room.MobileControl
|
|||
Debug.Console(1, this, "Server user code changed: {0}", UserCode);
|
||||
EISC.StringInput[StringJoin.UserCodeToSystem].StringValue = UserCode;
|
||||
EISC.StringInput[StringJoin.ServerUrl].StringValue = Parent.Config.ClientAppUrl;
|
||||
EISC.StringInput[StringJoin.QrCodeUrl].StringValue = string.Format("http://{0}/api/system/{1}/qr", Parent.Config.ServerUrl, Parent.SystemUuid);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue