How to get Connected Bluetooth Device Address
The following code snippets will help you getting the Bluetooth Address of the device which is connected to your device.
TBTDevAddr tBTDevAddr = static_cast<TBTSockAddr>(tSockAddr).BTAddr();
Here the iAcceptedSocket is the the socket after connecting to the remote device which available for read/write operations.
Originally taken from Retrieving the connected remote Bluetooth device's Address.