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

Using libGSM for a websocket connection #9

Open
Djaison opened this issue May 28, 2018 · 0 comments
Open

Using libGSM for a websocket connection #9

Djaison opened this issue May 28, 2018 · 0 comments

Comments

@Djaison
Copy link

Djaison commented May 28, 2018

Hello! I'm developing a program for ESP32 and SIM800. My task is to create a communication channel over the websocket between ESP32 (client) and a remote server via GSM. I have a working websocket library, but it needs a TCP client class. The built-in TCP stack of the SIM800 does not suit me, so I decided to connect the ESP32 to the SIM800 via PPPoS. Can I use your libGSM class as a TCP client or it does not have this functionality. I'm a beginner in C ++ (6months +) and am trying to deal with libGSM. As it seems to me using for example such functions as:

ppp_output_callback (ppp_pcb * pcb, u8_t * data, u32_t len, void * ctx);

pppos_input_tcpip (ppp, (u8_t *) data, len)

this is possible. If this is possible, could you give at least general recommendations or any other information. Thank you in advance!

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

No branches or pull requests

1 participant