This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to configure device as Observer rather than Central

Hi,

 

I am using nRF52840, S140 7.0.1. I am using ble_app_blinky application.

 

Till now I was configuring one board as Connectable Advertiser and other device as Central.

But in other use case, I want to configure one device as Broadcaster and the other as Observer.

For Broadcaster I can configure as either BLE_GAP_ADV_TYPE_NONCONNECTABLE_SCANNABLE_UNDIRECTED or BLE_GAP_ADV_TYPE_NONCONNECTABLE_NONSCANNABLE_UNDIRECTED.

 

But on other device, how to configure as Observer rather than Central. Do I need to change scan_init(). I am seeing default Scan parameter and Connection interval configurations. But not sure how to configure as Observer.

 

Thanks & Regards

Vishnu Beema

Parents Reply Children
No Data
Related