I sniffer the packets when I use a phone to connect to a BLE device.
However, in the packet with CONNECT_REQ label, the source address (init address) is not the bluetooth address of my mobile phone. So what is this init address from?
I sniffer the packets when I use a phone to connect to a BLE device.
However, in the packet with CONNECT_REQ label, the source address (init address) is not the bluetooth address of my mobile phone. So what is this init address from?
rxadd is for advertiser address, how does it impact local address? and I don't want to use random address, but a specified address
@yiran & shibshab: Random address doesn't mean it can be changed all the time. It only means that it's not a public address. Random address could be static ( random static device address) or non-static (random resolvable address).
iOS device has random resolvable address. It changes the address every 15 minutes for privacy reason. But the IRK to resolve it remains. So that the phone can recognize the phone when reconnecting.
Most Android phone has random static address and public address.
Again, please let me know how did you get to know that the InitAddress is not your phone's address.
But can I set the address by myself? @Huang Bui I just compare the init address get from sniffer and mac address from hardware info, in android ,it's setting>about phone>status info>bluetooth address
@Yiran: No we can't change the address of the phone, only the nRF51 side.
The address you see in the hardware info is the public address. One device can have more than 1 address. That public address usually used in BREDR (bluetooth classic).
@Hung Bui So can I change the random address to what I want? or it is just a Random address