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@xxxxxxxx > 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@xxxxxxxxxxxxxxx > > More majordomo info at http://vger.kernel.org/majordomo-info.html > > > Inga
Attachment:
smime.p7s
Description: S/MIME cryptographic signature