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

WiFiDevice docs missing on docs.rs #125

Open
BrendanBall opened this issue Aug 25, 2018 · 5 comments
Open

WiFiDevice docs missing on docs.rs #125

BrendanBall opened this issue Aug 25, 2018 · 5 comments

Comments

@BrendanBall
Copy link

see https://docs.rs/network-manager/0.11.0/network_manager/struct.Device.html#method.as_wifi_device . You can't click on WifiDevice and it doesn't appear in search results.

@bkchr
Copy link

bkchr commented Sep 22, 2018

That should be fixed by the following pr: #124

@majorz
Copy link
Collaborator

majorz commented Sep 22, 2018

Thanks a lot, that is definitely better. I was never happy with keeping a reference to the Device instance. I will review and merge on Monday.

Please note that I am finishing a new NetworkManager Rust bindings library: https://github.com/resin-io-modules/libnm-rs

The new one is based on libnm, which it is used internally by nmcli and nmtui. It uses https://github.com/gtk-rs/gir for bindings generation, which is really neat. Because of that it will provide access to the full set of the NetworkManager's APIs.

@bkchr
Copy link

bkchr commented Sep 22, 2018

@majorz nice :)
A little of topic, while you writing the new implementation. Do you have any idea why you can't scan for wifi networks when you have a Hotspot with the same device?
If I create the Hotspot and use, iw scan it works, but network manager does not support scanning in Hotspot mode.. Is that an limitation of the network manager api?

@majorz
Copy link
Collaborator

majorz commented Sep 22, 2018

I was not aware that iw allows scanning while the device is in access point mode. Most probably it is a limitation of wpa_supplicant, which NetworkManager uses under internally. I will investigate this in more detail, since it is of interest to me as well and I am going post more information here afterwards.

@bkchr
Copy link

bkchr commented Nov 9, 2018

@majorz any update from your side? :)

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

No branches or pull requests

3 participants