From c452ef90bb518e4f7aeefe7cca527e0cdf4c3fae Mon Sep 17 00:00:00 2001 From: Andrew Welker Date: Fri, 20 Nov 2020 12:40:33 -0700 Subject: [PATCH] add QR checksum back --- .../VideoCodec/CiscoCodec/CiscoSparkCodec.cs | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/essentials-framework/Essentials Devices Common/Essentials Devices Common/VideoCodec/CiscoCodec/CiscoSparkCodec.cs b/essentials-framework/Essentials Devices Common/Essentials Devices Common/VideoCodec/CiscoCodec/CiscoSparkCodec.cs index a511cf2d..d55a7169 100644 --- a/essentials-framework/Essentials Devices Common/Essentials Devices Common/VideoCodec/CiscoCodec/CiscoSparkCodec.cs +++ b/essentials-framework/Essentials Devices Common/Essentials Devices Common/VideoCodec/CiscoCodec/CiscoSparkCodec.cs @@ -598,12 +598,16 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.Cisco SendText("xconfiguration userinterface custommessage: \"Scan the QR code with a mobile phone to get started\""); SendText("xconfiguration userinterface osd halfwakemessage: \"Tap the touch panel or scan the QR code with a mobile phone to get started\""); + var checksum = !String.IsNullOrEmpty(mcBridge.QrCodeChecksum) + ? String.Format("checksum: {0} ", mcBridge.QrCodeChecksum) + : String.Empty; + SendText(String.Format( - "xcommand userinterface branding fetch type: branding url: {0}", - mcBridge.QrCodeUrl)); + "xcommand userinterface branding fetch {1}type: branding url: {0}", + mcBridge.QrCodeUrl, checksum)); SendText(String.Format( - "xcommand userinterface branding fetch type: halfwakebranding url: {0}", - mcBridge.QrCodeUrl)); + "xcommand userinterface branding fetch {1}type: halfwakebranding url: {0}", + mcBridge.QrCodeUrl, checksum)); } private void SendBrandingUrl()