Topic: wolfssl_write error: DTLS trying to send too much in single datagram
I have a wolfssl dtls server application (c++) that is trying to send a message, but failing due to: DTLS trying to send too much in single datagram
The message size is 1412 Bytes.
I have attempted to set the MTU to a larger size using wolfssl_dtls_set_mtu(ssl, size), but when I compile my application I get an undefined reference to this function. I'm assuming I missed something during compilation of the package that needed added, although my ide is able to reference the function fine.
Other smaller messages are fine.
I do see some references in server-dtls-callback.c to setting the size of the rx buffer, but in my case I'm not sure how I'd do this.
my server is essentially the same as the dtls-server.c example. I should note that I'm testing both client and server on localhost only at the moment.
What are my options here?