Closed ldab closed 1 year ago
Never mind For LR-enabled AP of ESP32, it is incompatible with traditional 802.11 mode, because the beacon is sent in LR mode.
https://docs.espressif.com/projects/esp-idf/en/v4.4.2/esp32s3/api-guides/wifi.html#lr-compatibility
Hi,
Using
ESP-IDF: v4.4.1
If I change the protocol by addingESP_ERROR_CHECK(esp_wifi_set_protocol(ESP_IF_WIFI_AP, WIFI_PROTOCOL_LR | WIFI_PROTOCOL_11B | WIFI_PROTOCOL_11G | WIFI_PROTOCOL_11N));
here: https://github.com/espressif/esp-gateway/blob/4753c94e6e30eb3fd6726db8164ee60951375c55/components/gateway/src/gateway_wifi.c#L271 The AP is not visible any longer from the PC/Phone, the log shows:In Device2 I run:
Device2 successfully connects to
esp-gateway
which leads me to me conclude that AP is working onWIFI_PROTOCOL_LR
only.1 - Have you tested this scenario? 2 - Did I initialize things wrong?