How to Advertising and Scan at the same time

I am now using 52832 to do a project, need to send a BLE broadcast package first, and then start scan, what examples can I refer to?

Attachment is my TX/RX process´╝îand I need to implement the device B image description