ntById('deviceProductName').textContent = data.deviceInfo.productName || 'Unknown Product';
            document.getElementById('deviceIdDisplay').textContent = `ID: ${data.deviceInfo.deviceId || currentDeviceId}`;
            
            // Only show serial number if it exists
            const serialSpan = document.getElementById('deviceSerial');
            if (data.deviceInfo.serialNumber) {
                serialSpan.textContent = `SN: ${data.deviceInfo.serialNumber}`;
                serialSpan.style