All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Stotland, Inga" <inga.stotland@intel.com>
To: "luiz.dentz@gmail.com" <luiz.dentz@gmail.com>
Cc: "linux-bluetooth@vger.kernel.org" <linux-bluetooth@vger.kernel.org>
Subject: Re: [PATCH BlueZ 0/1] Usage of bt_shell with ell
Date: Tue, 3 Apr 2018 05:17:13 +0000	[thread overview]
Message-ID: <1522732632.2908.2.camel@intel.com> (raw)
In-Reply-To: <CABBYNZJXM0j0JSymhkGkDqhi2ooQtdNj_w+PShhjQ_PTE=Lm9A@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1369 bytes --]

Hi Luiz,

On Mon, 2018-04-02 at 10:12 +0300, Luiz Augusto von Dentz wrote:
> Hi Inga,
> 
> On Mon, Apr 2, 2018 at 5:34 AM, Inga Stotland <inga.stotland@intel.co
> m> wrote:
> > For test code that relies on underlying ell-based implementation, I
> > would
> > like to use the menues and navigation features provided by bt_shell
> > without starting glib's mainloop.
> > The attached patch allows to do just that. Perhaps, this is not
> > most elegant
> > solution, but it seems to be less invasive.
> 
> 
> It should be possible to create ell backend for mainloop/io, etc,
> that
> the shell uses, in fact btmgmt already do use a different mainloop
> than glib.
> 

Right, it's not a glib mainloop. Anyway, after some digging around,
figured it out how to interface ell-based io with bt_shell. 

> > Inga Stotland (1):
> >   shared/shell: Add commands to allow shell usage with external
> > mainloop
> > 
> >  src/shared/shell.c | 42 ++++++++++++++++++++++++++++++++++++++++--
> >  src/shared/shell.h |  3 +++
> >  2 files changed, 43 insertions(+), 2 deletions(-)
> > 
> > --
> > 2.14.3
> > 
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-
> > bluetooth" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 
> 
Inga

[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 3266 bytes --]

      reply	other threads:[~2018-04-03  5:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-02  2:34 [PATCH BlueZ 0/1] Usage of bt_shell with ell Inga Stotland
2018-04-02  2:34 ` [PATCH BlueZ 1/1] shared/shell: Add commands to allow shell usage with external mainloop Inga Stotland
2018-04-02  7:12 ` [PATCH BlueZ 0/1] Usage of bt_shell with ell Luiz Augusto von Dentz
2018-04-03  5:17   ` Stotland, Inga [this message]

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-all 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=1522732632.2908.2.camel@intel.com \
    --to=inga.stotland@intel.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=luiz.dentz@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.