Skip to content

I want the ESP32 default setting to be HT20. #6624

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task done
CheolsoonKwon opened this issue Apr 25, 2022 · 4 comments
Closed
1 task done

I want the ESP32 default setting to be HT20. #6624

CheolsoonKwon opened this issue Apr 25, 2022 · 4 comments
Labels
Area: BT&Wifi BT & Wifi related issues Type: Feature request Feature request for Arduino ESP32

Comments

@CheolsoonKwon
Copy link

Board

ESP32-WROOM-32D

Device Description

Devkit

Hardware Configuration

GPIO 16, 17pin is UART

Version

v2.0.2

IDE Name

Arduino

Operating System

Windows10

Flash frequency

80M

PSRAM enabled

no

Upload speed

921600

Description

Hello Everyone

I want the ESP32 default setting to be HT20.

I changed the settings because I couldn't capture in Wireshark.

Change to HT20 -> HT40+ to capture.

ESP32 Arduino seems to work with HT40+.

Previously, the test condition was Laptop(Station) <-> ESP32(AP).

It worked without any problems, and when I changed the Laptop(station) to an HT20 dedicated device, a data transmission/reception problem occurred.

Is it possible to change ESP32's HT40 setting to HT20 on Arduino?

Sketch

//Server Configuration
    Serial.println("Configuring access point...");
    // You can remove the password parameter if you want the AP to be open.
    WiFi.softAPConfig(local_IP, gateway, subnet);
    WiFi.softAP(Read_SSID, Read_PW);
    IPAddress myIP = WiFi.softAPIP();
    Serial.print("AP IP address: ");
    Serial.println(myIP);
    server.begin();
    server.setNoDelay(true);
    Serial.println("Server started");
    SSID_PW_Change_Flag = 2;
    SSID_PW_Diff_Flag = 2;
    Serial.println("AP START");

Debug Message

No Debug Message

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.
@CheolsoonKwon CheolsoonKwon added the Status: Awaiting triage Issue is waiting for triage label Apr 25, 2022
@lbernstone
Copy link
Contributor

lbernstone commented Apr 25, 2022

esp_wifi docs

#include <WiFi.h>
#include <esp_wifi.h>

void setup() {
  Serial.begin(115200);
  WiFi.softAP("led101010", "test1234");
  esp_wifi_set_bandwidth(WIFI_IF_AP, WIFI_BW_HT20);
}

void loop() {delay(-1);}

@VojtechBartoska VojtechBartoska added Area: BT&Wifi BT & Wifi related issues Type: Question Only question and removed Status: Awaiting triage Issue is waiting for triage labels Apr 27, 2022
@VojtechBartoska
Copy link
Contributor

is this still valid @CheolsoonKwon?

@VojtechBartoska VojtechBartoska added Type: Feature request Feature request for Arduino ESP32 Status: Needs investigation We need to do some research before taking next steps on this issue and removed Type: Question Only question labels Jun 14, 2022
@grtyvr
Copy link

grtyvr commented Jun 27, 2022

Might be nice if that were a paramater in the config struct. And perhaps have a setter and getter?

@Parsaabasi Parsaabasi removed the Status: Needs investigation We need to do some research before taking next steps on this issue label Jan 16, 2025
@Parsaabasi
Copy link

Hello,

Due to the overwhelming volume of issues currently being addressed, we have decided to close the previously received tickets. If you still require assistance or if the issue persists, please don't hesitate to reopen the ticket.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: BT&Wifi BT & Wifi related issues Type: Feature request Feature request for Arduino ESP32
Projects
Development

No branches or pull requests

5 participants