pppos_client bug/issue !!

tabulous
Posts: 28
Joined: Thu Nov 14, 2019 8:58 am

pppos_client bug/issue !!

Postby tabulous » Tue Jun 30, 2020 2:03 pm

There is an issue with this example, if the modem sends back a char(s) of data when switched on the ppp control block is null.
This is because in the example

esp_modem_setup_ppp(dte);

is called afterwards, this means esp_dte->ppp is null
esp_dte->ppp = pppapi_pppos_create(&(esp_dte->pppif), pppos_low_level_output, on_ppp_status_changed, dte);

i cant see how this example ever worked really !!!

tabulous
Posts: 28
Joined: Thu Nov 14, 2019 8:58 am

Re: pppos_client bug/issue !!

Postby tabulous » Wed Jul 01, 2020 8:59 am

bump anyone ?

Or is this going to be another no response ?
Support on here is terrible.

ESP_cermak
Posts: 45
Joined: Thu Nov 01, 2018 8:32 am

Re: pppos_client bug/issue !!

Postby ESP_cermak » Thu Jul 02, 2020 11:50 am

Hi tabulous,

This example just demonstrates interfacing modems that happen to be in command mode after startup, so it is okay to sync first using generic AT commands and then create and start the ppp network interface after that.

Who is online

Users browsing this forum: Bing [Bot], tabulous and 11 guests