this is my first post. I tried search but I am either not looking in the right corner or I am the first one running in that "issue"!?
I've got an heltec board with an ESP32 on it. I flashed the latest micropython build on it and got a REPL prompt. Great.
I set up the ESP32 as access point using the following code:
Code: Select all
import network
ap = network.WLAN(network.AP_IF)
ap.active(True)
ap.config(essid='my-ssid', authmode=network.AUTH_WPA_WPA2_PSK, password='my-password')
ap.ifconfig(('192.168.84.1', '255.255.255.0', '192.168.84.1', '192.168.84.1')) # ip, netmask, gateway, dns
Code: Select all
esp32 (as access point) = 192.168.84.1
raspberry = 192.168.84.2
computer = 192.168.84.3
I assume that the access point mode does not implement a routing? If not, is there a way to accomplish this?
Thanks