Giter Site home page Giter Site logo

Comments (8)

HolzCoder avatar HolzCoder commented on September 12, 2024 1

Yes, I have created a programme here with sections from my program which is roughly the same as mine.
I have attached the programme.

GPIOViewerWithAP.zip

from gpio_viewer.

thelastoutpostworkshop avatar thelastoutpostworkshop commented on September 12, 2024 1

I am going to give it a try to see how to make the library compatible

from gpio_viewer.

HolzCoder avatar HolzCoder commented on September 12, 2024 1

Hey, thanks for the answer.

ok i didn't realise that the ESP needed internet access. my system is independent and self-contained without internet access. The system should work stand alone. Then it probably doesn't work with the GPIO Viewer. but thanks for your efforts anyway.

from gpio_viewer.

thelastoutpostworkshop avatar thelastoutpostworkshop commented on September 12, 2024

I will have to modify the library to support this, can you give me an example on how you setup an access point, so I can test it on my side

from gpio_viewer.

thelastoutpostworkshop avatar thelastoutpostworkshop commented on September 12, 2024

when I try your code without GPIOViewer library, I am unable to connect to the server using the softAPIP address printed, which is 192.168.4.1 on my network. Normally my esp32 connect to 192.168.1.xxx when using WIFI_STA

I don't know very well the WIFI_AP_STA mode, is there anything I am missing ?

from gpio_viewer.

thelastoutpostworkshop avatar thelastoutpostworkshop commented on September 12, 2024

I just read that 192.168.4.1 is the default, I can change it with IPAddress local_IP(192, 168, 1, 1);
IPAddress gateway(192, 168, 1, 1);
IPAddress subnet(255, 255, 255, 0);

from gpio_viewer.

thelastoutpostworkshop avatar thelastoutpostworkshop commented on September 12, 2024

ok now I understand how it works, I was able to connect to the Wifi of the ESP32.
But it will not work with the GPIOViewer be cause it requires internet access, the web application is hosted on Github pages.

from gpio_viewer.

thelastoutpostworkshop avatar thelastoutpostworkshop commented on September 12, 2024

Internet Sharing (Not Straightforward): For devices connected to the ESP32's AP to access the internet, the ESP32 must be configured to route traffic between its Station interface and AP interface. This requires setting up NAT or similar routing configurations, which is quite complex and not directly supported by standard Arduino libraries.

Do you have internet access with your ESP32 setup as an access point ?

from gpio_viewer.

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.