cancel
Showing results for 
Search instead for 
Did you mean: 

How to use lwip + pppos with STM32F4 and CubeMx ?

YCARD
Associate

Hi all,

I'm currently working on a GPS tracker module with STM32F446RE. We have the whole GPS feature done but now we are trying to implement communication.

When it comes to sending messages (SMS) or doing phone calls everything is fine. But now we want to do some secure connection to AWS server. They require TLS 1.2 so we can't use our module to communicate with AWS.

So far so good, we just need to use lwip + mbedtls with our board! But CubeMX does not allow us to do so because we don't have Ethernet, that firstly seems logical, but we want to do PPP over serial, so we don't need (and don't have anyway) Ethernet enabled.

So that is our first problem; the second problem we are facing is that we can't find any good resources or example for the use of lwip (ppp os) + mbed tls + stm32.

Does any one have an example of lwip working with pppos and also using Mbed TLS ? If one would only have an example working with lwip and pppos that would be wonderful and would help us advance in the project.

Regards,

Y.

10 REPLIES 10

were you able to solve your problem? Thanks.