Skip to content

Easy way to do WiFi connection, WiFi scan, WiFi AP. Mainly used in ESP32S3, ESP32S2.

License

Notifications You must be signed in to change notification settings

Wind-stormger/micropython-esp-wifi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

micropython-esp-wifi

Easy way to do WiFi connection, WiFi scan, WiFi AP. Mainly used in ESP32S3, ESP32S2.

It can be installed from mip via:

>>> import mip
>>> mip.install("github:Wind-stormger/micropython-esp-wifi")

Or from mpremote via

mpremote mip install github:Wind-stormger/micropython-esp-wifi

Only esp_wifi.py is necessary.

Use Cases

import esp_wifi

# Simple
esp_wifi.scan()
esp_wifi.STA('SSID', 'PASSWORD') # Connect WiFi
esp_wifi.AP('SSID', 'PASSWORD') # WiFi AP

# Full
esp_wifi.scan(ssid=None, loop=None, txpower=None)
esp_wifi.STA(ssid='SSID', key='PASSWORD', txpower=None, wait=10, ip=None, subnet=None, gateway=None, dns=None)
esp_wifi.AP(ssid='SSID', key='PASSWORD', authmode=3, txpower=None, channel=11, hidden=False, ip=None, subnet=None, gateway=None,
       dns=None)

About

Easy way to do WiFi connection, WiFi scan, WiFi AP. Mainly used in ESP32S3, ESP32S2.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages