ble pheripheral doesn't stop advertising after connection from central

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

ble pheripheral doesn't stop advertising after connection from central

1,798件の閲覧回数
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 件の賞賛
返信
1 返信

549件の閲覧回数
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 件の賞賛
返信