Skip to content

network ip_address doesnt work if using wifi_esp32s2 #98

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

Open
castaway opened this issue Jun 14, 2024 · 0 comments
Open

network ip_address doesnt work if using wifi_esp32s2 #98

castaway opened this issue Jun 14, 2024 · 0 comments

Comments

@castaway
Copy link

Just had fun tracking this down, the wifi object loaded can be wifi_coprocessor or wifi_esp32s2, the ip_address method assumes _wifi has an ".esp" object it can call "ip_address" on, but for the esp32s2 one, its ".radio"

return self._wifi.esp.pretty_ip(self._wifi.esp.ip_address)

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

1 participant