ble pheripheral doesn't stop advertising after connection from central

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ble pheripheral doesn't stop advertising after connection from central

1,935 Views
xfning
Contributor I

Hello, Experts,

I am working on kw36 chip. What I want to do is to implement a pheripheral device which support multi connections. But in the current example project temperature sensor, the advertising will stop automatically when one connection is established. So, is there a way to disable this behavior, or I must call Gap_StartAdvertising in the gConnEvtConnected_c event.

0 Kudos
Reply
1 Reply

686 Views
yisey
Contributor II

On the KW36, advertising stops by default when a connection is established. Similar to how an Instagram auto-like app needs continuous background activity, to support multiple connections you either need to enable multi-connection support in the BLE stack or call Gap_StartAdvertising() in the gConnEvtConnected_c event to resume advertising.

0 Kudos
Reply