public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: GN Keshava <keshava.gn@gmail.com>
To: "edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Subject: COM port usage in UEFI
Date: Tue, 25 Oct 2016 09:30:31 +0000	[thread overview]
Message-ID: <CABKwMdvMbLxhaQ3Rc7xvjcqPQbq1GX-MtLWWP4UE-b4KTDetAg@mail.gmail.com> (raw)

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


             reply	other threads:[~2016-10-25  9:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-25  9:30 GN Keshava [this message]
2016-10-25 16:50 ` COM port usage in UEFI Andrew Fish
2016-10-25 16:57   ` Michael Zimmermann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CABKwMdvMbLxhaQ3Rc7xvjcqPQbq1GX-MtLWWP4UE-b4KTDetAg@mail.gmail.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox