Skip to content
This repository has been archived by the owner on Mar 11, 2019. It is now read-only.

Automatically detect WLAN device name on newer devices #11

Closed
peteroid opened this issue Dec 29, 2016 · 2 comments
Closed

Automatically detect WLAN device name on newer devices #11

peteroid opened this issue Dec 29, 2016 · 2 comments

Comments

@peteroid
Copy link

When I tested with this nice library on the LG phone, all the things work like a charm. If I switch to Samsung S7, the getClients function seems broken. I tried to dig into the code. It seems that the devicename for the AP on S7 is swlan0. But the devicename was fallback to wlan0 because it is Marshmallow.

Can we specify the devicename explicitly instead?

@mvdan mvdan changed the title Device name not matched Automatically detect WLAN device name on newer devices Mar 17, 2017
@mvdan
Copy link
Owner

mvdan commented Mar 17, 2017

See the discussion in #12.

In particular, this is about a way to detect the wireless device name on newer devices. Our existing method using MAC address matching doesn't work on 6.0 and later since MAC addresses are hidden on those versions of Android.

If a new method works on older versions of Android too, perhaps the MAC method could be replaced entirely.

@mvdan
Copy link
Owner

mvdan commented Feb 27, 2018

There seems to be no interest in this, so I'm closing the issue for now. I don't personally know of a good method to make this automatic.

@mvdan mvdan closed this as completed Feb 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants