Giter Site home page Giter Site logo

houxn22 / esp-idf-ppp-server Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jimmyw/esp-idf-ppp-server

0.0 0.0 0.0 446 KB

Example using a ppp server to connect two esp32 with a serial connection.

License: Apache License 2.0

C 87.73% CMake 1.97% Dockerfile 10.30%

esp-idf-ppp-server's Introduction

PPP SERVER example

Instructions

Check out this repo in two locations, one client and one server.

On both sides specify:

  • EXAMPLE_MODEM_DEVICE_NULLMODEM Will directly connect ppp without any AT crap

  • EXAMPLE_MODEM_PPP_BAUDRATE to your desired baudrate

*EXAMPLE_MODEM_PPP_FLOW 0: none, 1: software, 2: hardware

  • EXAMPLE_MODEM_UART_TX_PIN Default 16

  • EXAMPLE_MODEM_UART_RX_PIN Default 17

  • EXAMPLE_MODEM_UART_RTS_PIN Default 27

  • EXAMPLE_MODEM_UART_CTS_PIN Default 23

  • CONFIG_EXAMPLE_LCP_ECHO To detect if link goes down

On the server side:

  • Apply esp-idf-ppp_server.patch
  • Enable CONFIG_LWIP_PPP_SERVER_SUPPORT

Connect both chips togheter, remember to cross TX/TX and RTS/CTX

On boot, client will automatlicly connect to server

Run ping or iptraf to test the link.

esp-idf-ppp-server's People

Contributors

jimmyw avatar gonzzor avatar

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.