This repository was archived by the owner on Sep 6, 2023. It is now read-only.
This repository was archived by the owner on Sep 6, 2023. It is now read-only.
ESP32: Manual setting of DNS address with ifconfig() fails #210
Closed
Description
An attempt to set manual ip parameters with ifconfig() does not accept the DNS parameter. Instead it is set to 0.0.0.0
Example:
>>> wlan.ifconfig(('10.0.0.163', '255.255.255.0', '10.0.0.240', '192.76.144.66'))
I (109307) event: sta ip: 10.0.0.163, mask: 255.255.255.0, gw: 10.0.0.240
I (109307) wifi: GOT_IP
>>> wlan.ifconfig()
('10.0.0.163', '255.255.255.0', '10.0.0.240', '0.0.0.0')
Metadata
Metadata
Assignees
Labels
No labels