1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

18 Commits

Author SHA1 Message Date
Benjamin Valentin
312a550f1a treewide: remove THREAD_CREATE_STACKTEST from thread creation 2024-07-29 11:45:58 +02:00
Frederik Haxel
314dbf15b9 examples: Use size_t print format specifier
Co-authored-by: Marian Buschsieweke <marian.buschsieweke@posteo.net>
2023-12-21 12:02:34 +01:00
Martine Lenders
2679fcafb1
examples/dtls-echo: set address family for sessions
d424aaedac introduced address families to
the RIOT interpretation of tinydtls-`session_t`s. However, while fixing
the naming for the `addr` field, it did not set the `family` member for
the sessions in the `dtls-echo` example, having that example run into [an
assertion][1]. This patch fixes that.

[1]: bda40789a7/session.c (L146)
2022-07-26 15:51:07 +02:00
Hendrik van Essen
d424aaedac pkg/tinydtls: add IPv4 support 2022-03-25 17:19:47 +01:00
Leandro Lanzieri
05db36a3d0
pkg/tinydtls: join IPv6 address and port in addr member 2022-03-25 09:44:44 +01:00
Bas Stottelaar
bb36bbc6ff examples/*: realign ENABLE_DEBUG 2020-10-23 01:26:09 +02:00
Bas Stottelaar
2a818172a4 examples/*: add missing include of assert.h 2020-10-22 11:13:08 +02:00
Bas Stottelaar
1afeff7497 examples/*: add explicit include of timex.h 2020-10-21 21:47:31 +02:00
Aiman Ismail
d5b2aa8a2f pkg/tinydtls: Move configurations to 'CONFIG_' namespace
Macros that changed:
DTLS_PSK -> CONFIG_DTLS_PSK
DTLS_ECC -> CONFIG_DTLS_ECC (except in release-notes.txt)
DTLS_CONTEXT_MAX -> CONFIG_DTLS_CONTEXT_MAX
DTLS_PEER_MAX -> CONFIG_DTLS_PEER_MAX
DTLS_HANDSHAKE_MAX -> CONFIG_DTLS_HANDSHAKE_MAX
DTLS_SECURITY_MAX -> CONFIG_DTLS_SECURITY_MAX
DTLS_HASH_MAX -> CONFIG_DTLS_HASH_MAX
2020-03-05 19:11:38 +01:00
Sören Tempel
7b463b6c95 dtls-echo: check msg_try_receive return value 2019-12-09 14:17:26 +01:00
Aiman Ismail
296ed87e8a examples/dtls-echo: handle handshake failure alert 2019-10-21 13:24:35 +02:00
Benjamin Valentin
1e8f06b3a4 examples: fix redundant assignment in TinyDTLS example 2019-08-06 19:43:54 +02:00
Benjamin Valentin
d16afe5422 examples: make use of ARRAY_SIZE macro 2019-08-06 19:43:54 +02:00
Raul Fuentes
4092eda744 examples/dtls-echo: Cleaning and upgrade to sock
Due to all the changes, this is basically a new version for this
example. The main benefit is the use of sock_udp but also the client
side is now more robust and reliable.

The parameters required for the PSK and ECC (e.g. keys) modes are moved
to an unique header.
2018-07-04 11:35:08 +02:00
Martine Lenders
08964079e0
examples: tests: adapt udp shell commands for new forwarding engine
The NIB's forwarding engine behaves more correctly than GNRC's old
forwarding engine in that link-local addresses require also an
interface to be provided to be meaningful. As with other commands this
is simplified for the special case that there only is one interface
that that interface is chosen.
2017-11-21 10:40:01 +01:00
8501a03cbc cleanup: apply enable_debug_false.cocci to codebase (coccinelle)
Skipped sys/cbor/cbor.c, examples/microcoap_server/microcoap_sock.c,
as they use different semantics.
2017-05-15 18:45:43 +02:00
Martine Lenders
61531451f2 examples: fix off-by-one error in TinyDTLS example 2016-11-03 13:12:21 +01:00
Raul Fuentes
cf64aba1c8 TinyDTLS: integration into RIOT (without sockets)
Support for TinyDTLS (0.8.6) is added together an example at 'examples/dtls-echo'.
2016-10-30 18:05:25 +01:00