2021-08-08 10:44 PM
I want to use TLS on lwip using modbus tcp applications. But when I choose the mbedtls on CubeMx, I couldnt select lwip. If I use the Freertos, than I can selecect both of them. But I dont want to use FreeRTOS how can I use lwip-tls together ? In the lwip website https://www.nongnu.org/lwip/2_1_x/group__altcp__tls.html I found the raw api tls documents. Is it possible to use together and how can I use together ?
2021-08-09 05:44 AM
Is there any answer about this?
2022-10-08 08:01 AM
I would like an answer to this too...
I think I will submit a support ticket ;)
2022-10-08 05:27 PM
The real solution is to stop clicking broken bloatware generators and start developing code.
2022-10-09 03:40 AM
I know that - I started off writing 6800 assembler and things have just gone downhill since then - but I stupidly thought with the respected LWIP code being involved they might have got it right this time...
I do normally 'roll my own' but TLS is far outside my comfort zone and was wanting to get alttcp _tls to work.
2022-10-09 04:42 AM
Nobody said that you must roll your own IP stack or cryptography library. Take the lwIP and Mbed TLS and just use those.
https://www.nongnu.org/lwip/2_1_x/group__altcp__api.html
"The TLS layer is not directly implemented by lwIP, but a port to mbedTLS is provided."
You don't even have to develop a port to Mbed TLS. So just integrate lwIP into your platform and that's it.
2022-10-16 05:46 AM