Android Question Own Bluetooth Mac Address

Mark Ryan Penafiel

Member
Licensed User
Longtime User
In the Bluetooth admin example there is code you scan available Bluetooth and Connect to Mac address

Bluetooth Manager:
Public Sub ConnectTo (Device As NameAndMac)
    serial.Connect(Device.Mac)
End Sub

is the Device.Mac, the mac address of bluetooth or the phone? is this unique? and how can i know the my own device mac address

Thank you
 

KZero

Active Member
Licensed User
Longtime User
What happens if you pair a bluetooth device? you save the randomized MAC address? on Android 10 above?
the other device will always see the same MAC address used in the first pairing,
but if you connected to another device, this new device will see another MAC address.
 
Upvote 0

Mark Ryan Penafiel

Member
Licensed User
Longtime User
I need a unique identifier via bluetooth with pairing, want to build similar to this
can you suggest some identifier i can use
 
Upvote 0

Mark Ryan Penafiel

Member
Licensed User
Longtime User
I will create an app will log a unique ID per phone via bluetooth. Im thinking of using MAC address provided by bluetooth manager. but as mentioned, it is changes. What else i can use, without internet and via just using bluetooth similar to the covid19 contact tracing app in singapore.
 
Last edited:
Upvote 0
Top