Skip to content

how to know a client connects to/ disconnects to as a gatt server? #150

Answered by surban
YFJiang asked this question in Q&A
Discussion options

You must be logged in to vote

There is no way to know whether a client is connected to a GATT server in BlueZ.

If you need that information, the client should subscribe to a characteristic, which will cause a notification session to start. See CharacteristicNotify.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@YFJiang
Comment options

@surban
Comment options

Answer selected by YFJiang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #149 on July 01, 2024 08:45.