8000 Have the scan() API return an object of results. · Issue #30 · nkolban/esp32-snippets · GitHub
[go: up one dir, main page]

Skip to content
Have the scan() API return an object of results. #30
Closed
@nkolban

Description

@nkolban

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0