From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yw0-x22c.google.com (mail-yw0-x22c.google.com [IPv6:2607:f8b0:4002:c05::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id ACC361A1E57 for ; Tue, 25 Oct 2016 02:30:43 -0700 (PDT) Received: by mail-yw0-x22c.google.com with SMTP id u124so33602857ywg.3 for ; Tue, 25 Oct 2016 02:30:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=L8+G+xmtxdf8dQ35ql531aa6x4UnEJBOubrQs0OrPi8=; b=dEYAds1iJjAbJnOkZ1rPQaL/sPvWlj8xqf6OkmLbpw9liTNvfgpqHT0ESeTYBSAkGT fATnDtAVaWK6X/2UL9aou2aAYkOoOQb+5C6zBSJLSXRfxquzTlSBKSPDrOeIvnR+q7zN QKZJcJWE2vGYAeTtxMJtEENrD3TUjDrQSK2A8ew8Zm69tvyUQHr6JZzB89/hYXTWv7ab Ts8TvZ+MYL9I9OeWG3RJPh7BN66yQBY1AbnJaEzFWer+ft29Ud0w4B9xk6gRHgiWQv4F PuCUWvCoUM8mKT4ihn9xDsB52vteppTVHYJ4b/TowSsgAGGL5kCjZHT420iRx/3zK29O S/1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=L8+G+xmtxdf8dQ35ql531aa6x4UnEJBOubrQs0OrPi8=; b=HF81J6G3CxqXyqFVWBxdKDW2tSNriSVK7PHYWP86i3zT2nrFHfCJ3MInMB3sN4UIWt aEUbCXvtrdedi+wha3z6swOCp6oiXbCGXVNAJjLS1KMYiyOvI+2fqN+SSeSNOmqf6JvT +MKrVjeZ5ZBrHmTKqR9AQka1d6wJQpgZT/4/hA3OIvU3ukWWNOiPJW2fA8w9PkC+0bDR ps7Sy2h0xwZVc3E9NZ83OasXfhfjS8nYwUQpAaLWGmKf78iY/LQrH9eU5OY7Wn78OupF w1hziWlCTBLlzX+ZXFiUIr3haCJntweA9ETQUn638r6RxaztLpDC3uSBgEANPzQg/ABF BJsw== X-Gm-Message-State: ABUngvdy4X13YgIbKP5RsolB1830NJfU+8itkoDksJGfFpku/AYPADqMidK34lFZEr3GVHr8TkyBCiWIe++B4w== X-Received: by 10.36.178.68 with SMTP id h4mr965748iti.35.1477387842490; Tue, 25 Oct 2016 02:30:42 -0700 (PDT) MIME-Version: 1.0 From: GN Keshava Date: Tue, 25 Oct 2016 09:30:31 +0000 Message-ID: To: "edk2-devel@lists.01.org" X-Content-Filtered-By: Mailman/MimeDel 2.1.21 Subject: COM port usage in UEFI X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Oct 2016 09:30:44 -0000 Content-Type: text/plain; charset=UTF-8 Hi all, In my UEFI application, I'm using Serial protocol to access COM port. I'm able to access COM port successfully. But I'm confused on how we can get user input regarding which COM port the user wants to access. *Example, I have already a Windows application for the same, where user selects the COM port number he wants to access, such as COM1: , COM30: etc.* In UEFI, I'm using COM port Handle Index (which user gets/uses in *sermod *command, like , *myapp.efi 31F* , where 31F is com port handle index). Is this best way possible in UEFI? Or is it better to use HANDLE itself? Or is there any way to get input as COM port number same as Windows app? Thanks! Regards, Keshava