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

getCurrentBSSID() returns incorrect macaddress #66

Open
roshanpaiva opened this issue Feb 21, 2016 · 2 comments
Open

getCurrentBSSID() returns incorrect macaddress #66

roshanpaiva opened this issue Feb 21, 2016 · 2 comments

Comments

@roshanpaiva
Copy link

Hi,

The getBSSID() function returns incorrect bssids for some macaddresses.

Here's an example: the bssid of my network is:
Cirrent-personal a8:a6:68:d9:71:0b -31 11 Y -- WPA(PSK/AES,TKIP/TKIP) WPA2(PSK/AES,TKIP/TKIP)
But when i connect to it and call getCurrentBSSID() i get back a8:a6:68:d9:71:b

Notice the last bit - the actual bssid has a 0b, and this just has b. When i convert the hex to decimal the values are quite different. Do you think this is a quick fix?

Thanks a lot!

@nihilus
Copy link

nihilus commented May 18, 2016

This actually correct per se since it is a zero. Just different kinds of notations.

@theavijitsarkar
Copy link

Facing same issue. In iOS pre zeros are deleted. i forked an android version which does bssid for android, in case of android it works fine

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