zephyr/samples/net/sockets/echo_client/src
Robert Lubos 417cfdd833 samples: sockets: Tweak echo_client/server sample parameters for DTLS
Current application data size in echo_client sample does not fit into a
single datagram with DTLS enbled for default IPv6 MTU (1280 bytes). This
caused abrupt failure of the sample with DTLS enabled over 802.15.4 L2.
Decreasing the application data size allows it to fit into a single UDP
datagram after encapsulating it into DTLS record.

Additionally, finetune DTLS timeout on echo_server to match UDP
application timeout on echo_client (so that a single datagram loss
does not cauase DTLS session to end).

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2018-12-13 21:13:52 +02:00
..
ca_certificate.h net: samples: Add TLS support to socket echo_client/echo_server 2018-07-26 12:13:15 -04:00
common.h samples: net: sockets: echo-client: Add VLAN support 2018-09-20 11:21:22 +03:00
echo-apps-cert.der net: samples: Add TLS support to socket echo_client/echo_server 2018-07-26 12:13:15 -04:00
echo-client.c samples: sockets: Tweak echo_client/server sample parameters for DTLS 2018-12-13 21:13:52 +02:00
tcp.c samples: net: Convert to use generic logging macros 2018-12-07 12:00:04 +02:00
udp.c samples: net: Convert to use generic logging macros 2018-12-07 12:00:04 +02:00
vlan.c samples: net: Convert to use generic logging macros 2018-12-07 12:00:04 +02:00