-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add an adapter iterator class to bluez #4838
Add an adapter iterator class to bluez #4838
Conversation
struct | ||
{ | ||
uint32_t index; | ||
char address[kMaxAddressLength]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
std::string?
I'd posit that we're wasting our time when we try to apply the same constraints we have on tightly constrained code to the Linux port.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree. I have a hard time figuring out when I should/should not use constrained stuff so I default to uglier code.
I would prefer to leave as is for this PR because less changes and CI takes a long time. Will take it into account if I touch this later.
befba4d
to
02aeafe
Compare
Size increase report for "nrfconnect-example-build" from ca099a2
Full report output
|
Size increase report for "esp32-example-build" from ca099a2
Full report output
|
Problem
Python code needs the ability to list available bluez interfaces from code (and likely this would also be very useful within native application code).
Summary of Changes
Adds an 'AdapterIterator' class that is a ble to list available bluez interfaces.