Need to retrieve the Bluetooth Mac

kimble01

Member
Licensed User
Longtime User
I'm building an application that needs to know if it's within proximity to it's parent device. To achieve this, I thought the parent device would store it's bluetooth (bt) guid and the the child device could use this to pair and I'd know we were in proximity.

I've searched everywhere on this forum and I'm missing how to retrieve the parent's BT guid to be able to store it.

I'm using the bluetooth admin library within the parent device, and intend on using autopair library for the child device...just gotta solve this problem first!

Thanks in advance for any help.
Gary

Found the answer in a rather round-about way: The Bluetooth Admin library encompasses the Serial Library for communication. The Serial Library has the Bluetooth Name (totally useless as it is very generic) and Address (the actual Bluetooth Mac Address of the device) which is what I needed.
 
Last edited:
Top