Android Bluetooth UUID as the client to connect to the server, if the UUID only knows the server?

The question arose, googling the info did not understand until the end.

There is a server application which opened a socket, it listens to incoming Bluetooth connections, on the server there is a method listenUsingRfcommWithServiceRecord(UUID) with the UUID. Quote "the Connection is confirmed when the remote device will send a connection request to the UUID specified when registering the server socket". As a device client to know the UUID of the server to connect to it?
July 5th 19 at 00:07
1 answer
July 5th 19 at 00:09
To do this, the server makes itself discoverable, and the client starts the search for Bluetooth devices nearby. Remember pairing two phones together to transfer files or the headphones with a smartphone. Can be sewn into the configuration of the client BSSID of the server and immediately connect to it.

Find more questions by tags AndroidBluetooth