You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At present, we are returning a std::vector() from scan(). While this is "ok", we can do better by returning an object that is a container of results ... eg.
BLEScanResults
-> getCount() -> Number of results
-> getResult(i) -> Get the ith result
This would provide a nice encaspulation. However, the most important reason (to me) is that it would elminate the need to expose a piece of std::c++ in an Arduino environment.
The text was updated successfully, but these errors were encountered:
At present, we are returning a std::vector() from scan(). While this is "ok", we can do better by returning an object that is a container of results ... eg.
BLEScanResults
-> getCount() -> Number of results
-> getResult(i) -> Get the ith result
This would provide a nice encaspulation. However, the most important reason (to me) is that it would elminate the need to expose a piece of std::c++ in an Arduino environment.
The text was updated successfully, but these errors were encountered: