Giter Site home page Giter Site logo

Captive portal about basecamp HOT 7 OPEN

ct-open-source avatar ct-open-source commented on May 27, 2024
Captive portal

from basecamp.

Comments (7)

TOLDOTECHNIK avatar TOLDOTECHNIK commented on May 27, 2024

Just implemented the code. It is available in the PR #18

esp32 captive portal osx

Captive portal support, so you don't have to type in 192.168.4.1 in your browser again when you try to setup your device. Tested on OSX and iOS.

Ensure to call iot.dnsServer.processNextRequest(); periodically in your loop() block.

from basecamp.

merlinschumacher avatar merlinschumacher commented on May 27, 2024

I'm currently evaluating @TOLDOTECHNIK s PR. Since the DNSServer.h needed by the CaptivePortal has been added to the ESP32 Core for Arduino just 4 days ago I will to make the CaptivePortal-code optional for now. So people won't have failing projects.

from basecamp.

merlinschumacher avatar merlinschumacher commented on May 27, 2024

@TOLDOTECHNIK I've merged #18 but the portal doesn't work for me on Android, iOS or Linux. This might be a problem with the Core, because the provided example CaptivePortal.ino doesn't work either. Nonetheless I merged your code. Thank you for your support.

from basecamp.

TOLDOTECHNIK avatar TOLDOTECHNIK commented on May 27, 2024

Making it optional is a very good idea. We made the tests with the newest core. One issue we discovered with an older core, is, the ESP32 gets a new IP over and over again when obtaining one from a FRITZ!Box. This issue has been gone since updating.

from basecamp.

merlinschumacher avatar merlinschumacher commented on May 27, 2024

I've updated before testing the PR, but I will test it some more

from basecamp.

TOLDOTECHNIK avatar TOLDOTECHNIK commented on May 27, 2024

Did you use the DNS update statement in your loop()?
iot.dnsServer.processNextRequest();

from basecamp.

merlinschumacher avatar merlinschumacher commented on May 27, 2024

I did.
It seems there are still issues with the DNSServer:
espressif/arduino-esp32#1011

from basecamp.

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.