-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New component ESP-PPP-Link #462
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c775915
to
046e7e4
Compare
872ab9b
to
0e8df06
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I noticed that eppp_link_types.h
is empty, should it be removed?
Thanks @euripedesrocha for taking a look!
Thanks, removed! |
e97e4f8
to
f336fbf
Compare
No high level |
components/eppp_link/examples/slave/main/station_example_main.c
Outdated
Show resolved
Hide resolved
kostaond
reviewed
Jan 25, 2024
david-cermak
commented
Jan 25, 2024
e716130
to
cbde47f
Compare
3518f21
to
2db41d4
Compare
9b319c4
to
49399ae
Compare
espressif-abhikroy
approved these changes
Feb 20, 2024
49399ae
to
66b86ca
Compare
66b86ca
to
a8035c2
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
ESP-PPP-Link (
eppp_link
)Introducing a general purpose connectivity component to share network between two endpoints: PPP server and PPP client. This component implements both roles on ESP32 using UART and SPI transport.
Since the connection is standard PPPoS, the endpoints could be any other micro-controllers or a linux host running
pppd
Typical use case
Bring WiFi connectivity to endpoints that do not support WiFi
API
Client
eppp_connect()
-- Simplified API. Provides the initialization, starts the task and blocks until we're connectedServer
eppp_listen()
-- Simplified API. Provides the initialization, starts the task and blocks until the client connectsManual actions
eppp_init()
-- Initializes one endpoint (client/server).eppp_deinit()
-- Destroys the endpointeppp_netif_start()
-- Starts the network, could be called after startup or whenever a connection is losteppp_netif_stop()
-- Stops the networkeppp_perform()
-- Perform one iteration of the PPP task (need to be called regularly in task-less configuration)Throughput
Tested with WiFi-NAPT example, no IRAM optimizations
UART @ 3Mbauds
SPI @ 20MHz
TODO
console_ping
andcomponents in examplesconsole_iperf