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

AttributeError: 'ESP8285' object has no attribute 'scan' #8

Closed
TakuroFukamizu opened this issue Jul 19, 2019 · 2 comments
Closed

AttributeError: 'ESP8285' object has no attribute 'scan' #8

TakuroFukamizu opened this issue Jul 19, 2019 · 2 comments

Comments

@TakuroFukamizu
Copy link

I've tried to run below script at my Sipeed MAix Dan Dock(M1w model).
https://github.com/sipeed/MaixPy_scripts/blob/master/network/demo_wifi_ap_scan.py

but got the following error.

Traceback (most recent call last):
  File "<stdin>", line 36, in <module>
AttributeError: 'ESP8285' object has no attribute 'scan'

What's wrong?

@Neutree
Copy link
Member

Neutree commented Jul 20, 2019

this version have no this attribute, but the 0.3.2 do

@Neutree Neutree closed this as completed Jul 20, 2019
@TakuroFukamizu
Copy link
Author

Dear @Neutree

It's not fixed yet. Because nic.scan() return SSID ONLY. but this code expects SSID, RSSI, and MAC address.
https://github.com/sipeed/MaixPy_scripts/blob/6928fe172a77402915850a27c6f8fe04a75b8223/network/demo_wifi_ap_scan.py#L21

image

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

2 participants