Skip to content
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

hci: implement set random MAC address #229

Draft
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

xudongzheng
Copy link

No description provided.

@aykevl
Copy link
Member

aykevl commented Jan 22, 2024

I'm a bit hesitant with this PR because it's a bit more complicated than that: there are three different kinds of random MAC addresses. See this post for details: https://novelbits.io/bluetooth-address-privacy-ble/. This PR doesn't distinguish between the three, which means the API will need to change in the future.

I plan on implementing private addresses in the bluetooth package eventually, after implementing pairing and bonding.

Signed-off-by: Xudong Zheng <7pkvm5aw@slicealias.com>
Signed-off-by: Xudong Zheng <7pkvm5aw@slicealias.com>
@xudongzheng xudongzheng marked this pull request as draft January 28, 2024 20:58
@xudongzheng xudongzheng changed the title ninafw: implement set random MAC address hci: implement set random MAC address Jan 28, 2024
@xudongzheng
Copy link
Author

That sounds reasonable. I'll mark the PR as a draft for now until there is a bit more clarity around how MAC addresses should be stored internally.

I'll keep this semi-updated as it's useful for #230.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants