mongoose-os-libs / pppos

PPPoS / cellullar modem support
Other
27 stars 23 forks source link

Is there any way to change MTU size? #11

Open nicoloboatto opened 4 years ago

nicoloboatto commented 4 years ago

I'm using pppos to communicate with a SIM800L module.

All connections work except for RPC responses which get sent by the device but are never received by the mDash server, the SIM is a specialised IoT SIM which works by roaming on other operators.

I've been been advised to decrease the MTU size to 1400 but can't find a way to do it without changing the underlying lwip ppp library. Am I missing something?

nicoloboatto commented 4 years ago

I noticed the lwip library README mentions the following:

"This library is used by ports other than ESP8266 and ESP32 (which ship their own, highly modified versions)."

My project is based on the ESP32, where can I set the mos tool to build using my version of the library?