Previous value was 20 K, now it's 80 K. The older family of these MCUs (cc13x0, cc26x0) had that size, currently for cc13x2 and cc26x2 it's 80 K. Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
DTLS sock example
This example shows how to use DTLS sock sock_dtls_t.
Testing using RIOT native
For testing, we can use two RIOT native RIOT instances. For that first we
need to prepare the network interfaces:
$ ./../../dist/tools/tapsetup/tapsetup --create 2
For the server instance:
$ PORT=tap0 make all term
[...]
> dtlss start
ifconfig
For the client:
$ PORT=tap1 make all term
[...]
> dtlsc <server ip address> "DATA to send"
Debug logs
To enable debug logs uncomment CFLAGS += -DDTLS_DEBUG in the Makefile.
Tinydtls supports setting the log level. See Makefile for more info.
Configs and constraints
DTLS sock acts as a wrapper for the underlying DTLS stack and as such, the constraints that applies specifically to the stack are also applied here. For tinydtls, please refer to dtls-echo README.