Get device by index from whitelist? #478
|
Hi, is there a way to get a device by index by iterating through the whitelist? I have a whitelist which contains the addresses of all devices I'm interested in, as in https://github.com/h2zero/NimBLE-Arduino/tree/release/1.4/examples/NimBLE_Scan_Whitelist. It seems I still have to iterate through all devices found to get data from the device I'm looking for, because there is only a function What I'm doing now is: What I would actually like to do is: Or maybe I missed something? Best regards |
Replies: 5 comments
|
There is no interface for this since there is no link between the whitelist and the scan results (it's just a filter). |
|
Thank you for the answer. Can I get the device from the address then? |
|
There is no interface for this either, sorry. |
|
Thanks again, also for implementing this great library! |
There is no interface for this since there is no link between the whitelist and the scan results (it's just a filter).