From: Szymon Janc <szymon.janc@codecoup.pl>
To: "Kristóf Horváth" <horvath.kristof.attila@gmail.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: Simple SDP and RFCOMM example
Date: Tue, 12 Nov 2019 14:48:29 +0100 [thread overview]
Message-ID: <5852113.xjoqjODIPz@ix> (raw)
In-Reply-To: <CAMGddftdorPGAzJbQzwLbaKNjfSrbayzGzKFb7iMBSwNQvsf7g@mail.gmail.com>
Hi,
On Tuesday, 12 November 2019 10:15:38 CET Kristóf Horváth wrote:
> Hello,
>
> I started a project with Bluetooth, but most of the resources on the
> internet use older versions of BlueZ (and often mention using
> compatibility mode to hack the legacy code). I think the reason for
> the hacking is that there is not any tutorial for BlueZ 5 (or it is in
> some very hidden place). I browsed the page
> https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/test for
> examples, and I found some interesting codes, but I could not find
> what I was searching for.
>
> I would like to see a simple Python code that can register a service
> via SDP and receive the incoming RFCOMM connections. Could you provide
> an example like that?
>
> Thank you for your help.
There is test/test-profile and test/test-hfp in BlueZ source code.
--
pozdrawiam
Szymon Janc
next prev parent reply other threads:[~2019-11-12 13:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-12 9:15 Simple SDP and RFCOMM example Kristóf Horváth
2019-11-12 13:48 ` Szymon Janc [this message]
2019-11-13 17:23 ` Kristóf Horváth
2019-11-13 18:03 ` Barry Byford
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=5852113.xjoqjODIPz@ix \
--to=szymon.janc@codecoup.pl \
--cc=horvath.kristof.attila@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
/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