mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-16 13:15:03 +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:
@@ -52,7 +52,7 @@ namespace PepperDash.Essentials
|
|||||||
|
|
||||||
DateTime LastAckMessage;
|
DateTime LastAckMessage;
|
||||||
|
|
||||||
public string SystemUuid;
|
public string SystemUuid { get; private set; }
|
||||||
|
|
||||||
List<MobileControlBridgeBase> RoomBridges = new List<MobileControlBridgeBase>();
|
List<MobileControlBridgeBase> RoomBridges = new List<MobileControlBridgeBase>();
|
||||||
|
|
||||||
|
|||||||
@@ -183,6 +183,10 @@ namespace PepperDash.Essentials.Room.MobileControl
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public const uint ServerUrl = 402;
|
public const uint ServerUrl = 402;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
/// 403
|
||||||
|
/// </summary>
|
||||||
|
public const uint QrCodeUrl = 403;
|
||||||
|
/// <summary>
|
||||||
/// 512
|
/// 512
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public const uint RoomSpeedDialNamesJoinStart = 512;
|
public const uint RoomSpeedDialNamesJoinStart = 512;
|
||||||
@@ -907,6 +911,7 @@ namespace PepperDash.Essentials.Room.MobileControl
|
|||||||
Debug.Console(1, this, "Server user code changed: {0}", UserCode);
|
Debug.Console(1, this, "Server user code changed: {0}", UserCode);
|
||||||
EISC.StringInput[StringJoin.UserCodeToSystem].StringValue = UserCode;
|
EISC.StringInput[StringJoin.UserCodeToSystem].StringValue = UserCode;
|
||||||
EISC.StringInput[StringJoin.ServerUrl].StringValue = Parent.Config.ClientAppUrl;
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -101,8 +101,16 @@ namespace PepperDash.Essentials.DM
|
|||||||
return (int)Tx.VideoSourceFeedback;
|
return (int)Tx.VideoSourceFeedback;
|
||||||
});
|
});
|
||||||
AudioSourceNumericFeedback = new IntFeedback(() =>
|
AudioSourceNumericFeedback = new IntFeedback(() =>
|
||||||
|
{
|
||||||
|
try
|
||||||
{
|
{
|
||||||
return (int)Tx.AudioSourceFeedback;
|
return (int)Tx.AudioSourceFeedback;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
HdmiIn1HdcpCapabilityFeedback = new IntFeedback("HdmiIn1HdcpCapability", () =>
|
HdmiIn1HdcpCapabilityFeedback = new IntFeedback("HdmiIn1HdcpCapability", () =>
|
||||||
|
|||||||
Reference in New Issue
Block a user