How to set static random address for 1MW in Android

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
AsAl_4421831
Level 2
Level 2
10 replies posted 10 sign-ins 5 replies posted

Hello Everyone,

 

We are using IMX7D with android 9.0 in our product with a 1MW module. I want to set a static random address for the device.

How can this be achieved in android, can someone please shed some on light on it?

 

Thank you

0 Likes
1 Solution
BragadeeshV
Moderator
Moderator
Moderator
First question asked 1000 replies posted 750 replies posted
0 Likes
3 Replies
GauravS_31
Moderator
Moderator
Moderator
10 questions asked 250 solutions authored 250 sign-ins

Do you want to set the address in Wi-Fi or BT interface?

0 Likes
AsAl_4421831
Level 2
Level 2
10 replies posted 10 sign-ins 5 replies posted

Hi @GauravS_31 

I am looking for BT interface in android. So that each of our devices can get a random static address.


Thank you

0 Likes
BragadeeshV
Moderator
Moderator
Moderator
First question asked 1000 replies posted 750 replies posted

Hi @AsAl_4421831 ,

Can you please check if the following link is helpful for you?

https://developer.android.com/reference/android/bluetooth/le/ScanFilter.Builder#setDeviceAddress(jav...

Regards,
Bragadeesh
0 Likes