Use one bluetooth module to discover the other module of different brands

Hello! Everyone. I am a fresher for Arduino. I am working on a project of Bluetooth communication between one Bluetooth module and another Bluetooth module of different brand. I am wondering if Arduino has a library for discovering a Bluetooth module and establishing the link for them. There are some codes for android to do these tasks, therefore, I guess there might be some for Arduino as well. However, I failed to find them in the library. Could someone kindly help me out?
Thank you in advance^^

I don't think you need a library for this.