From: Arthur LAMBERT <lambertarthur22@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: gatt server and reset of hci device
Date: Wed, 11 May 2016 14:51:02 +0200 [thread overview]
Message-ID: <20160511125102.GC17904@arthur-bzh> (raw)
Hi,
I am working with bluez 5.39. I have a custom gatt server which used c api from
btgatt-server from bluez source. Eveything is working great exept when I reset
hci device. I need to disable bluetooth for few hours for specific use case.
If I run hci down/up and try again to connect to gatt server, the client is able
to connect but services are not available. Moreover my server does not see the
client connexion.
Do I need to make a specific stuff to be able to make it work this use case ?
Output from btgatt-client :
[arthur ] ./btgatt-client -d 00:AE:FA:BC:77:69
Connecting to device... Done
[GATT client]# services
GATT client not initialized
Output from server :
[arthur ] ./mygatt_server
Started listening on ATT channel. Waiting for connections
Thanks,
Arthur.
next reply other threads:[~2016-05-11 12:51 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-11 12:51 Arthur LAMBERT [this message]
2016-05-12 8:39 ` gatt server and reset of hci device Luiz Augusto von Dentz
2016-05-12 9:56 ` Arthur LAMBERT
2016-06-27 15:54 ` Arthur LAMBERT
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=20160511125102.GC17904@arthur-bzh \
--to=lambertarthur22@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