I want to use nRF52840 Device to implement non-connectable advertisement and scan on one board. To be more specific, I want to advertise information for some time period with beacons and then shift to scan mode, scanning for some time.
I am currently trying to use the Beacon sample to implement the advertising part. But it is based on s132, what instructions should I follow to implement it on s140 and nRF52840.
Plus, am I looking at the right sample. Thank you very much if anyone could help me