Git Product home page Git Product logo

esp32captiveportal's Introduction

强制门户(ESP32)

可以用在ESP32上的强制门户。

什么是强制门户?查看:Captive portal - Wikipedia

因为 ESP-IDF 弃用/修改了大量内容,此前的代码已经无法正常编译烧录,他们被转移到了 Legacy 目录。

新版代码可以在 ESP-IDF 5.0 版本下编译烧录,并正常运行。

项目原理

已发布到本人的个人博客:使用ESP32C3开发板实现一个强制门户(Captive Portal) | 薛定谔的第四旋臂 (direct5dom.github.io)

🛠️从源码构建

首先,确保您已经安装了ESP-IDF

然后克隆此项目到本地,并进入项目目录:

git clone https://github.com/Direct5dom/ESP32CaptivePortal.git
cd ESP32CaptivePortal

现在您需要将项目设定为您所使用的芯片,本项目适用于大多数ESP32芯片,我本人所使用的ESP32C3。

idf.py set-target esp32c3

输入这条命令后应该会自动build,如果没有,请运行:

idf.py build

烧录此项目到设备:

idf.py -p PORT [-b BAUD] flash
  • PORT - ESP32开发板的串口名称。
  • [-b BAUD] - 可以将BAUD替换为其他烧录波特率。此项可以为空,默认波特率为 460800

⚖️License

MIT License

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.