Linux bluetooth development
 help / color / mirror / Atom feed
From: Arthur LAMBERT <lambertarthur22@gmail.com>
To: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Cc: "linux-bluetooth@vger.kernel.org" <linux-bluetooth@vger.kernel.org>
Subject: Re: gatt server and reset of hci device
Date: Mon, 27 Jun 2016 17:54:13 +0200	[thread overview]
Message-ID: <20160627155413.GA5294@arthur-bzh> (raw)
In-Reply-To: <CABBYNZ+c4mFuBUsR3uzOnMKMKJV-3GXkJiDZESoWzBvnXRg6Yg@mail.gmail.com>

> Is that something preventing you to use bluetoothd and just create a
> plugin or use the GATT API for your server? Manually using hciconfig
> is not recommended since it may interfere with other users, for manual
> testing it is actually recommended to use btmgmt or bluetoothd +
> bluetoothctl. Also note that having btgatt-server along side with
> bluetoothd will not work because both listen on the same channel and
> the kernel can only redirect the packets to one process.

If I want to properly implement custom gatt service with dbus instead of low c api.
Can we use the python script test/example-gatt-server as reference ?
Is there any example in c using glibdbus ?

Is it normal that I am not able to run it with success ?


* Run bluetoothd with experimental mode enable :
sudo ./bluetoothd -E

* Run python script from test directory :
[arthur ] python3  ./example-gatt-server
Failed to register application: org.bluez.Error.Failed: No object received

Thanks,
Arthur.

  parent reply	other threads:[~2016-06-27 15:54 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-11 12:51 gatt server and reset of hci device Arthur LAMBERT
2016-05-12  8:39 ` Luiz Augusto von Dentz
2016-05-12  9:56   ` Arthur LAMBERT
2016-06-27 15:54   ` Arthur LAMBERT [this message]
2016-06-29  7:20     ` Tobias Svehagen
  -- strict thread matches above, loose matches on Subject: below --
2016-06-29 12:33 Arthur LAMBERT
2016-06-29 13:22 ` Tobias Svehagen
2016-06-29 13:31 Arthur LAMBERT
2016-06-29 13:39 ` Tobias Svehagen
2016-07-07 14:55 Arthur LAMBERT

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=20160627155413.GA5294@arthur-bzh \
    --to=lambertarthur22@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox