|
@ -5,7 +5,7 @@ from flashbdev import bdev |
|
|
def wifi(): |
|
|
def wifi(): |
|
|
import ubinascii |
|
|
import ubinascii |
|
|
ap_if = network.WLAN(network.AP_IF) |
|
|
ap_if = network.WLAN(network.AP_IF) |
|
|
essid = b"MicroPython-%s" % ubinascii.hexlify(ap_if.mac()[-3:]) |
|
|
essid = b"MicroPython-%s" % ubinascii.hexlify(ap_if.config("mac")[-3:]) |
|
|
ap_if.config(essid=essid, authmode=network.AUTH_WPA_WPA2_PSK, password=b"micropythoN") |
|
|
ap_if.config(essid=essid, authmode=network.AUTH_WPA_WPA2_PSK, password=b"micropythoN") |
|
|
|
|
|
|
|
|
def check_bootsec(): |
|
|
def check_bootsec(): |
|
|