From db6ab3ee9896774bee07e0ea5c4ea8a8f87717c4 Mon Sep 17 00:00:00 2001 From: Andrew Welker Date: Wed, 18 Nov 2020 09:36:39 -0700 Subject: [PATCH] #497 Add logic to set checksum value --- .../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 ea39bb65..2501bf22 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 @@ -516,12 +516,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()