wifi相关
import networkwlan = network.WLAN(network.STA_IF)wlan.active(True)wlan.isconnected()wlan.connect('Noir', 'pa5sw0rd')wlan.ifconfig()wlan.config('mac')wlan.scan()ap = network.WLAN(network.AP_IF) # create access-point interfaceap.active(True) # activate the interfaceap.config(essid='ESP-AP') # set the ESSID of the access point
https://zhuanlan.zhihu.com/p/82366556
webrepl
# first step to setupimport webrepl_setup
