From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2] package/python-bluezero: new package
Date: Wed, 18 Sep 2019 21:15:22 +0200 [thread overview]
Message-ID: <20190918211522.28a411b7@windsurf> (raw)
In-Reply-To: <e0dd3e01-9b03-a753-4c89-21d9926cef33@mind.be>
On Wed, 18 Sep 2019 20:08:01 +0200
Arnout Vandecappelle <arnout@mind.be> wrote:
> > Python-bluezero has 4 main modules: central.py, peripheral.py, observer.py and broadcaster.py.
> > central.py, peripheral.py and broadcaster.py use BlueZ through D-BUS,
> > but observer.py uses python-aioblescan instead. And python-aioblescan uses AF_BLUETOOTH sockets.
> >
> > So depending on what part of python-bluezero you use, it depends on D-Bus/BlueZ or python-aioblescan.
> > Personally I use python-bluezero in two projects. In the first project I use only peripheral.py (D-Bus/BlueZ).
> > And in the second project I?m using observer.py (python-aioblescan), which means I don?t need D-Bus/BlueZ in my second project.
> >
> > How to set dependencies in this situation?
>
> I think it's too complicated to handle with Kconfig, so I would just explain it
> in the help text. E.g. "For central.py, peripheral.py and broadcaster.py you
> need to enable the bluez5_utils package. For observer.py, you need to enable the
> python-aioblescan package."
I entirely agree with this, and I was going to suggest exactly the same.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2019-09-18 19:15 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-30 15:47 [Buildroot] [PATCH 1/1] package/python-bluezero: new package Grzegorz Blach
2019-09-03 21:24 ` [Buildroot] [PATCH v2] " Grzegorz Blach
2019-09-17 21:27 ` Thomas Petazzoni
2019-09-18 9:49 ` Grzegorz Blach
2019-09-18 18:08 ` Arnout Vandecappelle
2019-09-18 19:15 ` Thomas Petazzoni [this message]
2019-09-19 10:47 ` Grzegorz Blach
2019-09-25 20:43 ` Thomas Petazzoni
2019-09-26 19:31 ` Grzegorz Blach
2019-09-19 10:42 ` [Buildroot] [PATCH v3] Python library for Bluetooth Low Energy (BLE) on Linux Grzegorz Blach
2019-09-26 19:27 ` [Buildroot] [PATCH v4] package/python-bluezero: new package Grzegorz Blach
2019-09-27 20:38 ` Thomas Petazzoni
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=20190918211522.28a411b7@windsurf \
--to=thomas.petazzoni@bootlin.com \
--cc=buildroot@busybox.net \
/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