Topic: [SOLVED] TLS connection using usb serial
Hi,
i'd like to ask, if there are any examples (github, etc) of tls connection using usb serial.
I searched in section "wolfssl examples", but didn't find any.
Thanks.
You are not logged in. Please login or register.
Please post questions or comments you have about wolfSSL products here. It is helpful to be as descriptive as possible when asking your questions.
ReferenceswolfSSL - Embedded SSL Library → wolfSSL → [SOLVED] TLS connection using usb serial
Hi,
i'd like to ask, if there are any examples (github, etc) of tls connection using usb serial.
I searched in section "wolfssl examples", but didn't find any.
Thanks.
Hi yighax2,
Check out our wolfssl-examples repo. We have a few examples that will help you with this:
https://github.com/wolfSSL/wolfssl-exam … -callbacks
https://github.com/wolfSSL/wolfssl-exam … master/tls
See the "-callback" TLS examples
These use our custom IO callbacks, which are set using:
wolfSSL_CTX_SetIORecv(ctx, my_IORecv);
wolfSSL_CTX_SetIOSend(ctx, my_IOSend);
You can also set a custom pointer context using:
wolfSSL_SetIOReadCtx(ssl, &recvCtx);
wolfSSL_SetIOWriteCtx(ssl, &sendCtx);
You can build with `WOLFSSL_USER_IO` to disable the internal "socket" handling and require use of these IO callbacks.
Thanks,
David Garske, wolfSSL
wolfSSL - Embedded SSL Library → wolfSSL → [SOLVED] TLS connection using usb serial
Powered by PunBB, supported by Informer Technologies, Inc.
Generated in 0.016 seconds (89% PHP - 11% DB) with 12 queries