How to connect wifi through ESP32 in maixduino?

I want to connect server via ESP32, but I am confused about how to do this.
I can only find a demo with esp32, whici is about reading adc via esp32.
when I try to scan wifi, It fail.Maybe this function is not implemented yet?

When I try this:
It work for me

Ive been digging in MaixPy code a bit and i found that only adc function is implemented, but esp32 library is prepared to implemented all wifi functions, so it should not be too hard.

I am python newbie, but i could get esp32_spi files and use them in standalone sdk(PlatformIO).