Skip to content

How to run multiple GATT servers #572

Answered by zxzxwu
evan361425 asked this question in Q&A
Discussion options

You must be logged in to vote

Transport cannot be shared by multiple hosts. If you have multiple transports, you can run independent host on each transport like https://github.com/google/bumble/blob/main/examples/run_csis_servers.py.

In fact, running multiple GATT servers on a single device is impossible, because all of them share the same ATT L2CAP channel. So, I think you need to check what's your actual use case and solve them in the other way, instead of reusing the transport.

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by evan361425
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@zxzxwu
Comment options

zxzxwu Oct 20, 2024
Collaborator

@barbibulle
Comment options

@evan361425
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants