-->
Page 13 of 14

Re: Replacing LWIP

PostPosted: Thu May 09, 2019 8:57 am
by davydnorris
No changes to lwIP - it's a layer above, but we are talking SSL and crypto... do you even need to ask about memory?? Haha

Being serious, any crypto is expensive - both in terms of CPU and memory. But later SDKs have done it well, so I know you will do it better!

Re: Replacing LWIP

PostPosted: Thu May 09, 2019 9:02 am
by davydnorris
eriksl wrote:Yeah I see the consideration here.

What's your experience with mbedtls? I've never used it (never need it...). Is it easy to use on top of an existing LWIP implementation or does it need changes in LWIP? What's the memory footprint (my greatest concern)?


So today I got the current lib working in the NonOS environment, with stubs for networking. Right now my chip thinks it's connecting and is doing the right things.

Still to do the espconn layer...

Re: Replacing LWIP

PostPosted: Wed May 15, 2019 11:20 am
by maverickchongo
@davydnorris Do you have a repo with the ported mqtt stuff from the FreeRTOS OS, I am interested on in?

Re: Replacing LWIP

PostPosted: Wed May 15, 2019 6:03 pm
by davydnorris
Just about - I'll let you know when I've got it completely done.

I've just pulled the very latest commit from the ESP32 IDF - it's different from both the ESP8266 RTOS and the stand alone new MQTT (and the tuanpm version!).

Wish they would just create a single version and pull each OS's dist from there!