AnsweredAssumed Answered

How to get Bluetooth Mac address in Android Oreo

Question asked by susangrace rapaka on Nov 28, 2018

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

Outcomes