- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi jamesle1
Per this previously closed thread: hello-client switch to slaves after smartphone connectes
New updates from the developers, why the handle starts with 0x41 instead of 0x40?
How many connections can be open, if the index starts with 1 instead of 0? Can there be only 7 connections at the same time?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Matthias,
The index starting point is not important.
The maximum connections are 8.
Thanks
JT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi there.
This is the response that I got:
Handle is always unique. For single connection it can be 0x40 or 0x41. hello_client just references control block based on con_handle - 0x40 which can happen to be [0] or [1].
By default 20736/20737 supports 4 connections which can be bumped to 6 by calling
blecm_setmaxconnection(6);
As for the second comment, one of the members in our team actually made connections with 8 peripherals before, which I think is the limit with Bluetooth low energy devices. But I heard from the developers that the more connections that you have, the more flaky the connections will be. So maybe keep the connection to between 4 or 6?
I hope this helps. Thanks.
James.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi jamesle1
But if I set max connection to 6, I can really connect 6 devices even with index starting from 1 instead 0?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Matthias,
The index starting point is not important.
The maximum connections are 8.
Thanks
JT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi JT,
Thank you very much.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Matthias,
You are quite welcome.
Let us know if you run into other issues.
Thanks
JT