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 |
Beta Was this translation helpful? Give feedback.
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). |
Beta Was this translation helpful? Give feedback.
-
Thank you for the answer. Can I get the device from the address then? |
Beta Was this translation helpful? Give feedback.
-
There is no interface for this either, sorry. |
Beta Was this translation helpful? Give feedback.
-
Thanks again, also for implementing this great library! |
Beta Was this translation helpful? Give feedback.
There is no interface for this since there is no link between the whitelist and the scan results (it's just a filter).