Skip to main content
Akos P
Associate
Sep 21, 2020 6:54 PM UTC
Question

Simultaneous BLE connections on WB55

Hi,

I'm using the STM32WB55 as a BLE peripheral. The goal is to support multiple simultaneous connections with different Centrals, so that the peripheral can broadcast its characteristics to multiple clients.

To accomplish that, my code re-enables advertising after a connection has been established, e.g. in EV_LE_CONN_COMPLETE I call aci_gap_set_discoverable() again.

This works exactly two times (using the custom template generated by CubeMX). However, after the second central connects, additional aci_gap_set_discoverable() calls fail with the error 0x0C.

Any pointers on why this is happening is greatly appreciated.

This topic has been closed for replies.

13 replies

BGeig.3
Associate II
Dec 5, 2022 10:47 AM UTC

Thanks, sound like an interesting topology. Didn't think about it till now.

Maybe it's possible to avoid the additional complexity by combining multiple sensors on one peripheral so that the max. of 8 is enough. But right now we don't now and therefore it's good to have a backup solution in mind. :folded_hands: