Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Select ESP32 Wi-Fi protocol mode during WLAN init #281

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rlucia
Copy link

@rlucia rlucia commented Mar 11, 2019

These patches allow selection of Wi-Fi protocol mode during wlan interface setup. If nothing is specified it falls back to default standard 802.11bgn modes.

To enable "Espressif-specific" Long Range mode only just add protocol_mode=WLAN.PROTOCOL_LR (please refer to esp-idf Wi-FI Driver API guides for details).

E.g.

from network import WLAN
wlan = WLAN()
wlan.init(mode=WLAN.AP, ssid='test', antenna=WLAN.EXT_ANT, protocol_mode=PROTOCOL_LR)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant