Configure Wi-Fi network connection for M5 devices
wifi connect
Enable Wi-Fi connection (by default, connects to the Wi-Fi information already saved in the device)
wifi reconnect
Enable Wi-Fi reconnection (by default, connects to the last configured Wi-Fi)
wifi is connected
Check the Wi-Fi connection status
Connect to Wi-Fi SSID PASSWORD
Connect to a specified Wi-Fi, requires SSID and PASSWORD parameters.
Configure connection to a specified Wi-Fi and wait for a successful connection before proceeding with other programs.