Topic: WolfSSL with callback functions

Hello,

In my project I use ESP8266 and Gprs module A6. The A6 is implementing the tcpip layer. I can send and receive bytes streams from the A6 to the ESP by uart communication.

However , I want secure connection with TLS running in the ESP.
Can I supply wolfSSL two callback function one for tcp read one for tcp write. And the WolfSsl take care about the whole handshake and encryption?

Share

Re: WolfSSL with callback functions

Hi daniel571,

Yes. We support settings a read/write IO callback and context.

See this useful blog post. https://www.wolfssl.com/wolfssl-custom-io-setup-2/

Let me know if you have any further issues or questions.

Thanks,
David Garske, wolfSSL

Share