polarofficial / polar-ble-sdk

Repository includes SDK and code examples. More info https://polar.com/en/developers
Other
475 stars 153 forks source link

hi,I would like to know the SDK can provides to Bluetooth Mac address ? #366

Closed EdenChow closed 11 months ago

EdenChow commented 1 year ago

Platform your question concerns:

Device:

Description:

jimmyzumthurm commented 1 year ago

Hi @EdenChow , the MAC address is an attribute of PolarDeviceInfoclass that you can access with deviceConnectedcallback, see here : https://github.com/polarofficial/polar-ble-sdk/blob/fdb5bd0c485eecbfc857708f8f9c65efd02052ae/sources/Android/android-communications/library/src/sdk/java/com/polar/sdk/api/PolarBleApiCallback.kt#L25