HI,
I am currently working on a project where, for now, I only use the nRF9160 as an LTE-M modem connected to the main MCU which is an ESP32.
I am using the SLM application and everything works as expected when I use AT commands.
Now I want to use the nRF9160 in PPP mode because this is the most straightforward way to integrate it in the ESP SDK as all its components (http, qttt, ...) are base on lwIP.
I originally thought that the AT#XSEND
command was what I needed to enter PPP mode but then I realized it is only intended to send raw data to an already opened socket.
Then I found that PPP is already implemented in the MoSH sample.
So before I dive into the code, my questions are:
- do I have to "only" integrate the PPP code in the SLM app and create custom AT commands that enters/exit PPP mode ?
- is there any red flag that will prevent it from working ?
- do you have any advise regarding this work ?
Thanks.
Regards
PS: I know that this sounds stupid to not take advantage of the nRF9160 TCP/IP stack but this will requires lot of work to integrate it to the ESP SDK and I want a working example asap.