How to get Bluetooth Mac address in Android Oreo

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to get Bluetooth Mac address in Android Oreo

1,813 Views
susangracerapak
Contributor II

Hi,

I am working on Android Oreo on i.Mx6 Sabresd platform. I am working on Porting the Bluetooth Driver. 

From  /hardware/interfaces/bluetooth/1.0/default/bluetooth_address.cc

unable to get Bluetooth address from the Bluetooth interface(bluedroid) so it is generating random BT address, i am getting the following log.

get_local_address:No preset BDA! Generating BDA:22:22:67c6:69:73 for 
prop persist.service.bdroid.bdaddr
get_local_address: This is a bug in this platform!Please Fix!

Please  help me to fix this.

Regards
Susan
Labels (2)
0 Kudos
1 Reply

1,028 Views
diegoadrian
NXP Employee
NXP Employee

Hello,

I apologize for the delay.

Wich Bluetooth chip are you using? Probably, we already have a document about how to set the Bluetooth.

Best regards,

Diego.

0 Kudos