The advertisement packets contain the name and service uuid. (Provided your peripherals includes these in the Adv packet). You can parse the adv data to get the required data., Refer to the BLE Specification for advertisement data format.
- Madhu Sudhan
Thanks Mr. Madhu Sudhan, It helps me lot.