Skip to content
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

Example Request: PPP and c++ API (IDFGH-8031) #108

Closed
AshUK opened this issue Aug 9, 2022 · 4 comments
Closed

Example Request: PPP and c++ API (IDFGH-8031) #108

AshUK opened this issue Aug 9, 2022 · 4 comments

Comments

@AshUK
Copy link

AshUK commented Aug 9, 2022

Are you able to create an example of using the C++ API with PPP as netif ? I have tried myself many times but just end up with build errors or crashes.

@github-actions github-actions bot changed the title Example Request: PPP and c++ API Example Request: PPP and c++ API (IDFGH-8031) Aug 9, 2022
@david-cermak
Copy link
Collaborator

Just to better understand your request, are you asking for a general PPP example, for example like this one:

https://github.com/espressif/esp-protocols/tree/master/components/esp_modem/examples/pppos_client

but using C++ API of esp-modem ?

@AshUK
Copy link
Author

AshUK commented Aug 15, 2022

Yeah that is correct.

@david-cermak
Copy link
Collaborator

I have created a new example pppos_client_cxx in https://github.com/david-cermak/esp-protocols/tree/feat/modem_simple_cxx_demo/components/esp_modem/examples/pppos_client_cxx
but not sure if we want to keep it here as an official example. Will perhaps add it later, when demonstrating a new feature or custom settings.

This branch is just FYI. I've migrated the C-API to C++API in a separate commit to show the differences. Please check david-cermak@f933950

@david-cermak
Copy link
Collaborator

I'm closing this as we don't want to maintain two official examples that do the same thing. Hope the posted project helped, but will not merge it. We're adding two more examples soon, so will make sure to use C++ API, at least for one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants