Hi Jan, That's sounds great...
Thx, Noam. -----Original Message----- From: lwip-users [mailto:[email protected]] On Behalf Of Jan Menzel Sent: Monday, April 11, 2016 11:53 AM To: [email protected] Subject: Re: [lwip-users] API question Hi Noam! I recently finished an application with almost the same setup: mbedTLS (successor of PolarSSL with better licensing options) via socket API (found some example for my MCU which I used as started) and SNTP client from contrib tree which uses RAW API. Works very well since month. Just a side node: TLS/SSL uses a default content length of 16k which is acquired twice for tx and rx from the memory pool. For may system (with 64kb RAM) this is a lot so I had to reduced it. Luckily we're in control of the server so we could incorporate the changes there too. Jan On 10.04.2016 14:49, Noam Weissman wrote: > Hi, > > > > I am working with LwIP for somewhat 5 years now. I always used it in > RAW mode. > > Now I need to start using SSL/TLS and all the code I can find uses BSD > Socket's. > > > > I am working with STM32F4xx/2xx > > > > I have gotten STM example "Secure socket layer (SSL) for STM32F217 > microcontroller (AN3365) based on LwIP TCP/IP stack, FreeRTOS and PolarSSL." > > It is running with some problems, related to my server settings... not > an issue. > > > > The LwIP is defined : > > #define LWIP_RAW 1 > > > > but also > > #define LWIP_NETCONN 1 > > #define LWIP_SOCKET 1 > > > > The above partial settings are as it came from ST ! > > > > ---------------------------------------------------------------------- > ----------------------------------- > > My question is can I use the socket API and run PlarSSL/mbedTLS as is > (socket BSD) and also > > Run all my RAW API code, together ?? > > > > From my understanding I cannot. Can anyone help with this ? > > > > > > BR, > > Noam. > > > > Best Regards, > > Noam Weissman > > Software Engineer. > > > > > > Contact information: > > Office: 972-4-9954915 > > Fax: 972-4-9550115 > > Mobile: 972-52-5786135 > > Email: [email protected] > > Web: www.silrd.com <http://www.silrd.com> > > > > > > > > > > _______________________________________________ > lwip-users mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/lwip-users > _______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users _______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
