Different scanner got different MAC address for same peripheral , why?

Dear Support

I am developing a peripheral and try to scan it with my phone using nrf Connect app for Mobile and a DK52 using nrf connect for desktop, one thing I notice is that they scanned same peripheral , but shows different MAC address. The one on desktop app seems to be the right one as I try to read it in code using bt_read_static_addr(), but app can connect to it and exchange data. I wonder how my mobile app get a different MAC address? The desk top says it is a random static MAC address, doe sit mean it is fixed always?

Thanks

Ping

Parents
  • Hi Ping, 

    PingISTL said:
    By the way - another question , the remote controller is bonded, what does it mean?

    This may explain why it's different on your phone. Bonded means the 2 devices (your phone and the remote) have paired before. They have exchanged identities and encryption key. So the connection is encrypted every time they connect. You can remove that by go to Bluetooth Setting and choose "Forget this device" to remove bond information. Note that you may need to erase the chip and flash the application again to wipe out the bond information on the chip. 

    Most likely because it's bonded with your phone , the phone display the static address of it instead of the random address. Or it's the cache address from the last time it connected and bonded. Removing the bond information should be able to fix this. 

Reply
  • Hi Ping, 

    PingISTL said:
    By the way - another question , the remote controller is bonded, what does it mean?

    This may explain why it's different on your phone. Bonded means the 2 devices (your phone and the remote) have paired before. They have exchanged identities and encryption key. So the connection is encrypted every time they connect. You can remove that by go to Bluetooth Setting and choose "Forget this device" to remove bond information. Note that you may need to erase the chip and flash the application again to wipe out the bond information on the chip. 

    Most likely because it's bonded with your phone , the phone display the static address of it instead of the random address. Or it's the cache address from the last time it connected and bonded. Removing the bond information should be able to fix this. 

Children
No Data
Related