Thank you, @fanoush.
I'm using a couple of different laptops for updating firmware or apps and programming for my watch and normally my watch is connected to my iPhone. Sometimes, even though I thought I had disconnected one device to connect to the other, it's still connected to the previous device. So I thought it would be useful to show which device my watch is connected to. It works fine with the NRF.getSecurityStatus().connected_addr for my laptops, but because of the security feature on the iPhone, BLE address randomization, which I can't disable it, my watch shows random looking BLE addresses. That's why I wanted to find out whether there is any way to get the device name instead of the address.
I will look into other options.
Thanks.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Thank you, @fanoush.
I'm using a couple of different laptops for updating firmware or apps and programming for my watch and normally my watch is connected to my iPhone. Sometimes, even though I thought I had disconnected one device to connect to the other, it's still connected to the previous device. So I thought it would be useful to show which device my watch is connected to. It works fine with the
NRF.getSecurityStatus().connected_addr
for my laptops, but because of the security feature on the iPhone, BLE address randomization, which I can't disable it, my watch shows random looking BLE addresses. That's why I wanted to find out whether there is any way to get the device name instead of the address.I will look into other options.
Thanks.