Giter Site home page Giter Site logo

Comments (3)

martin-ger avatar martin-ger commented on July 17, 2024

[1] There is no explicit setting for the WIFI_COUNTRY, so according to the manual the default should apply, which should be fine for your setting:

  1. The default country is {.cc=”CN”, .schan=1, .nchan=13, policy=WIFI_COUNTRY_POLICY_AUTO}

[2] In STATION_AP mode, which is used here, the WiFi settings for the ESP's AP are always the same as for the STA and thus determined by the uplink AP. You cannot change this as there is only one transceiver.

from esp32_nat_router.

CRprog avatar CRprog commented on July 17, 2024

[1] ** Solved **
So I did a little more research and found a strange cause:
Until now I had used a hidden SSID for my Home-AP (I know, not recommended ...)
This did not cause any problems on channels 1-11, but obviously on channels 12 and 13.
I've change this now to visible SSID and the ESP32 connected immediately on channels 12 or 13.

[2]
Here is the typed output of the "Wifi Analyzer" Access-points from my cell phone.
WiFi settings for the ESP's AP and the STA (determined by the uplink AP) aren't complete the same:
Home-AP (00:1f:3f:xx:xx:xx)
-40dBm Ch 13 2472MHz ~1,0m
2462-2482 (20MHz) AVM GMBH

ESP32-AP (30:ae:a4:xx:xx:xx)
-51dBm Ch 13(11) 2472MHz ~3,4m
2442-2482 (40MHz) ESPRESSIF IN

The ESP32-AP is apparently for the "ESP32 NAT Router Config" - page an 192.168.4.1
Deactivating the (new nice) webinterface over CLI, didn't change the 40MHz bandwidth I think ?
Maybe a practical new future-feature: Deactivate webinterface automatically e.g. 15min after switching on,
perhaps additionally a check mark in the web interface for that.

from esp32_nat_router.

CRprog avatar CRprog commented on July 17, 2024

[2]
I've tried it now: As expected, deactivating the webinterface didn't change the ESP32 40MHz bandwidth to 20MHz. (Home-AP)
Not really important, but ..... command in the CLI to set the bandwidth would be great, or of course to make it automatically as wide as the home AP.

from esp32_nat_router.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.