list out nearby advertising BLE devices

Currently, we've started developing a new project using the nRF52832 as our controller. Our requirement is quite simple: we need to list out nearby advertising BLE devices and their corresponding advertising packets. How can we achieve this? Are there any suggestions or example projects available for this?

SDK: nRF5 SDK 17.0.2

IDE: Segger Embedded Studio 5.42a

Controller: nRF52832

Related