BLE Tracker for specific case: Hearing aid using RPA address rotation #8000
Replies: 2 comments 2 replies
|
As I understand it, address rotation in Bangle.js is more for the Bangle itself - so making sure that it rotates its MAC addresses. I could be wrong but I think using it to identify devices that are advertising could be tricky. However do you want to be able to find specific hearing aids, or just find whatever is in range? Because I believe normal bluetooth scanning should be able to determine that there's a hearing aid nearby - it's just that you won't know which one because of the address randomisation? |
I am getting the IRK for google tags, so that I can identify them by name. It works fine. You need to store the resolved address, and the check device you found against it. Have a look at NRF.resolveAddress(id);
I have an app like this, you can very easily change it to support you children's hearing aids, but it is is based on my eucWatch system, not pure bangle. It does run on stock bangle, have a look in this discussion, if you care I can explain how to install it. |
Uh oh!
There was an error while loading. Please reload this page.
I would like to develop a handheld Espruino device locator (estimator, indeed) capable of telling me, using RSSI, how far I am from BLE devices. Those devices are my children's hearing aids (2 children, 4 devices in total), which are using address rotation RPA.
I read some posts related to RPA, especially for Bangle watches but I was unable to fully understand what's implemented in Espruino, what is usable or not.
I understand that my handheld locator needs to first pair/bond with the hearing aids, to obtain their IRK. In practice, I don't know how to retrieve the IRK (I didn't see anything in the doc) and how to use it to recover the device's unique address. Is it done entirely in the SoftDevice ?
If anyone could share some experience using RPA/IRK, I would be happy to read about it :-)
All reactions