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

Use nix ioctl macros for hci_get_dev_* #20

Merged
merged 2 commits into from
Dec 20, 2018

Conversation

jmagnuson
Copy link
Contributor

Allows for better cross-platforming by using nix to determine ioctl
parameter casts at compile time.

Adds broader platform support for `SOL_BLUETOOTH`.
Allows for better cross-platforming by using nix to determine ioctl
parameter casts at compile time.
@jmagnuson
Copy link
Contributor Author

Addresses #10. Successfully builds for x86_64-unknown-linux-musl, but only tested ioctl functionality on armv7-unknown-linux-gnueabi.

@mwylde
Copy link
Owner

mwylde commented Dec 20, 2018

This is great, thanks! I've verified this works correctly on x86_64-unknown-linux-gnu and armv7-unknown-linux-gnueabi.

@mwylde mwylde merged commit 9a83959 into mwylde:master Dec 20, 2018
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.

2 participants