ESP32 with GSM modem - PPP over Serial (PPPoS) client example

User avatar
rudi ;-)
Posts: 1093
Joined: Fri Nov 13, 2015 3:25 pm

Re: ESP32 with GSM modem - PPP over Serial (PPPoS) client example

Postby rudi ;-) » Sun Oct 15, 2017 11:35 am

perhabs you have a look and try on WisLTE Board too?

it's Quectel's BG96

edit:
beta started


best wishes
rudi ;-)
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

drbomb
Posts: 1
Joined: Mon Oct 16, 2017 1:41 pm

Re: ESP32 with GSM modem - PPP over Serial (PPPoS) client example

Postby drbomb » Fri Oct 20, 2017 3:47 pm

Hi, I've successfully made a PPPoS connection and it works great, as expected. The thing is that I'm using a SIM5320A, and it has along other stuff, a GPS antenna.

Is it possible to put the PPPoS connection in "Hold" while I send AT commands to the modem? I know I can escape the PPP interface with the <pause>+++<pause> sequence, but I'd like to be able to send the AT command and resume the PPPoS stack.

User avatar
loboris
Posts: 253
Joined: Wed Dec 21, 2016 7:40 pm

Re: ESP32 with GSM modem - PPP over Serial (PPPoS) client example

Postby loboris » Sun Oct 22, 2017 9:23 am

drbomb wrote:...
Is it possible to put the PPPoS connection in "Hold" while I send AT commands to the modem? I know I can escape the PPP interface with the <pause>+++<pause> sequence, but I'd like to be able to send the AT command and resume the PPPoS stack.

You have to execute ppposDisconnect(0,0) function, than you can send any AT command sequence.
After you are finished, execute ppposInit() to go back online.
Look at sms_task in main.c for an example.

The code of the pppos_client_task could be improved so that not the whole GSM modem initialization sequence is executed after offline mode and return to online faster (it is probably enough to only execute AT+CGDATA="PPP",1\r\n). I will test it.

santanapablo1975
Posts: 27
Joined: Wed Feb 15, 2017 8:31 pm

Re: ESP32 with GSM modem - PPP over Serial (PPPoS) client example

Postby santanapablo1975 » Thu Nov 02, 2017 1:44 pm

Loboris! Thanks great job.

Tested! and works great!

Thanks all!

Have a nice day!

Juan

Who is online

Users browsing this forum: Bing [Bot], BlackEdder and 1 guest