static IP on esp32 in AP mode?
Posted: Mon Sep 27, 2021 6:14 am
I'm a bit dense when it comes to networking, so I'm not even sure if this make sense. Does the AP dynamically allocate it's own ip?
I've tried just using the ifconfig that's returned from ifconfig if I start wlan in AP mode with no config...
I tried a few variations on the arguments as well, like...
..and..
They all crash or return errors, eg:
I've tried just using the ifconfig that's returned from ifconfig if I start wlan in AP mode with no config...
Code: Select all
wlan.ifconfig( ('192.168.4.1', '255.255.255.0', '192.168.4.1', '0.0.0.0') )
Code: Select all
wlan.ifconfig(config=('192.168.4.1', '255.255.255.0', '192.168.4.1', '0.0.0.0') )
Code: Select all
wlan.ifconfig(0, ('192.168.4.1', '255.255.255.0', '192.168.4.1', '0.0.0.0') )
Code: Select all
TCP/IP Invalid Parameters